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

config 'interface' 'lan_4'
	option 'ifname' 'eth0.4'
	option 'proto' 'static'
	option 'ipaddr' '192.168.4.199'
	option 'netmask' '255.255.255.0'

config 'interface' 'wan_ttn'
	option 'ifname' 'eth0.10'
	option 'proto' 'static'
	option 'ipaddr' '91.224.149.44'
	option 'netmask' '255.255.255.0'
	option 'gateway' '91.224.149.254'
	option 'send_rs' '0'
	option 'accept_ra' '0'
	option 'ip6addr' 'fe80::81:2c/64'
	option 'ip6gw' 'fe80::31'
	option 'dns' '91.224.149.254'

config 'alias'
	option 'interface' 'wan_ttn'
	option 'proto' 'static'
	option 'ipaddr' '172.31.31.74'
	option 'netmask' '255.255.255.0'

config 'alias'
	option 'interface' 'wan_ttn'
	option 'proto' 'static'
	option 'ip6addr' '2a01:6600:8081:2C00::1/64'

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

config 'switch_vlan'
	option 'device' 'rt8366rb'
	option 'vlan' '10'
	option 'ports' '0 5t'

config 'switch_vlan'
	option 'device' 'rtl8366rb'
	option 'vlan' '1'
	option 'ports' '1 5t'

config 'switch_vlan'
	option 'device' 'rtl8366rb'
	option 'vlan' '2'
	option 'ports' '2 5t'

config 'switch_vlan'
	option 'device' 'rtl8366rb'
	option 'vlan' '3'
	option 'ports' '3 5t'

config 'switch_vlan'
	option 'device' 'rtl8366rb'
	option 'vlan' '4'
	option 'ports' '4 5t'

config 'interface' 'makina'
	option 'proto' 'static'
	option 'ifname' 'eth0.1'
	option 'ipaddr' '192.168.1.199'
	option 'netmask' '255.255.255.0'
	option 'gateway' '192.168.1.254'
	option 'broadcast' '192.168.1.255'
	option 'dns' '192.168.1.254'
	option 'send_rs' '0'
	option 'metric' '10'
	option 'ip6addr' '2a01:6600:8081:2C01::1/64'

config 'alias'
	option 'interface' 'makina'
	option 'proto' 'static'
	option 'ipaddr' '192.168.100.199'
	option 'netmask' '255.255.255.0'

config 'interface' 'openwide'
        option 'type'  'bridge'
        option 'ifname' 'eth0.2'
	option 'proto' 'static'
	option 'ipaddr' '192.168.2.199'
	option 'netmask' '255.255.255.0'
	option 'broadcast' '192.168.2.255'
	option 'send_rs' '0'
	option 'ip6addr' '2a01:6600:8081:2C02::1/64'

config 'interface' 'wan_openwide'
	option 'proto' 'static'
	option 'ifname' 'eth0.3'
	option 'ipaddr' '192.168.10.199'
	option 'netmask' '255.255.255.0'
	option 'gateway' '192.168.10.254'
	option 'broadcast' '192.168.10.255'
	option 'dns' '192.168.10.254'
	option 'metric' '5'
	option 'send_rs' '0'

config 'route'
	option 'interface' 'wan_openwide'
	option 'target' '92.103.64.194'
	option 'gateway' '192.168.10.254'

