diff --git a/Richtfunk/bb-fux-kern/etc/config/network b/Richtfunk/bb-fux-kern/etc/config/network index f68e4a0..39b4d2d 100644 --- a/Richtfunk/bb-fux-kern/etc/config/network +++ b/Richtfunk/bb-fux-kern/etc/config/network @@ -21,69 +21,81 @@ config switch_vlan option device 'switch0' config switch_vlan - option vlan '5' - option ports '0t 2t' - option vid '5' - option device 'switch0' + option vlan '5' + option ports '0t 2t' + option vid '5' + option device 'switch0' config switch_vlan - option vlan '10' - option ports '0t 2t' - option vid '10' - option device 'switch0' - -config switch_vlan - option vlan '20' - option ports '0t 2t' - option vid '20' - option device 'switch0' + option vlan '10' + option ports '0t 2t' + option vid '10' + option device 'switch0' config switch_vlan - option vlan '11' - option ports '0t 2t' - option vid '11' - option device 'switch0' + option vlan '20' + option ports '0t 2t' + option vid '20' + option device 'switch0' + +config switch_vlan + option vlan '11' + option ports '0t 2t' + option vid '11' + option device 'switch0' + +config switch_vlan + option vlan '22' + option ports '0t 2t' + option vid '22' + option device 'switch0' config switch_vlan - option vlan '22' + option vlan '23' option ports '0t 2t' - option vid '22' + option vid '23' option device 'switch0' - - -config interface 'vlan5' - option proto 'static' - option ifname 'eth0.5' - option ipaddr '192.168.112.7' - option netmask '255.255.255.0' - -config interface 'vlan10' - option proto 'batadv' - option mesh 'bat0' - option mtu '1500' - option ifname 'eth0.10' - option macaddr 'de:ad:be:ef:90:10' -config interface 'vlan20' - option proto 'batadv' - option mesh 'bat0' - option mtu '1500' - option ifname 'eth0.20' - option macaddr 'de:ad:be:ef:90:11' +config interface 'vlan5' + option proto 'static' + option ifname 'eth0.5' + option ipaddr '192.168.112.7' + option netmask '255.255.255.0' -config interface 'vlan11' - option proto 'batadv' - option mesh 'bat0' - option mtu '1500' - option ifname 'eth0.11' - option macaddr 'de:ad:be:ef:90:12' +config interface 'vlan10' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.10' + option macaddr 'de:ad:be:ef:90:10' + +config interface 'vlan20' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.20' + option macaddr 'de:ad:be:ef:90:11' + +config interface 'vlan11' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.11' + option macaddr 'de:ad:be:ef:90:12' + +config interface 'vlan22' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.22' + option macaddr 'de:ad:be:ef:90:13' -config interface 'vlan22' +config interface 'vlan23' option proto 'batadv' option mesh 'bat0' option mtu '1500' - option ifname 'eth0.22' - option macaddr 'de:ad:be:ef:90:13' + option ifname 'eth0.23' + option macaddr 'de:ad:be:ef:90:14' config interface 'wan' option ifname 'eth0.2' @@ -92,6 +104,7 @@ config interface 'wan' option peerdns '0' option auto '1' option macaddr 'fa:1b:67:d8:df:d2' + option igmp_snooping '0' config interface 'client' option ifname 'eth0.1 bat0' @@ -133,21 +146,34 @@ config interface 'mesh_wan' option proto 'batadv' option auto '0' +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 'bat0' option ifname 'bat0' option macaddr 'f8:1a:67:d8:df:d2' option proto 'none' config interface 'mesh_radio0' - option proto 'batadv' option mesh 'bat0' + option proto 'batadv' option mtu '1528' config interface 'mesh_radio1' - option proto 'batadv' option mesh 'bat0' + option proto 'batadv' option mtu '1528' +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' + config device 'local_node_dev' option macaddr '16:41:95:40:f7:dc' option ifname 'br-client' @@ -158,14 +184,8 @@ config interface 'local_node' option ifname 'local-node' option ipaddr '10.112.0.1' option ip6addr '2a03:2267::1/128' - option netmask '255.255.255.255' - option proto 'static' - -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' + option proto 'static' config route6 'local_node_route6' option target '2a03:2267::/64'