Teams/Ab18it08/Netzwerkdokumentation: Unterschied zwischen den Versionen

Aus Foxwiki
Ufukmeral (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Ufukmeral (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
'''OPNsense'''


ipv4 10.0.0.0/8 link#1 <br>
ipv4 10.0.0.1 link#1 <br>


'''Router 0230'''
ipv4 10.10.0.0/16 10.0.0.2 <br>
 
allow-hotplug enp2s0<br>
iface enp2s0 inet static<br>
address 10.20.0.2<br>
netmask 255.255.0.0<br>
gateway 10.20.0.1<br>
 
allow-hotplug enp5s0<br>
iface enp5s0 inet static<br>
address 10.20.20.1<br>
netmask 255.255.255.0<br>
gateway 10.20.20.1<br>
 
'''Router 0220'''
 
auto lo<br>
iface lo inet loopback<br>
allow-hotplug enp2s0<br>
iface enp2s0 inet static<br>
address 10.30.0.2<br>
netmask 255.255.0.0<br>
gateway 10.30.0.1<br>
 
allow-hotplug enp5s1<br>
iface enp5s1 inet static<br>
address 10.30.30.1<br>
netmask 255.255.255.0<br>
gateway 10.30.30.1<br>
 
'''Router 0210'''


ipv4 10.10.10.0/24 10.0.0.2 <br>


ipv4 10.20.0.0/16 10.0.0.2 <br>


ipv4 10.20.20.0/24 10.0.0.2 <br>


ipv4 10.30.0.0/16 10.0.0.2 <br>


ipv4 10.30.30.0/24 10.0.0.2<br>




Zeile 93: Zeile 72:




'''OPNsense'''
'''Router 0230'''


ipv4 10.0.0.0/8 link#1 <br>
Schnitstelle enp2s0 ist verbunden über das netz <br>
iface enp2s0 inet static<br>
ipv4 10.0.0.1 link#1 <br>
address 10.20.0.2<br>
netmask 255.255.0.0<br>
gateway 10.20.0.1<br>


ipv4 10.10.0.0/16 10.0.0.2 <br>
allow-hotplug enp5s0<br>
iface enp5s0 inet static<br>
address 10.20.20.1<br>
netmask 255.255.255.0<br>
gateway 10.20.20.1<br>


ipv4 10.10.10.0/24 10.0.0.2 <br>
'''Router 0220'''


ipv4 10.20.0.0/16 10.0.0.2 <br>
auto lo<br>
iface lo inet loopback<br>
allow-hotplug enp2s0<br>
iface enp2s0 inet static<br>
address 10.30.0.2<br>
netmask 255.255.0.0<br>
gateway 10.30.0.1<br>


ipv4 10.20.20.0/24 10.0.0.2 <br>
allow-hotplug enp5s1<br>
iface enp5s1 inet static<br>
address 10.30.30.1<br>
netmask 255.255.255.0<br>
gateway 10.30.30.1<br>


ipv4 10.30.0.0/16 10.0.0.2 <br>
'''Router 0210'''
 
ipv4 10.30.30.0/24 10.0.0.2<br>

Version vom 18. September 2019, 08:41 Uhr

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


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


Router 0230

Schnitstelle enp2s0 ist verbunden über das netz
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