From 9b3640af5b0a3e92e0e062c28792e2c9d3afdf7b Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Sun, 6 Nov 2016 14:16:20 +0100 Subject: [PATCH] =?UTF-8?q?artfiles-bue=20zu=20bb-artfiles-kern=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Richtfunk/bb-artfiles-kern/etc/config/network | 164 ++++++++++++------ 1 file changed, 110 insertions(+), 54 deletions(-) diff --git a/Richtfunk/bb-artfiles-kern/etc/config/network b/Richtfunk/bb-artfiles-kern/etc/config/network index d5e3541..aec45bb 100644 --- a/Richtfunk/bb-artfiles-kern/etc/config/network +++ b/Richtfunk/bb-artfiles-kern/etc/config/network @@ -5,73 +5,139 @@ config interface 'loopback' option ipaddr '127.0.0.1' option netmask '255.0.0.0' -config globals 'globals' - option ula_prefix 'fd64:b9cf:f8a4::/48' - -config interface 'wan6' - option ifname 'br-wan' - option ip6table '1' - option peerdns '0' - option proto 'none' - config switch - option name 'switch0' option reset '1' option enable_vlan '1' + option name 'switch0' config switch_vlan - option device 'switch0' option vlan '1' - option ports '0t 2 3 4' + option ports '0t 3 4 5' + option device 'switch0' config switch_vlan - option device 'switch0' option vlan '2' option ports '0t 1' + option device 'switch0' config switch_vlan - option device 'switch0' option vlan '5' - option ports '0t 5t' - -config switch_vlan + option ports '0t 2t' option device 'switch0' - option vlan '26' - option ports '0t 5t' config switch_vlan + option vlan '6' + option ports '0t 2t' option device 'switch0' - option vlan '29' - option ports '0t 5t' + +config switch_vlan + option vlan '10' + option ports '0t 2t' + option device 'switch0' + +config switch_vlan + option vlan '20' + option ports '0t 2t' + option device 'switch0' + +config switch_vlan + option vlan '21' + option ports '0t 2t' + option device 'switch0' + +config switch_vlan + option vlan '22' + option ports '0t 2t' + option device 'switch0' + +config switch_vlan + option vlan '23' + option ports '0t 2t' + option device 'switch0' + +config switch_vlan + option vlan '26' + option ports '0t 2t' + option device 'switch0' config interface 'vlan5' option proto 'static' option ifname 'eth0.5' - option ipaddr '192.168.112.34' + option ipaddr '192.168.112.7' option netmask '255.255.255.0' +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' + +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' + +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' + +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' + +config interface 'vlan23' + option mesh_no_rebroadcast '1' + option proto 'batadv' + option mesh 'bat0' + option ifname 'eth0.23' + option macaddr 'de:ad:be:ef:90:14' + config interface 'vlan26' option mesh_no_rebroadcast '1' option proto 'batadv' option mesh 'bat0' option ifname 'eth0.26' - option macaddr 'de:ad:be:ef:90:70' + option macaddr 'de:ad:be:ef:90:15' -config interface 'vlan29' - option mesh_no_rebroadcast '1' - option proto 'batadv' - option mesh 'bat0' - option ifname 'eth0.29' - option macaddr 'de:ad:be:ef:90:71' - config interface 'wan' - option igmp_snooping '0' option ifname 'eth0.2' - option auto '1' - option peerdns '0' option type 'bridge' - option macaddr 'ea:95:f6:cd:6d:46' - option proto 'static' + option proto 'dhcp' + 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 eth0.6 bat0' + 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' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option peerdns '0' + option ip6table '1' config rule6 'wan6_lookup' option mark '0x01/0x01' @@ -85,38 +151,28 @@ config route6 'wan6_unreachable' option gateway '::' option interface 'loopback' -config interface 'client' - option reqprefix 'no' - option ifname 'eth0.1 bat0' - option proto 'dhcpv6' - option type 'bridge' - option igmp_snooping '0' - option macaddr 'e8:94:f6:cd:6d:46' - option peerdns '1' - config interface 'mesh_wan' option ifname 'br-wan' option mesh 'bat0' option proto 'batadv' - option auto '1' + 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 'mesh_lan' option ifname 'eth0.1' option auto '0' - option macaddr 'ea:95:f7:cd:6d:46' - option mesh 'bat0' - option proto 'batadv' - -config interface 'mesh_vpn' - option ifname 'mesh-vpn' - option mesh_no_rebroadcast '1' - option macaddr 'ea:98:f6:cd:6d:46' + option macaddr 'fa:1b:68:d8:df:d2' option mesh 'bat0' option proto 'batadv' config interface 'bat0' option ifname 'bat0' - option macaddr 'e8:94:f6:cd:6d:46' + option macaddr 'f8:1a:67:d8:df:d2' option proto 'none' config interface 'mesh_radio0'