dynamips and local connectivity / bridging with linux

Hi, i had really a hard time to get this working. I tried to make the local PC interface reachable by the dynamips router and could not succeed. But i gladly found a solution, that works. Someone on http://hacki.at/7200emu figured it out.


Content of the post (order of these steps seem to be important!!!)

1.Download bridge-utils – If you have Ubuntu or Debian simply do apt-get install bridge-utils
Or download from here http://linux-net.osdl.org/index.php/Bridge
2.Remove ip address on eth0 – ifconfig eth0
shutdown eth0 – ifconfig eth0 down
3.Create bridge – brctl addbr br0
assign ip address to bridge – ifconfig br0 netmask
4.Bridging tap0 in Dynampis config.net
e0/0 = NIO_tap:tap0
5.Start Dynamips/vpod

6.Bridging eth0 and tap0 to br0
brctl addif br0 eth0
brctl addif br0 tap0
7.Bringing all interfaces up
ifconfig br0 up
ifconfig eth0 up
ifconfig tap0 up
8.Logging on to the router with the bridged interface and assigning ip address in the same network/subnet as br0


Look at this. is a local vmnet (vmware) interface.


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/34/60 ms

Now i can also use all kinds of software on my local pc to test with dynamips. That’s really great. For example you can use a local syslog server or a radius server for authentication. I will try to configure a local freeradius server with dynamips.



Leave a Reply