vid & MTU tags entfernt. snmp teilweise hinzugefügt

This commit is contained in:
4ndr3 2016-02-13 12:03:12 +01:00
parent a4c1894462
commit d31593b2d9
9 changed files with 211 additions and 213 deletions

View file

@ -30,29 +30,26 @@ config switch_vlan
option ports '0t 1' option ports '0t 1'
config switch_vlan config switch_vlan
option device 'switch0' option device 'switch0'
option vlan '5' option vlan '5'
option ports '0t 5t' option ports '0t 5t'
option vid '5'
config switch_vlan config switch_vlan
option device 'switch0' option device 'switch0'
option vlan '26' option vlan '26'
option ports '0t 5t' option ports '0t 5t'
option vid '26'
config interface 'vlan5' config interface 'vlan5'
option proto 'static' option proto 'static'
option ifname 'eth0.5' option ifname 'eth0.5'
option ipaddr '192.168.112.34' option ipaddr '192.168.112.34'
option netmask '255.255.255.0' option netmask '255.255.255.0'
config interface 'vlan26' config interface 'vlan26'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth0.26'
option ifname 'eth0.26' option macaddr 'de:ad:be:ef:90:70'
option macaddr 'de:ad:be:ef:90:70'
config interface 'wan' config interface 'wan'
option igmp_snooping '0' option igmp_snooping '0'
@ -84,21 +81,6 @@ config interface 'client'
option macaddr 'e8:94:f6:cd:6d:46' option macaddr 'e8:94:f6:cd:6d:46'
option peerdns '1' option peerdns '1'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'e8:94:f6:cd:6d:46'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_wan' config interface 'mesh_wan'
option ifname 'br-wan' option ifname 'br-wan'
option mesh 'bat0' option mesh 'bat0'
@ -119,6 +101,21 @@ config interface 'mesh_vpn'
option mesh 'bat0' option mesh 'bat0'
option proto 'batadv' option proto 'batadv'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'e8:94:f6:cd:6d:46'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config device 'local_node_dev' config device 'local_node_dev'
option macaddr '16:41:95:40:f7:dc' option macaddr '16:41:95:40:f7:dc'
option ifname 'br-client' option ifname 'br-client'

View file

@ -32,37 +32,26 @@ config switch_vlan
config switch_vlan config switch_vlan
option vlan '5' option vlan '5'
option ports '0t 2t' 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' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '23' option vlan '23'
option ports '0t 2t' option ports '0t 2t'
option vid '23'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '24' option vlan '24'
option ports '0t 2t' option ports '0t 2t'
option vid '24'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '25' option vlan '25'
option ports '0t 2t' option ports '0t 2t'
option vid '25'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '28' option vlan '28'
option ports '0t 2t' option ports '0t 2t'
option vid '28'
option device 'switch0' option device 'switch0'
config interface 'vlan5' config interface 'vlan5'
@ -71,38 +60,27 @@ config interface 'vlan5'
option ipaddr '192.168.112.23' option ipaddr '192.168.112.23'
option netmask '255.255.255.0' 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:40'
config interface 'vlan23' config interface 'vlan23'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.23' option ifname 'eth0.23'
option macaddr 'de:ad:be:ef:90:41' option macaddr 'de:ad:be:ef:90:41'
config interface 'vlan24' config interface 'vlan24'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.24' option ifname 'eth0.24'
option macaddr 'de:ad:be:ef:90:42' option macaddr 'de:ad:be:ef:90:42'
config interface 'vlan25' config interface 'vlan25'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.25' option ifname 'eth0.25'
option macaddr 'de:ad:be:ef:90:43' option macaddr 'de:ad:be:ef:90:43'
config interface 'vlan28' config interface 'vlan28'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.28' option ifname 'eth0.28'
option macaddr 'de:ad:be:ef:90:44' option macaddr 'de:ad:be:ef:90:44'

View file

@ -32,19 +32,16 @@ config switch_vlan
config switch_vlan config switch_vlan
option vlan '5' option vlan '5'
option ports '0t 2t' option ports '0t 2t'
option vid '5'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '10' option vlan '10'
option ports '0t 2t' option ports '0t 2t'
option vid '10'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '20' option vlan '20'
option ports '0t 2t' option ports '0t 2t'
option vid '20'
option device 'switch0' option device 'switch0'
config interface 'vlan5' config interface 'vlan5'
@ -56,14 +53,12 @@ config interface 'vlan5'
config interface 'vlan10' config interface 'vlan10'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.10' option ifname 'eth0.10'
option macaddr 'de:ad:be:ef:90:00' option macaddr 'de:ad:be:ef:90:00'
config interface 'vlan20' config interface 'vlan20'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.20' option ifname 'eth0.20'
option macaddr 'de:ad:be:ef:90:01' option macaddr 'de:ad:be:ef:90:01'
@ -97,21 +92,6 @@ config interface 'client'
option macaddr 'f8:1a:67:5a:5d:e8' option macaddr 'f8:1a:67:5a:5d:e8'
option peerdns '1' option peerdns '1'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'f8:1a:67:5a:5d:e8'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_wan' config interface 'mesh_wan'
option auto '0' option auto '0'
option ifname 'br-wan' option ifname 'br-wan'
@ -132,6 +112,21 @@ config interface 'mesh_vpn'
option mesh 'bat0' option mesh 'bat0'
option proto 'batadv' option proto 'batadv'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'f8:1a:67:5a:5d:e8'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config device 'local_node_dev' config device 'local_node_dev'
option macaddr '16:41:95:40:f7:dc' option macaddr '16:41:95:40:f7:dc'
option ifname 'br-client' option ifname 'br-client'

View file

@ -32,13 +32,11 @@ config switch_vlan
config switch_vlan config switch_vlan
option vlan '5' option vlan '5'
option ports '0t 2t' option ports '0t 2t'
option vid '5'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '24' option vlan '24'
option ports '0t 2t' option ports '0t 2t'
option vid '24'
option device 'switch0' option device 'switch0'
config interface 'vlan5' config interface 'vlan5'
@ -50,7 +48,6 @@ config interface 'vlan5'
config interface 'vlan24' config interface 'vlan24'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.24' option ifname 'eth0.24'
option macaddr 'de:ad:be:ef:90:60' option macaddr 'de:ad:be:ef:90:60'

View file

@ -0,0 +1,43 @@
config agent
option agentaddress UDP6:161
config com2sec6 readonly
option secname ro
option source default
option community ffrichtfunk
config group public_v2c
option group MyROGroup
option version v2c
option secname ro
config group public_usm
option group MyROGroup
option version usm
option secname ro
config view all
option viewname all
option type included
option oid .1
option mask 80
config access public_access
option group MyROGroup
option context none
option version any
option level noauth
option prefix exact
option read all
option write none
option notify none
config system
option sysLocation 'null'
option sysContact 'richtfunk@hamburg.freifunk.net'
config exec
option name filedescriptors
option prog /bin/cat
option args /proc/sys/fs/file-nr
# option miboid 1.2.3.4

View file

@ -23,44 +23,42 @@ config switch_vlan
config switch_vlan config switch_vlan
option vlan '5' option vlan '5'
option ports '0t 2t' option ports '0t 2t'
option vid '5'
option device 'switch0' option device 'switch0'
config switch_vlan
option vlan '6'
option ports '0t 2t'
option device 'switch0'
config switch_vlan config switch_vlan
option vlan '10' option vlan '10'
option ports '0t 2t' option ports '0t 2t'
option vid '10'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '20' option vlan '20'
option ports '0t 2t' option ports '0t 2t'
option vid '20'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '11' option vlan '11'
option ports '0t 2t' option ports '0t 2t'
option vid '11'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '22' option vlan '22'
option ports '0t 2t' option ports '0t 2t'
option vid '22'
option device 'switch0' option device 'switch0'
config switch_vlan config switch_vlan
option vlan '23' option vlan '23'
option ports '0t 2t' option ports '0t 2t'
option vid '23' option device 'switch0'
option device 'switch0'
config switch_vlan config switch_vlan
option vlan '26' option vlan '26'
option ports '0t 2t' option ports '0t 2t'
option vid '26' option device 'switch0'
option device 'switch0'
config interface 'vlan5' config interface 'vlan5'
option proto 'static' option proto 'static'
@ -71,44 +69,38 @@ config interface 'vlan5'
config interface 'vlan10' config interface 'vlan10'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.10' option ifname 'eth0.10'
option macaddr 'de:ad:be:ef:90:10' option macaddr 'de:ad:be:ef:90:10'
config interface 'vlan20' config interface 'vlan20'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.20' option ifname 'eth0.20'
option macaddr 'de:ad:be:ef:90:11' option macaddr 'de:ad:be:ef:90:11'
config interface 'vlan11' config interface 'vlan11'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.11' option ifname 'eth0.11'
option macaddr 'de:ad:be:ef:90:12' option macaddr 'de:ad:be:ef:90:12'
config interface 'vlan22' config interface 'vlan22'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500'
option ifname 'eth0.22' option ifname 'eth0.22'
option macaddr 'de:ad:be:ef:90:13' option macaddr 'de:ad:be:ef:90:13'
config interface 'vlan23' config interface 'vlan23'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth0.23'
option ifname 'eth0.23' option macaddr 'de:ad:be:ef:90:14'
option macaddr 'de:ad:be:ef:90:14'
config interface 'vlan26' config interface 'vlan26'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth0.26'
option ifname 'eth0.26' option macaddr 'de:ad:be:ef:90:15'
option macaddr 'de:ad:be:ef:90:15'
config interface 'wan' config interface 'wan'
option ifname 'eth0.2' option ifname 'eth0.2'
@ -120,7 +112,7 @@ config interface 'wan'
option igmp_snooping '0' option igmp_snooping '0'
config interface 'client' config interface 'client'
option ifname 'eth0.1 bat0' option ifname 'eth0.1 eth0.6 bat0'
option type 'bridge' option type 'bridge'
option proto 'dhcpv6' option proto 'dhcpv6'
option reqprefix 'no' option reqprefix 'no'
@ -165,6 +157,13 @@ config route 'local_node_route4'
option netmask '255.255.192.0' option netmask '255.255.192.0'
option interface 'client' option interface 'client'
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 interface 'bat0' config interface 'bat0'
option ifname 'bat0' option ifname 'bat0'
option macaddr 'f8:1a:67:d8:df:d2' option macaddr 'f8:1a:67:d8:df:d2'
@ -180,13 +179,6 @@ config interface 'mesh_radio1'
option proto 'batadv' option proto 'batadv'
option mtu '1528' 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' config device 'local_node_dev'
option macaddr '16:41:95:40:f7:dc' option macaddr '16:41:95:40:f7:dc'
option ifname 'br-client' option ifname 'br-client'

View file

@ -6,12 +6,6 @@ config com2sec6 readonly
option source default option source default
option community ffrichtfunk option community ffrichtfunk
config group public_v1
option group MyROGroup
option version v1
option secname ro
config group public_v2c config group public_v2c
option group MyROGroup option group MyROGroup
option version v2c option version v2c
@ -39,7 +33,7 @@ config access public_access
option notify none option notify none
config system config system
option sysLocation 'fux, Zeiseweg 9, 22765 Hamburg' option sysLocation 'Zeiseweg 9, 22765 Hamburg'
option sysContact 'richtfunk@hamburg.freifunk.net' option sysContact 'richtfunk@hamburg.freifunk.net'
# option sysName 'bb-fux-kern' # option sysName 'bb-fux-kern'
# option sysServices 72 # option sysServices 72

View file

@ -30,42 +30,37 @@ config switch_vlan
option ports '0t 1' option ports '0t 1'
config switch_vlan config switch_vlan
option vlan '5' option vlan '5'
option ports '0t 2t' option ports '0t 2t'
option vid '5' option device 'switch0'
option device 'switch0'
config switch_vlan config switch_vlan
option vlan '10' option vlan '10'
option ports '0t 2t' option ports '0t 2t'
option vid '10' option device 'switch0'
option device 'switch0'
config switch_vlan config switch_vlan
option vlan '25' option vlan '25'
option ports '0t 2t' option ports '0t 2t'
option vid '25' option device 'switch0'
option device 'switch0'
config interface 'vlan5' config interface 'vlan5'
option proto 'static' option proto 'static'
option ifname 'eth0.5' option ifname 'eth0.5'
option ipaddr '192.168.112.24' option ipaddr '192.168.112.24'
option netmask '255.255.255.0' option netmask '255.255.255.0'
config interface 'vlan10' config interface 'vlan10'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth0.10'
option ifname 'eth0.10' option macaddr 'de:ad:be:ef:90:50'
option macaddr 'de:ad:be:ef:90:50'
config interface 'vlan25' config interface 'vlan25'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth0.25'
option ifname 'eth0.25' option macaddr 'de:ad:be:ef:90:51'
option macaddr 'de:ad:be:ef:90:51'
config interface 'wan' config interface 'wan'
option igmp_snooping '0' option igmp_snooping '0'
@ -97,21 +92,6 @@ config interface 'client'
option macaddr 'f8:1a:67:ca:92:24' option macaddr 'f8:1a:67:ca:92:24'
option peerdns '1' option peerdns '1'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'f8:1a:67:ca:92:24'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_wan' config interface 'mesh_wan'
option auto '0' option auto '0'
option ifname 'br-wan' option ifname 'br-wan'
@ -132,6 +112,21 @@ config interface 'mesh_vpn'
option mesh 'bat0' option mesh 'bat0'
option proto 'batadv' option proto 'batadv'
config interface 'bat0'
option ifname 'bat0'
option macaddr 'f8:1a:67:ca:92:24'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_radio1'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config device 'local_node_dev' config device 'local_node_dev'
option macaddr '16:41:95:40:f7:dc' option macaddr '16:41:95:40:f7:dc'
option ifname 'br-client' option ifname 'br-client'

View file

@ -30,42 +30,48 @@ config switch_vlan
option ports '5 6' option ports '5 6'
config switch_vlan config switch_vlan
option device 'switch0' option device 'switch0'
option vlan '5' option vlan '5'
option ports '0t 4t' option ports '0t 4t'
option vid '5'
config switch_vlan config switch_vlan
option device 'switch0' option device 'switch0'
option vlan '10' option vlan '10'
option ports '0t 4t' option ports '0t 4t'
option vid '10'
config switch_vlan config switch_vlan
option device 'switch0' option device 'switch0'
option vlan '22' option vlan '22'
option ports '0t 4t' option ports '0t 4t'
option vid '22'
config switch_vlan
option device 'switch0'
option vlan '27'
option ports '0t 4t'
config interface 'vlan5' config interface 'vlan5'
option proto 'static' option proto 'static'
option ifname 'eth1.5' option ifname 'eth1.5'
option ipaddr '192.168.112.17' option ipaddr '192.168.112.17'
option netmask '255.255.255.0' option netmask '255.255.255.0'
config interface 'vlan10' config interface 'vlan10'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth1.10'
option ifname 'eth1.10' option macaddr 'de:ad:be:ef:90:30'
option macaddr 'de:ad:be:ef:90:30'
config interface 'vlan22' config interface 'vlan22'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
option mtu '1500' option ifname 'eth1.22'
option ifname 'eth1.22' option macaddr 'de:ad:be:ef:90:31'
option macaddr 'de:ad:be:ef:90:31'
config interface 'vlan27'
option proto 'batadv'
option mesh 'bat0'
option ifname 'eth1.27'
option macaddr 'de:ad:be:ef:90:32'
config interface 'wan' config interface 'wan'
option igmp_snooping '0' option igmp_snooping '0'
@ -74,6 +80,7 @@ config interface 'wan'
option peerdns '0' option peerdns '0'
option type 'bridge' option type 'bridge'
option proto 'dhcp' option proto 'dhcp'
option macaddr '16:cd:20:4d:3d:68'
config rule6 'wan6_lookup' config rule6 'wan6_lookup'
option mark '0x01/0x01' option mark '0x01/0x01'
@ -96,16 +103,6 @@ config interface 'client'
option macaddr '14:cc:20:4d:3d:68' option macaddr '14:cc:20:4d:3d:68'
option peerdns '1' option peerdns '1'
config interface 'bat0'
option ifname 'bat0'
option macaddr '14:cc:20:4d:3d:68'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config interface 'mesh_wan' config interface 'mesh_wan'
option auto '0' option auto '0'
option ifname 'br-wan' option ifname 'br-wan'
@ -126,6 +123,16 @@ config interface 'mesh_vpn'
option mesh 'bat0' option mesh 'bat0'
option proto 'batadv' option proto 'batadv'
config interface 'bat0'
option ifname 'bat0'
option macaddr '14:cc:20:4d:3d:68'
option proto 'none'
config interface 'mesh_radio0'
option mesh 'bat0'
option proto 'batadv'
option mtu '1528'
config device 'local_node_dev' config device 'local_node_dev'
option macaddr '16:41:95:40:f7:dc' option macaddr '16:41:95:40:f7:dc'
option ifname 'br-client' option ifname 'br-client'