51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
|
|
||
|
# Aufgabe 2a
|
||
|
|
||
|
ip route
|
||
|
|
||
|
# Aufgabe 2b
|
||
|
|
||
|
## Server A (ROUTER)
|
||
|
|
||
|
Zielnetz Interface Gateway
|
||
|
10.0.1.0/24 eth0 -
|
||
|
172.16.0.0/24 eth0 10.0.1.4
|
||
|
172.16.2.0/24 eth0 10.0.1.4
|
||
|
192.168.178/24 eth0 10.0.1.4
|
||
|
77.48.44.198/32 pppoe1 -
|
||
|
0.0.0.0/0 pppeo1 77.48.44.198
|
||
|
|
||
|
## Server B
|
||
|
|
||
|
Zielnetz Interface Gateway
|
||
|
10.0.1.0/24 eth0
|
||
|
172.16.0.0/24 eth1
|
||
|
172.16.2.0/24 eth1 172.16.0.254
|
||
|
192.168.178.0/24 eth1 172.16.0.254
|
||
|
10.0.1.1/32 eth0 -
|
||
|
0.0.0.0/0 eth0 10.0.1.1
|
||
|
|
||
|
## PC A
|
||
|
|
||
|
Zielnetz Interface Gateway
|
||
|
172.16.0.0/24 enp3s11
|
||
|
172.16.2.0/24 enp4s1
|
||
|
192.168.178.0/24 enp4s1 172.16.2.10
|
||
|
172.16.0.100/32 enp3s11 -
|
||
|
0.0.0.0/0 enp3s11 172.16.0.100
|
||
|
|
||
|
## PC B
|
||
|
|
||
|
Zielnetz Interface Gateway
|
||
|
172.16.2.0/24 ens11
|
||
|
192.168.178.0/24 ens8
|
||
|
172.16.2.254/32 ens11 -
|
||
|
0.0.0.0/0 ens11 172.16.2.254
|
||
|
|
||
|
## PC C
|
||
|
|
||
|
Zielnetz Interface Gateway
|
||
|
192.168.178.0/24 ens3
|
||
|
192.168.178.1/32 ens3 -
|
||
|
0.0.0.0/0 ens3 192.168.178.1
|