Рет қаралды 36
Routing with Alpine Linux. Scheme with 4 nets, 4 PCs and 3 routers.
4 nets, 3 routers and 4 PCs.
net1: 50.0.0.0 /16
net2: 100.0.0.0 /16
net3: 150.0.0.0 /16
net4: 200.0.0.0 /16
pc1: IP eth0 50.0.0.2 /16 net1
pc2: IP eth0 50.0.0.3 /16 net1
router1: IP eth0 50.0.0.1 /16 net1
IP eth1 100.0.0.1 /16 net2
to 200.0.0.0/16 via 100.0.0.2
router2: IP eth0 100.0.0.2 /16 net2
to 50.0.0.0/16 via 100.0.0.1
IP eth1 150.0.0.1 /16 net3
to 200.0.0.0/16 via 150.0.0.2
router3: IP eth0 150.0.0.2 /16 net3
to 50.0.0.0/16 via 150.0.0.1
IP eth1 200.0.0.1 /16 net4
pc3: IP eth0 200.0.0.2 /16 net4
pc4: IP eth0 200.0.0.3 /16 net4