2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
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 'fde5:7d91:be8c::/48'
|
|
|
|
|
|
|
|
config interface 'wan6'
|
|
|
|
option proto 'dhcpv6'
|
|
|
|
option ifname 'br-wan'
|
|
|
|
option ip6table '1'
|
|
|
|
option peerdns '0'
|
2017-04-21 21:58:29 +02:00
|
|
|
option sourcefilter '0'
|
2021-02-03 20:52:49 +01:00
|
|
|
option reqprefix 'no'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
config switch
|
|
|
|
option name 'switch0'
|
|
|
|
option reset '1'
|
|
|
|
option enable_vlan '1'
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option device 'switch0'
|
|
|
|
option vlan '1'
|
2021-02-03 20:52:49 +01:00
|
|
|
option ports '0t 3'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option device 'switch0'
|
|
|
|
option vlan '2'
|
|
|
|
option ports '0t 1'
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '5'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
config interface 'vlan5'
|
|
|
|
option proto 'static'
|
|
|
|
option ifname 'eth0.5'
|
|
|
|
option ipaddr '192.168.112.32'
|
|
|
|
option netmask '255.255.255.0'
|
|
|
|
|
2021-02-03 20:52:49 +01:00
|
|
|
config switch_vlan
|
|
|
|
option vlan '10'
|
|
|
|
option ports '0t 5'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
config interface 'flora12'
|
|
|
|
option ifname 'eth0.10'
|
|
|
|
option macaddr 'de:ad:be:ef:90:60'
|
|
|
|
option proto 'gluon_mesh'
|
|
|
|
option fixed_mtu '1'
|
|
|
|
option igmp_snooping '0'
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '11'
|
|
|
|
option ports '0t 4'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
config interface 'flora35'
|
|
|
|
option ifname 'eth0.11'
|
|
|
|
option macaddr 'de:ad:be:ef:90:61'
|
|
|
|
option proto 'gluon_mesh'
|
|
|
|
option fixed_mtu '1'
|
|
|
|
option igmp_snooping '0'
|
|
|
|
|
|
|
|
config switch_vlan
|
|
|
|
option vlan '24'
|
|
|
|
option ports '0t 2t'
|
|
|
|
option device 'switch0'
|
|
|
|
|
|
|
|
config interface 'doormann22'
|
2015-09-12 23:51:19 +02:00
|
|
|
option ifname 'eth0.24'
|
2021-02-03 20:52:49 +01:00
|
|
|
option macaddr 'de:ad:be:ef:90:62'
|
2017-04-21 21:58:29 +02:00
|
|
|
option proto 'gluon_mesh'
|
|
|
|
option fixed_mtu '1'
|
|
|
|
option transitive '1'
|
2017-12-04 23:00:03 +01:00
|
|
|
option igmp_snooping '0'
|
2017-04-21 21:58:29 +02:00
|
|
|
|
2015-09-12 23:51:19 +02:00
|
|
|
config interface 'wan'
|
|
|
|
option peerdns '0'
|
|
|
|
option ifname 'eth0.2'
|
|
|
|
option auto '1'
|
|
|
|
option type 'bridge'
|
|
|
|
option proto 'dhcp'
|
2017-04-21 21:58:29 +02:00
|
|
|
option multicast_querier '0'
|
|
|
|
option macaddr '16:e3:c2:3a:e5:58'
|
2021-02-03 20:52:49 +01:00
|
|
|
option igmp_snooping '1'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
config interface 'mesh_wan'
|
|
|
|
option ifname 'br-wan'
|
2017-12-04 23:00:03 +01:00
|
|
|
option igmp_snooping '0'
|
|
|
|
option transitive '1'
|
2021-02-03 20:52:49 +01:00
|
|
|
option index '0'
|
|
|
|
option proto 'gluon_wired'
|
|
|
|
option disabled '0'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
config interface 'mesh_vpn'
|
|
|
|
option ifname 'mesh-vpn'
|
|
|
|
option mesh_no_rebroadcast '1'
|
|
|
|
option mesh 'bat0'
|
2017-04-21 21:58:29 +02:00
|
|
|
option transitive '1'
|
|
|
|
option macaddr '16:e3:c2:3a:e5:5f'
|
|
|
|
option fixed_mtu '1'
|
|
|
|
option proto 'gluon_mesh'
|
2021-02-03 20:52:49 +01:00
|
|
|
option mtu '1312'
|
2015-09-12 23:51:19 +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'
|
|
|
|
|
|
|
|
config interface 'mesh_lan'
|
|
|
|
option ifname 'eth0.1'
|
|
|
|
option mesh 'bat0'
|
2017-04-21 21:58:29 +02:00
|
|
|
option igmp_snooping '0'
|
|
|
|
option transitive '1'
|
|
|
|
option macaddr '16:e3:c2:3a:e5:5c'
|
2021-02-03 20:52:49 +01:00
|
|
|
option index '4'
|
|
|
|
option proto 'gluon_wired'
|
|
|
|
option disabled '1'
|
2017-04-21 21:58:29 +02:00
|
|
|
|
2017-12-04 23:00:03 +01:00
|
|
|
config interface 'mesh_radio0'
|
2017-04-21 21:58:29 +02:00
|
|
|
option proto 'gluon_mesh'
|
|
|
|
|
2017-12-04 23:00:03 +01:00
|
|
|
config interface 'mesh_radio1'
|
2017-04-21 21:58:29 +02:00
|
|
|
option proto 'gluon_mesh'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
2021-02-03 20:52:49 +01:00
|
|
|
config interface 'client'
|
|
|
|
option igmp_snooping '1'
|
|
|
|
option type 'bridge'
|
|
|
|
option auto '1'
|
|
|
|
option ra_holdoff '30'
|
|
|
|
option multicast_querier '1'
|
2015-09-12 23:51:19 +02:00
|
|
|
option macaddr 'e8:94:f6:cd:6c:66'
|
2021-02-03 20:52:49 +01:00
|
|
|
list ifname 'bat0'
|
|
|
|
list ifname 'local-port'
|
|
|
|
option ipv6 '1'
|
|
|
|
option keep_ra_dnslifetime '1'
|
|
|
|
option sourcefilter '0'
|
|
|
|
option peerdns '1'
|
|
|
|
option robustness '9'
|
|
|
|
option reqprefix 'no'
|
|
|
|
option query_interval '2000'
|
|
|
|
option query_response_interval '500'
|
|
|
|
option proto 'dhcpv6'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
config device 'local_node_dev'
|
2021-02-03 20:52:49 +01:00
|
|
|
option type 'veth'
|
2015-09-12 23:51:19 +02:00
|
|
|
option name 'local-node'
|
2021-02-03 20:52:49 +01:00
|
|
|
option peer_name 'local-port'
|
|
|
|
option macaddr '16:41:95:40:f7:dc'
|
|
|
|
option peer_macaddr 'e8:94:f6:cd:6c:66'
|
2015-09-12 23:51:19 +02:00
|
|
|
|
|
|
|
config interface 'local_node'
|
|
|
|
option ifname 'local-node'
|
2021-02-03 20:52:49 +01:00
|
|
|
option ipaddr '10.112.96.1/19'
|
2017-12-04 23:00:03 +01:00
|
|
|
option ip6addr '2a03:2267:2::1/128'
|
2021-02-03 20:52:49 +01:00
|
|
|
option ip6deprecated '1'
|
2015-09-12 23:51:19 +02:00
|
|
|
option proto 'static'
|
|
|
|
|
2021-02-03 20:52:49 +01:00
|
|
|
config interface 'gluon_bat0'
|
|
|
|
option gw_mode 'client'
|
|
|
|
option proto 'gluon_bat0'
|
|
|
|
|
|
|
|
config interface 'bat0'
|
|
|
|
option multicast_router '2'
|
|
|
|
option ifname 'bat0'
|
|
|
|
option auto '1'
|
|
|
|
option macaddr 'e8:94:f6:cd:6c:66'
|
|
|
|
option learning '1'
|
|
|
|
option proto 'none'
|
|
|
|
|
2015-09-12 23:51:19 +02:00
|
|
|
config route6 'local_node_route6'
|
2017-12-04 23:00:03 +01:00
|
|
|
option target '2a03:2267:2::/64'
|
2015-09-12 23:51:19 +02:00
|
|
|
option gateway '::'
|
|
|
|
option interface 'client'
|
|
|
|
|