Teams/Ab18it08/Netzwerkdokumentation: Unterschied zwischen den Versionen

Aus Foxwiki
Ufukmeral (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Ufukmeral (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 42: Zeile 42:
'''Router 02'''
'''Router 02'''


allow-hotplug enp0s6
allow-hotplug enp0s6<br>
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
iface enp0s6 inet static<br>
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


address 10.0.0.2<br>


#config 10.10.0.0 weiter ins 10.10.10.0
netmask 255.0.0.0<br>
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


gateway 10.0.0.1<br>
#config 10.30.0.0 weiter ins 10.30.30.0<br>
allow-hotplug enp1s6<br>
iface enp1s6 inet static<br>
address 10.30.0.1<br>
netmask 255.255.0.0<br>
post-up route add -net 10.30.30.0 netmask 255.255.255.0 gw 10.30.0.2<br>
#config 10.10.0.0 weiter ins 10.10.10.0<br>
allow-hotplug enp1s8<br>
iface enp1s8 inet static<br>
address 10.10.0.1<br>
netmask 255.255.0.0<br>
post-up route add -net 10.10.10.0 netmask 255.255.255.0 gw 10.10.0.2<br>
#config 10.20.0.0 weiter ins 10.20.20.0<br>
allow-hotplug enp1s9<br>
iface enp1s9 inet static<br>
address 10.20.0.1<br>
netmask 255.255.0.0<br>


#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





Version vom 18. September 2019, 08:15 Uhr


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


  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


  1. 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


  1. 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