
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 'fdf2:098e:ec1d::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'static'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option ipaddr '192.168.1.188'
	option ifname 'eth0.1'

config interface 'wan'
	option ifname 'eth1.2'
	option proto 'dhcp'

config interface 'wan6'
	option ifname 'eth1.2'
	option proto 'dhcpv6'

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

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '1'
	option ports '0t 1 5t'

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option vid '2'
	option ports '4 6t'

config switch_vlan
	option device 'switch0'
	option vlan '3'
	option vid '6'
	option ports '0t 5t'

config interface 'LAN6'
	option ifname 'eth0.6'
	option proto 'static'
	option ipaddr '192.168.6.1'
	option netmask '255.255.255.0'
	option type 'bridge'

config route
	option target '192.168.1.0'
	option gateway '192.168.1.1'
	option netmask '255.255.255.0'
	option interface 'lan'

config switch_vlan
	option device 'switch0'
	option vlan '4'
	option vid '7'
	option ports '0t 3 5t'

config interface 'VLAN7'
	option ifname 'eth0.7'
	option delegate '0'
	option auto '0'
	option proto 'static'

