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

config globals 'globals'
	option ula_prefix 'fddb:7949:7caa::/48'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth1'
	list ports 'eth2'
	list ports 'eth3'
	list ports 'eth4'
	option macaddr '44:D4:37:71:B8:11'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option is_lan '1'
	option macaddr '44:D4:37:71:B8:11'

config interface 'wan'
	option proto 'dhcp'
	option hostname 'iopsysWrt-44D43771B810'
	option vendorid 'dslforum.org'
	option clientid '01:44:D4:37:71:B8:10'
	option device 'eth0'
	option reqopts '12 43 55'
	option sendopts '0x38:6661696c20746f20636f6e6e656374 125:00:00:0D:E9:1C:01:06:34:34:44:34:33:37:02:0B:59:30:37:32:31:31:34:30:30:38:36:03:05:45:41:47:4C:45 lease:3600 41:C0A80A0C0A0C013F2D2D2D15 router:10.10.10.8,35.35.40.45,192.168.11.11'
	option macaddr '44:D4:37:71:B8:12'

config interface 'wan6'
	option proto 'dhcpv6'
	option device 'eth0'

config device 'br_test_1'
    option name 'br-test'
    option type 'bridge'
    list ports 'eth1.100'
    list ports 'eth2.100'
    list ports 'eth3.100'
    list ports 'eth4.100'
    option macaddr '44:D4:37:71:B8:13'

config interface 'lan100'
    option device 'br-test'
    option proto 'static'
    option ipaddr '172.32.1.1'
    option macaddr '44:D4:37:71:B8:13'

config device 'eth1_100'
    option type '8021q'
    option ifname 'eth1'
    option name 'eth1.100'
    option vid '100'

config device 'eth2_100'
    option type '8021q'
    option ifname 'eth2'
    option name 'eth2.100'
    option vid '100'

config device 'eth3_100'
    option type '8021q'
    option ifname 'eth3'
    option name 'eth3.100'
    option vid '100'

config device 'eth4_100'
    option type '8021q'
    option ifname 'eth4'
    option name 'eth4.100'
    option vid '100'

config interface 'ppp_wan'
	option type 'anywan'
	option proto 'pppoe'
	option username 'iopsyshome@iopsys.eu'
	option password 'iopsys'
	option device 'eth0.1'
	option ipv6 '1'
	option macaddr '44:D4:37:71:B8:14'

config route 'route4'
    option interface 'wan'
    option target '0.0.0.0/0'
    option gateway '10.72.197.110'

config route6 'route6'
	option interface 'wan6'
	option target '::/0'

config interface 'stabridge'
	option proto 'relay'
	option network 'lan wan'

config interface 'mygre'
	option ipaddr '10.1.1.1'
	option peeraddr '10.2.2.1'
	option proto 'gre'

config interface 'mygre_static'
	option proto 'static'
	option device '@mygre'
	option ipaddr '172.16.12.1'
	option netmask '255.255.255.252'

config route 'tunnel'
	option interface 'mygre_static'
	option target '172.16.2.0'
	option netmask '255.255.255.0'
	option gateway '172.16.12.2'
	
config device 'dev_eth1'
	option enabled '1'
	option ifname 'eth1'
	option name 'eth1'
	option macaddr '44:D4:37:71:B8:11'

config device 'dev_eth2'
	option enabled '1'
	option ifname 'eth2'
	option name 'eth2'
	option macaddr '44:D4:37:71:B8:11'

config device 'dev_eth3'
	option enabled '1'
	option ifname 'eth3'
	option name 'eth3'
	option macaddr '44:D4:37:71:B8:11'

config device 'dev_eth4'
	option enabled '1'
	option ifname 'eth4'
	option name 'eth4'
	option macaddr '44:D4:37:71:B8:11'

config device 'dev_eth0'
	option enabled '1'
	option ifname 'eth0'
	option name 'eth0'
	option macaddr '44:D4:37:71:B8:12'

