From 337b9db184432b73e937bffa0695b41e67768640 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Thu, 5 May 2016 10:40:28 +0200 Subject: [PATCH] mpExperience/mpMininetBuilder: finally ARP works! Seems a bug is somewhere in minitopo, fixed it by reconfiguring the network while preparing the experience --- src/mpExperience.py | 1 + src/mpMininetBuilder.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpExperience.py b/src/mpExperience.py index 69dd2ca..00bed30 100644 --- a/src/mpExperience.py +++ b/src/mpExperience.py @@ -29,6 +29,7 @@ class MpExperience: def prepare(self): self.setupSysctl() self.runUserspacePM() + self.mpConfig.configureNetwork() self.runTcpDump() self.runNetemAt() pass diff --git a/src/mpMininetBuilder.py b/src/mpMininetBuilder.py index 4b3f6f3..f0a9c2f 100644 --- a/src/mpMininetBuilder.py +++ b/src/mpMininetBuilder.py @@ -20,8 +20,7 @@ class MpMininetBuilder(Topo): return stdout def startNetwork(self): - self.net = Mininet(topo=self,link=TCLink,autoStaticArp=True,autoSetMacs=True) - self.net.staticArp() + self.net = Mininet(topo=self,link=TCLink) self.net.start() def getCLI(self):