mirror of
https://github.com/Wojtek242/route0.git
synced 2024-11-22 07:05:25 +01:00
Do not delete 127.0.0.1 from lo
This commit is contained in:
parent
b6f9e22015
commit
9c1b34e9b2
@ -69,10 +69,6 @@ def run(experiment):
|
|||||||
node.cmd("sysctl -w net.ipv4.ip_forward=1")
|
node.cmd("sysctl -w net.ipv4.ip_forward=1")
|
||||||
node.waitOutput()
|
node.waitOutput()
|
||||||
|
|
||||||
# Delete spare loopback address for convenience
|
|
||||||
node.cmd("ip addr del 127.0.0.1/8 dev lo")
|
|
||||||
node.waitOutput()
|
|
||||||
|
|
||||||
CLI(net)
|
CLI(net)
|
||||||
net.stop()
|
net.stop()
|
||||||
os.system("killall -9 {}".format(' '.join(experiment.daemons)))
|
os.system("killall -9 {}".format(' '.join(experiment.daemons)))
|
||||||
|
Loading…
Reference in New Issue
Block a user