From 62a8af2573283756f6bed968fe3e798a822ffbe2 Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Sat, 20 Jun 2020 23:01:03 +0200 Subject: [PATCH] neuer bb-fux-kern, daher neue config/network --- Richtfunk/bb-fux-kern/etc/config/network | 79 +++++++++++------------- 1 file changed, 37 insertions(+), 42 deletions(-) diff --git a/Richtfunk/bb-fux-kern/etc/config/network b/Richtfunk/bb-fux-kern/etc/config/network index a3929a8..c6c39e6 100644 --- a/Richtfunk/bb-fux-kern/etc/config/network +++ b/Richtfunk/bb-fux-kern/etc/config/network @@ -5,20 +5,31 @@ config interface 'loopback' option ipaddr '127.0.0.1' option netmask '255.0.0.0' +config globals 'globals' + option ula_prefix 'fda4:94db:0356::/48' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option ip6table '1' + option sourcefilter '0' + option peerdns '0' + option reqprefix 'no' + 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 3 4 5' - option device 'switch0' + option ports '3 4 5 0t' config switch_vlan - option vlan '2' - option ports '0t 1' option device 'switch0' + option vlan '2' + option ports '1 0t' config switch_vlan option vlan '5' @@ -232,31 +243,14 @@ config interface 'gleis4a' option igmp_snooping '0' config interface 'wan' + option igmp_snooping '1' option ifname 'eth0.2' - option type 'bridge' - option proto 'dhcp' + option multicast_querier '0' option peerdns '0' option auto '1' - option multicast_querier '0' - option macaddr 'c2:0d:9f:de:d0:90' - option igmp_snooping '1' - -config interface 'mesh_vpn' - option ifname 'mesh-vpn' - option mesh 'bat0' - option transitive '1' - option macaddr 'c2:0d:9f:de:d0:97' - option fixed_mtu '1' - option proto 'gluon_mesh' - option mtu '1312' - -config interface 'wan6' - option proto 'dhcpv6' - option ifname 'br-wan' - option peerdns '0' - option ip6table '1' - option sourcefilter '0' - option reqprefix 'no' + option type 'bridge' + option proto 'dhcp' + option macaddr '26:09:1c:2a:64:d8' config rule6 'wan6_lookup' option mark '0x01/0x01' @@ -274,24 +268,25 @@ config interface 'mesh_wan' option ifname 'br-wan' option index '0' option proto 'gluon_wired' - option disabled '0' option transitive '1' - -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 disabled '0' config interface 'mesh_lan' - option ifname 'eth0.1' - option mesh 'bat0' option igmp_snooping '0' - option transitive '1' - option macaddr 'c2:0d:9f:de:d0:94' + option ifname 'eth0.1' option index '4' option proto 'gluon_wired' option disabled '1' + option transitive '1' + option macaddr '26:09:1c:2a:64:dc' + +config interface 'mesh_vpn' + option ifname 'mesh-vpn' + option transitive '1' + option mtu '1312' + option macaddr '26:09:1c:2a:64:df' + option fixed_mtu '1' + option proto 'gluon_mesh' config interface 'mesh_radio0' option proto 'gluon_mesh' @@ -305,11 +300,11 @@ config interface 'client' option auto '1' option ra_holdoff '30' option multicast_querier '1' - option macaddr 'f8:1a:67:d8:df:d2' + option macaddr 'e8:94:f6:d4:53:c0' list ifname 'eth0.1' list ifname 'eth0.6' - list ifname 'bat0' list ifname 'local-port' + list ifname 'bat0' option ipv6 '1' option keep_ra_dnslifetime '1' option sourcefilter '0' @@ -325,7 +320,7 @@ config device 'local_node_dev' option name 'local-node' option peer_name 'local-port' option macaddr '16:41:95:40:f7:dc' - option peer_macaddr 'f8:1a:67:d8:df:d2' + option peer_macaddr 'e8:94:f6:d4:53:c0' config interface 'local_node' option ifname 'local-node' @@ -341,7 +336,7 @@ config interface 'bat0' option multicast_router '2' option ifname 'bat0' option auto '1' - option macaddr 'f8:1a:67:d8:df:d2' + option macaddr 'e8:94:f6:d4:53:c0' option learning '1' option proto 'none'