Teams/Ab18it08/Netzwerkdokumentation
Router 0230
allow-hotplug enp2s0
iface enp2s0 inet static
address 10.20.0.2
netmask 255.255.0.0
gateway 10.20.0.1
allow-hotplug enp5s0
iface enp5s0 inet static
address 10.20.20.1
netmask 255.255.255.0
gateway 10.20.20.1
Router 0220
auto lo
iface lo inet loopback
allow-hotplug enp2s0
iface enp2s0 inet static
address 10.30.0.2
netmask 255.255.0.0
gateway 10.30.0.1
allow-hotplug enp5s1
iface enp5s1 inet static
address 10.30.30.1
netmask 255.255.255.0
gateway 10.30.30.1
Router 0210
Router 02
allow-hotplug enp0s6 iface enp0s6 inet static address 10.0.0.2 netmask 255.0.0.0 gateway 10.0.0.1
- config 10.30.0.0 weiter ins 10.30.30.0
allow-hotplug enp1s6 iface enp1s6 inet static address 10.30.0.1 netmask 255.255.0.0 post-up route add -net 10.30.30.0 netmask 255.255.255.0 gw 10.30.0.2
- config 10.10.0.0 weiter ins 10.10.10.0
allow-hotplug enp1s8 iface enp1s8 inet static address 10.10.0.1 netmask 255.255.0.0 post-up route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.0.2
- config 10.20.0.0 weiter ins 10.20.20.0
allow-hotplug enp1s9 iface enp1s9 inet static address 10.20.0.1 netmask 255.255.0.0
OPNsense
ipv4 10.0.0.0/8 link#1 ipv4 10.0.0.1 link#1 ipv4 10.10.0.0/16 10.0.0.2 ipv4 10.10.10.0/24 10.0.0.2 ipv4 10.20.0.0/16 10.0.0.2 ipv4 10.20.20.0/24 10.0.0.2 ipv4 10.30.0.0/16 10.0.0.2 ipv4 10.30.30.0/24 10.0.0.2