Skip to content

Mwan3 weighting [future issue] #91

@cpunt

Description

@cpunt

Does this look correct? I know you said we might have potential weighting issues

config globals 'globals'
	option mmx_mask '0x3F00'

config rule 'https'
	option sticky '1'
	option dest_port '443'
	option proto 'tcp'
	option use_policy 'def_pol'

config rule 'default_ipv4'
	option dest_ip '0.0.0.0/0'
	option use_policy 'def_pol'

config policy 'def_pol'
	option last_resort 'unreachable'
	list use_member 'wan_member'
	list use_member 'mdm1_member'
	list use_member 'mdm0_member'

config interface 'wan'
	option enabled '1'
	option interval '1'
	option up '1'
	option down '2'
	option family 'ipv4'
	list track_ip '8.8.8.8'
	list track_ip '1.1.1.1'
	option initial_state 'online'

config member 'wan_member'
	option interface 'wan'
	option metric '99'
	option weight '76'

config interface 'mdm1'
	option enabled '1'
	option interval '1'
	option up '1'
	option down '2'
	option family 'ipv4'
	list track_ip '8.8.8.8'
	list track_ip '1.1.1.1'
	option initial_state 'offline'

config member 'mdm1_member'
	option interface 'mdm1'
	option metric '1'
	option weight '13'

config interface 'mdm0'
	option enabled '1'
	option interval '1'
	option up '1'
	option down '2'
	option family 'ipv4'
	list track_ip '8.8.8.8'
	list track_ip '1.1.1.1'
	option initial_state 'online'

config member 'mdm0_member'
	option interface 'mdm0'
	option metric '1'
	option weight '43'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions