This commit is contained in:
2025-08-03 01:00:01 +02:00
parent 5d18b79372
commit a81cf75e13
18 changed files with 2303 additions and 48 deletions

View File

@ -20,8 +20,17 @@ network_interface_required_packages:
network_interfaces:
- device: eth2
headline: eth2 - Uplink static line (radio) to Altenschlirf
- device: lan0
headline: lan0 - Temporary LAN network
auto: false
family: inet
method: static
address: 192.168.11.18
#gateway: 192.168.11.254
netmask: 24
- device: lan4
headline: lan4 - Uplink static line (radio) to Altenschlirf
auto: true
family: inet
method: static
@ -29,7 +38,7 @@ network_interfaces:
netmask: 24
up:
# - For management Antennas
- /sbin/ip link add link eth2 name eth2.111 type vlan id 111
- /sbin/ip link add link lan4 name lan4.111 type vlan id 111
post-up:
# - Static routes to Altenschlirf (Router Ip-Address Altenschlirf: 172.16.111.253)
# -
@ -63,8 +72,8 @@ network_interfaces:
- /sbin/ip route add 192.168.64.0/24 via 172.16.111.253
- device: eth2.111
headline: eth2.111 - network 10.10.111.0 (management antennas)
- device: lan4.111
headline: lan4.111 - network 10.10.111.0 (management antennas)
auto: true
family: inet
method: static
@ -72,17 +81,17 @@ network_interfaces:
netmask: 24
- device: eth8
headline: eth8 - holds VLAN 211 device for Network Telefons Stockhausen
- device: lan6
headline: lan6 - holds VLAN 211 device for Network Telefons Stockhausen
auto: false
family: inet
method: manual
up:
- /sbin/ip link add link eth8 name eth8.211 type vlan id 211
- /sbin/ip link add link lan6 name lan6.211 type vlan id 211
- device: eth8.211
headline: eth8.211 - Network Telefons Stockhausen
- device: lan6.211
headline: lan6.211 - Network Telefons Stockhausen
auto: true
family: inet
method: static
@ -92,11 +101,11 @@ network_interfaces:
address: 172.16.211.1
netmask: 24
pre-up:
- /sbin/ifconfig eth8 up
- /sbin/ifconfig lan6 up
- device: eth9
headline: eth9 - Uplink DSL surf2 via (static) line to Fritz!Box 7490 (formaly Zyxel 6501)
- device: lan8
headline: lan8 - Uplink DSL surf2 via (static) line to Fritz!Box 7490 (formaly Zyxel 6501)
auto: true
family: inet
method: static
@ -105,8 +114,8 @@ network_interfaces:
gateway: 172.16.11.254
- device: eth10
headline: eth10 - Uplink DSL surf3 via (static) line to Fritz!Box 7490
- device: lan9
headline: lan9 - Uplink DSL surf3 via (static) line to Fritz!Box 7490
auto: true
family: inet
method: static
@ -115,8 +124,8 @@ network_interfaces:
gateway: 172.16.13.254
- device: eth11
headline: eth11 - Uplink DSL surf1 via (static) line to Fritz!Box 7490 (Mailserver)
- device: lan7
headline: lan7 - Uplink DSL surf1 via (static) line to Fritz!Box 7490 (Mailserver)
auto: true
family: inet
method: static
@ -131,14 +140,14 @@ network_interfaces:
# apt-get install ifenslave
# ----------
- device: bond0
headline: bond0 - LAG (Link Aggregation) on devices eth0 and eth4
headline: bond0 - LAG (Link Aggregation) on devices lan2 and lan10
auto: true
family: inet
method: static
address: 10.1.9.254
netmask: 24
bond:
slaves: eth0 eth4
slaves: lan2 lan10
# Mode 4 (802.3ad)
#
# also possible here:
@ -180,8 +189,8 @@ network_interfaces:
#
# apt-get install ifenslave
# ----------
- device: bond1
headline: bond1 - LAG (Link Aggregation) on devices eth3 and eth5 - Main Network Stockhausen
- device: sfp0
headline: sfp0 - Main Network Stockhausen
auto: true
family: inet
method: static
@ -191,24 +200,24 @@ network_interfaces:
- 192.168.11.1
- 192.168.10.3
search: ga.netz ga.intra
bond:
slaves: eth3 eth5
# Mode 4 (802.3ad)
#
# also possible here:
# - Mode 5: balance-tlb
# - Mode 6: balance-alb
mode: 4
miimon: 100
lacp-rate: 1
ad-select: count
downdelay: 200
updelay: 200
#bond:
# slaves: lan3 lan11
# # Mode 4 (802.3ad)
# #
# # also possible here:
# # - Mode 5: balance-tlb
# # - Mode 6: balance-alb
# mode: 4
# miimon: 100
# lacp-rate: 1
# ad-select: count
# downdelay: 200
# updelay: 200
post-up:
# VLAN 121 - for Ubiquiti UniFi Accesspoints
- /sbin/ip link add link bond1 name bond1.121 type vlan id 121
- /sbin/ip link add link sfp0 name sfp0.121 type vlan id 121
# VLAN 121 - for Ubiquiti UniFi Accesspoints Guests
- /sbin/ip link add link bond1 name bond1.131 type vlan id 131
- /sbin/ip link add link sfp0 name sfp0.131 type vlan id 131
# Route ???
- /sbin/ip route add 10.11.16.0/24 via 192.168.11.6
# Route to management network campus
@ -219,8 +228,8 @@ network_interfaces:
- /sbin/ip route add 192.168.73.0/24 via 192.168.11.72
- device: bond1.121
headline: bond1.121 - VLAN 121 on interface bond1 for Ubiquiti UniFi Accesspoints Guest NET
- device: sfp0.121
headline: sfp0.121 - VLAN 121 on interface sfp0 for Ubiquiti UniFi Accesspoints Guest NET
auto: true
family: inet
method: static
@ -228,8 +237,8 @@ network_interfaces:
netmask: 20
- device: bond1.131
headline: bond1.131 - VLAN 131 on interface bond1 for Ubiquiti UniFi Accesspoints private NET
- device: sfp0.131
headline: sfp0.131 - VLAN 131 on interface sfp0 for Ubiquiti UniFi Accesspoints private NET
auto: true
family: inet
method: static
@ -237,8 +246,8 @@ network_interfaces:
netmask: 20
- device: bond1:ns
headline: bond1:ns - Alias IP on bond1 device for Nameservice
- device: sfp0:ns
headline: sfp0:ns - Alias IP on sfp0 device for Nameservice
auto: true
family: inet
method: static
@ -246,8 +255,8 @@ network_interfaces:
netmask: 32
- device: bond1:1
headline: bond1:1 - Alias IP on bond1 device for (depricated) Management Network
- device: sfp0:1
headline: sfp0:1 - Alias IP on sfp0 device for (depricated) Management Network
auto: true
family: inet
method: static
@ -255,8 +264,8 @@ network_interfaces:
netmask: 24
- device: bond1:ap
headline: bond1:ap - Alias IP on bond1 device for Network Accesspoints
- device: sfp0:ap
headline: sfp0:ap - Alias IP on sfp0 device for Network Accesspoints
auto: true
family: inet
method: static
@ -282,8 +291,8 @@ network_interfaces:
- /sbin/ip route add 10.113.15.0/24 via 10.112.1.15
- device: bond1:ipmi
headline: bond1:ipmi - Alias IP on bond1 for IPMI Addresses Servr Stockhausen
- device: sfp0:ipmi
headline: sfp0:ipmi - Alias IP on sfp0 for IPMI Addresses Servr Stockhausen
auto: true
family: inet
method: static