fixed errors in routing

master
Frederik Maaßen 2 years ago
parent 4ba368ae79
commit 78e07c5c84
  1. 1
      implementation/topologies/6r4h_topo.py
  2. 4
      implementation/topologies/8r4h_topo.py

@ -80,6 +80,7 @@ class SixRoutersFourHosts(CustomTopo):
("10.4.0.0/24", "10.112.0.11", "r2-eth1", 10),
("10.5.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.6.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.6.0.0/24", "10.112.0.11", "r2-eth1", 20),
("10.136.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.145.0.0/24", "10.123.0.31", "r2-eth2", 10),

@ -103,6 +103,7 @@ class EightRoutersFourHosts(CustomTopo):
("10.4.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.7.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.8.0.0/24", "10.123.0.31", "r2-eth2", 10),
("10.8.0.0/24", "10.112.0.11", "r2-eth1", 20),
("10.115.0.0/24", "10.112.0.11", "r2-eth1", 10),
("10.134.0.0/24", "10.123.0.31", "r2-eth2", 10),
@ -127,6 +128,7 @@ class EightRoutersFourHosts(CustomTopo):
("10.4.0.0/24", "10.134.0.41", "r3-eth2", 10),
("10.7.0.0/24", "10.134.0.41", "r3-eth2", 10),
("10.8.0.0/24", "10.134.0.41", "r3-eth2", 10),
("10.8.0.0/24", "10.123.0.22", "r3-eth1", 20),
("10.115.0.0/24", "10.123.0.22", "r3-eth1", 10),
("10.112.0.0/24", "10.123.0.22", "r3-eth1", 10),
@ -137,7 +139,7 @@ class EightRoutersFourHosts(CustomTopo):
("10.178.0.0/24", "10.134.0.41", "r3-eth2", 10),
],
"incoming_eth2": [
("10.8.0.0/24", "10.123.0.22", "r3-eth1", 10) # frr route
("10.8.0.0/24", "10.123.0.22", "r3-eth1", 10) # frr route
]
},
"r4": {