Error creating interface pair (s1-eth1,h1-eth0) in mininet
See original GitHub issueI have created a custom topology as following and run it using mininet and connect to POX remote controller.
class CustomTopo (Topo):
def build(self):
S1 = self.addSwitch('s1')
H1 = self.addHost('h1')
H2 = self.addHost('h2')
self.addLink(S1, H1)
self.addLink(S1, H2)
topo = CustomTopo()
net = Mininet(topo)
net.start()
topos = {'mytopo': CustomTopo}
It worked correctly first time, but after that I received following error in POX controller when it tried to add links:
Caught exception. Cleaning up… Exception: Error creating interface pair (s1-eth1,h1-eth0): RTNETLINK answers: File exists
What can I do to solve it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Exception Error in mininet - python - Stack Overflow
@Daniel I found out that my topology create each host twice, so it can not add link between s1 and h1 for the...
Read more >[mininet-discuss] Error creating interface pair
[mininet-discuss] Error creating interface pair ... Because I just checked it with sudo mn in mininet folder it works well Regards Uzma ...
Read more >Error creating interface pair (s1-eth1,h1-eth0): RTNETLINK ...
Exception: Error creating interface pair (s1-eth1,h1-eth0): RTNETLINK answers: File exists solution ... and then run the script. Bunu paylaş:.
Read more >Error creating interface pair (s2-eth5,s3-eth1): RTNETLINK ...
... when you try to rerun your mininet network. Traceback (most recent call last): File "./mynet.py", line 31, in <module> net.
Read more >30 Mininet - An Introduction to Computer Networks
Mininet containers then are assigned virtual Ethernet interfaces (see the ... this we create addrdict , a dictionary mapping (router,interface) pairs to the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
try running “sudo mn -c”
and then run the script.
On Mon, May 28, 2018 at 9:23 PM, Babak Memar notifications@github.com wrote:
I already try it but it does not solve the problem. @Hrish1