2015-02-23 23:41:36 +01:00
|
|
|
|
|
|
|
config interface 'loopback'
|
|
|
|
option ifname 'lo'
|
|
|
|
option proto 'static'
|
|
|
|
option ipaddr '127.0.0.1'
|
|
|
|
option netmask '255.0.0.0'
|
|
|
|
|
|
|
|
config switch
|
|
|
|
option reset '1'
|
|
|
|
option enable_vlan '1'
|
2015-04-12 15:24:01 +02:00
|
|
|
option name 'switch0'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '1'
|
|
|
|
option ports '0t 3 4 5'
|
2015-04-12 15:24:01 +02:00
|
|
|
option device 'switch0'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '2'
|
|
|
|
option ports '0t 1'
|
2015-04-12 15:24:01 +02:00
|
|
|
option device 'switch0'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
|
|
|
|
#Wartungsnetz
|
|
|
|
|
2015-02-23 23:41:36 +01:00
|
|
|
config switch_vlan
|
2015-08-30 10:43:28 +02:00
|
|
|
option vlan '5'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan5'
|
|
|
|
option proto 'static'
|
|
|
|
option ifname 'eth0.5'
|
|
|
|
option ipaddr '192.168.112.7'
|
|
|
|
option netmask '255.255.255.0'
|
|
|
|
|
|
|
|
|
|
|
|
#Client fuer fux
|
|
|
|
|
2016-02-13 12:03:12 +01:00
|
|
|
config switch_vlan
|
2017-02-08 21:27:41 +01:00
|
|
|
option vlan '6'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
|
|
|
|
#mesh fux-ccchh
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '7'
|
|
|
|
option ports '0t 2t'
|
2016-02-13 12:03:12 +01:00
|
|
|
option device 'switch0'
|
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan7'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.7'
|
|
|
|
option macaddr 'de:ad:be:ef:90:16'
|
|
|
|
|
|
|
|
|
|
|
|
#mesh fux turm
|
|
|
|
|
2015-02-23 23:41:36 +01:00
|
|
|
config switch_vlan
|
2015-08-30 10:43:28 +02:00
|
|
|
option vlan '10'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
2015-04-12 15:24:01 +02:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan10'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.10'
|
|
|
|
option macaddr 'de:ad:be:ef:90:10'
|
|
|
|
|
|
|
|
|
|
|
|
#mesh fux-zeise26
|
|
|
|
|
2015-08-30 10:43:28 +02:00
|
|
|
config switch_vlan
|
|
|
|
option vlan '20'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
2015-04-09 22:46:17 +02:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan20'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.20'
|
|
|
|
option macaddr 'de:ad:be:ef:90:11'
|
2016-11-06 14:07:57 +01:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
|
|
|
|
#mesh fux-pgk-altona
|
2015-04-12 15:24:01 +02:00
|
|
|
|
2016-02-13 12:03:12 +01:00
|
|
|
config switch_vlan
|
2017-02-08 21:27:41 +01:00
|
|
|
option vlan '21'
|
2016-02-13 12:03:12 +01:00
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan21'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.21'
|
|
|
|
option macaddr 'de:ad:be:ef:90:12'
|
|
|
|
|
|
|
|
|
|
|
|
#mesh fux-werkhof
|
|
|
|
|
2016-02-13 12:03:12 +01:00
|
|
|
config switch_vlan
|
2017-02-08 21:27:41 +01:00
|
|
|
option vlan '22'
|
2016-02-13 12:03:12 +01:00
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
2015-09-27 11:15:31 +02:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config interface 'vlan22'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.22'
|
|
|
|
option macaddr 'de:ad:be:ef:90:13'
|
2015-04-12 15:24:01 +02:00
|
|
|
|
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
#mesh fux-doormann22
|
2015-04-12 15:24:01 +02:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
config switch_vlan
|
|
|
|
option vlan '23'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
config interface 'vlan23'
|
2016-11-06 14:07:57 +01:00
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
2017-02-08 21:27:41 +01:00
|
|
|
option ifname 'eth0.23'
|
|
|
|
option macaddr 'de:ad:be:ef:90:14'
|
2016-02-13 12:03:12 +01:00
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
|
|
|
|
#mesh fux-artfiles
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '26'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
2016-02-13 12:03:12 +01:00
|
|
|
|
|
|
|
config interface 'vlan26'
|
2017-02-08 21:27:41 +01:00
|
|
|
option mesh_no_rebroadcast '1'
|
2016-02-13 12:03:12 +01:00
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option ifname 'eth0.26'
|
|
|
|
option macaddr 'de:ad:be:ef:90:15'
|
|
|
|
|
2017-02-08 21:27:41 +01:00
|
|
|
|
2015-02-23 23:41:36 +01:00
|
|
|
config interface 'wan'
|
|
|
|
option ifname 'eth0.2'
|
|
|
|
option type 'bridge'
|
2015-04-12 15:24:01 +02:00
|
|
|
option proto 'dhcp'
|
2015-02-23 23:41:36 +01:00
|
|
|
option peerdns '0'
|
2015-04-12 15:24:01 +02:00
|
|
|
option auto '1'
|
|
|
|
option macaddr 'fa:1b:67:d8:df:d2'
|
2015-08-30 10:43:28 +02:00
|
|
|
option igmp_snooping '0'
|
2015-04-12 15:24:01 +02:00
|
|
|
|
|
|
|
config interface 'client'
|
2016-02-13 12:03:12 +01:00
|
|
|
option ifname 'eth0.1 eth0.6 bat0'
|
2015-04-12 15:24:01 +02:00
|
|
|
option type 'bridge'
|
|
|
|
option proto 'dhcpv6'
|
|
|
|
option reqprefix 'no'
|
|
|
|
option macaddr 'f8:1a:67:d8:df:d2'
|
|
|
|
option peerdns '1'
|
|
|
|
option igmp_snooping '0'
|
|
|
|
|
|
|
|
config interface 'mesh_vpn'
|
|
|
|
option ifname 'mesh-vpn'
|
|
|
|
option proto 'batadv'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option macaddr 'fa:1e:67:d8:df:d2'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
|
|
|
config interface 'wan6'
|
|
|
|
option proto 'dhcpv6'
|
|
|
|
option ifname 'br-wan'
|
|
|
|
option peerdns '0'
|
|
|
|
option ip6table '1'
|
|
|
|
|
|
|
|
config rule6 'wan6_lookup'
|
|
|
|
option mark '0x01/0x01'
|
|
|
|
option lookup '1'
|
|
|
|
|
|
|
|
config route6 'wan6_unreachable'
|
|
|
|
option type 'unreachable'
|
|
|
|
option table '1'
|
|
|
|
option target '::/0'
|
|
|
|
option metric '65535'
|
|
|
|
option gateway '::'
|
|
|
|
option interface 'loopback'
|
|
|
|
|
2015-04-12 15:24:01 +02:00
|
|
|
config interface 'mesh_wan'
|
|
|
|
option ifname 'br-wan'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option proto 'batadv'
|
2017-02-08 21:27:41 +01:00
|
|
|
option auto '1'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
2015-08-30 10:43:28 +02:00
|
|
|
config route 'local_node_route4'
|
|
|
|
option target '10.112.0.0'
|
|
|
|
option gateway '0.0.0.0'
|
|
|
|
option netmask '255.255.192.0'
|
|
|
|
option interface 'client'
|
|
|
|
|
2016-02-13 12:03:12 +01:00
|
|
|
config interface 'mesh_lan'
|
|
|
|
option ifname 'eth0.1'
|
|
|
|
option auto '0'
|
|
|
|
option macaddr 'fa:1b:68:d8:df:d2'
|
|
|
|
option mesh 'bat0'
|
|
|
|
option proto 'batadv'
|
|
|
|
|
2015-02-23 23:41:36 +01:00
|
|
|
config interface 'bat0'
|
|
|
|
option ifname 'bat0'
|
2015-04-12 15:24:01 +02:00
|
|
|
option macaddr 'f8:1a:67:d8:df:d2'
|
2015-02-23 23:41:36 +01:00
|
|
|
option proto 'none'
|
|
|
|
|
|
|
|
config interface 'mesh_radio0'
|
|
|
|
option mesh 'bat0'
|
2015-08-30 10:43:28 +02:00
|
|
|
option proto 'batadv'
|
2015-02-23 23:41:36 +01:00
|
|
|
option mtu '1528'
|
|
|
|
|
|
|
|
config interface 'mesh_radio1'
|
|
|
|
option mesh 'bat0'
|
2015-08-30 10:43:28 +02:00
|
|
|
option proto 'batadv'
|
2015-02-23 23:41:36 +01:00
|
|
|
option mtu '1528'
|
|
|
|
|
|
|
|
config device 'local_node_dev'
|
|
|
|
option macaddr '16:41:95:40:f7:dc'
|
|
|
|
option ifname 'br-client'
|
|
|
|
option name 'local-node'
|
|
|
|
option type 'macvlan'
|
|
|
|
|
|
|
|
config interface 'local_node'
|
|
|
|
option ifname 'local-node'
|
|
|
|
option ipaddr '10.112.0.1'
|
2015-04-12 15:24:01 +02:00
|
|
|
option ip6addr '2a03:2267::1/128'
|
2015-02-23 23:41:36 +01:00
|
|
|
option netmask '255.255.192.0'
|
2015-08-30 10:43:28 +02:00
|
|
|
option proto 'static'
|
2015-02-23 23:41:36 +01:00
|
|
|
|
|
|
|
config route6 'local_node_route6'
|
2015-04-12 15:24:01 +02:00
|
|
|
option target '2a03:2267::/64'
|
2015-02-23 23:41:36 +01:00
|
|
|
option gateway '::'
|
|
|
|
option interface 'client'
|
|
|
|
|