
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 'fd4f:2f0c:8c8d::/48'

config interface 'lan'
	option ifname 'eth0.1'
	option force_link '1'
	option macaddr '78:a3:51:17:9c:be'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config interface 'wan'
	option _orig_ifname 'eth0.2'
	option _orig_bridge 'false'
	option proto '3g'
	option device '/dev/ttyUSB2'
	option service 'umts'
	option apn 'zap.vivo.com.br'
	option username 'vivo'
	option password 'vivo'
	option ipv6 'auto'

config interface 'wan6'
	option _orig_ifname 'eth0.2'
	option _orig_bridge 'false'
	option proto 'static'
	option type 'bridge'
	option ifname 'eth0 eth0.1 eth0.2 ra0'
	option ipaddr '192.168.0.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

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

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '0 1 2 3 6t'

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

