Wednesday, November 17, 2010

distributed emulation with Linux netns

Starting with SVN r133 you can use distributed emulation on Linux for wired networks. For wireless networks (WLANs) you should still use EMANE. GRE tunnels are automatically built between emulation servers.

The Emulation Servers dialog is shown below. This hasn't changed. Be sure to set listenaddr = 0.0.0.0 in your /etc/core/core.conf before starting cored.py (the default listen address is localhost.)

One of the easiest ways to assign nodes to servers is to select a group of nodes and right-click on them, then choose Assign to...
Nodes belonging to different servers need a tunnel between servers to forward data. This is indicated in the GUI with a dashed link line.
The above screenshot shows a gt.42243.61 device added to one of the Linux bridges. This is the GRE tunneling device automatically generated on one of the servers. The gretap device type is used, a gre having a MAC address, so that it may join an Ethernet bridge.

2 comments:

  1. Hello,

    Could you say me what operating system you use to make the distributed emulation?

    ReplyDelete
  2. This post is about Linux network namespaces, available in recent Linux kernels (2.6.27+), with distros such as Ubuntu 10.04, 10.10, Fedora 13, 14.

    Distributed emulation also works on FreeBSD but in a different way.

    ReplyDelete