Live data from Hacker News

Mininet: Emulating a network on your laptop

mininet.github.com

1–10 of 33 posts

Re: Mininet: Emulating a network on your laptop

#3
post #2

how does this work under the hood? in particular, how are the hosts emulated? by separate processes?

Yes. Virtual hosts are in isolated containers with their own pid and network namespace. So each host can have its own routing table, IP address, etc. without interfering with one another.

Re: Mininet: Emulating a network on your laptop

#5
Very very interesting. I had somehow not heard about OpenFlow before, which looks very promising (software + hardware based implementations), and network simulation is the easiest way to learn about all the tech. How does Mininet compare to GNS3?

Also, could you run virtualization software like Dynamips inside Mininet?

Re: Mininet: Emulating a network on your laptop

#8

Very very interesting. I had somehow not heard about OpenFlow before, which looks very promising (software + hardware based implementations), and network simulation is the easiest way to learn about all the tech. How does Mininet compare to GNS3? Also, could you run virtualization software like Dynamips inside Mininet?

I have not tried Dynamips so I cannot comment much. But Mininet uses features in Linux: veth pairs, bridge, OpenVSwitch, etc. to glue together a network. If Dynamips works with the above components, it's highly likely to work with Mininet as well.

Re: Mininet: Emulating a network on your laptop

#10
post #6

It seems to be a good tool for teaching networking. Back in school we used to do that with VDN (which is still maintained http://opale.u-clermont1.fr/vdn/wiki/doku.php ).

Yes, Mininet is used for networking courses in Stanford/Princeton. There are a number of programming assignments readily available for Mininet: https://github.com/mininet/mininet/wiki/Assignments
Post reply on HN