
config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fd64:f542:fda6::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option multicast_querier '0'
	option igmp_snooping '0'
	option defaultip '192.168.6.1'
	option ipaddr '192.168.6.1'
	option promote_secondaries '1'
	option ip6assign '64'
	option ip6ifaceid 'eui64'
	option ipv6 '1'
	option force_link '1'
	option ieee1905managed '1'
	option ifname 'eth1.1 eth1.2'

config interface 'wan'
	option proto 'dhcp'
	option ifname 'eth0.4'

config interface 'wan6'
	option proto 'dhcpv6'
	option ifname '@wan'

config telnet 'telnet'
	option enable '1'

config switch_ext 'port1_mtu'
	option device 'switch0'
	option name 'PortFrameMaxSize'
	option port_id '1'
	option frame_max_size '1526'

config switch_ext 'port2_mtu'
	option device 'switch0'
	option name 'PortFrameMaxSize'
	option port_id '2'
	option frame_max_size '1526'

config switch 'switch1'
	option name 'switch1'
	option reset '1'
	option enable_vlan '1'

config switch_vlan 'switch1_vlan'
	option device 'switch1'
	option vlan '0'
	option ports '0 1 2 3 4 5'

config switch_vlan 'port1_vlan'
	option device 'switch1'
	option vlan '1'
	option ports '1 0t'

config switch_vlan 'port2_vlan'
	option device 'switch1'
	option vlan '2'
	option ports '2 0t'

config switch_vlan 'port3_vlan'
	option device 'switch1'
	option vlan '3'
	option ports '3 5t'

config switch_vlan 'port4_vlan'
	option device 'switch1'
	option vlan '4'
	option ports '4 5t'

config switch_ext 'port1_svid'
	option device 'switch1'
	option name 'PortvlanDefaultSvid'
	option port_id '1'
	option default_stag_vid '1'

config switch_ext 'port2_svid'
	option device 'switch1'
	option name 'PortvlanDefaultSvid'
	option port_id '2'
	option default_stag_vid '2'

config switch_ext 'port3_svid'
	option device 'switch1'
	option name 'PortvlanDefaultSvid'
	option port_id '3'
	option default_stag_vid '3'

config switch_ext 'port4_svid'
	option device 'switch1'
	option name 'PortvlanDefaultSvid'
	option port_id '4'
	option default_stag_vid '4'

config switch_ext 'port0_qinqrole'
	option device 'switch1'
	option name 'PortvlanQinqRole'
	option port_id '0'
	option qinq_role 'core'

config switch_ext 'port5_qinqrole'
	option device 'switch1'
	option name 'PortvlanQinqRole'
	option port_id '5'
	option qinq_role 'core'

config switch_ext 'switch1_qinqmode'
	option device 'switch1'
	option name 'PortvlanQinqMode'
	option qinq_mode 'stag'

config switch_ext 'switch1_stpid'
	option device 'switch1'
	option name 'PortvlanSVlanTPID'
	option stag_tpid '0x8100'

config interface 'wan2'
	option proto 'dhcp'
	option ifname 'eth0.3'
	option metric '20'

config interface 'wwan'
	option proto 'dhcp'
	option metric '30'

config interface 'tether'
	option proto 'dhcp'
	option ifname 'usb0'
	option metric '40'

