Dynamips & Multiple NM-16ESWs

I’ve been playing with Dynamips/GNS3 quite a bit lately. My current topology has 16 routers, some serving as Frame Relay routers, other as SP backbone routers, and others as switches via the NM-16ESW module. I found it easier to logically separate the connections to routers from the connections to other switches by using two EtherSwitch modules. I used the first one (Fa1/0 – 15) to connect to routers, and the second one (Fa2/0 – 15) to connect to the other switches. For some reason, I could never get the switches to talk to each other.

Here’s my test case, assuming Switch1 and Switch2 are connected to each other using Fa2/15 on both ends. (The same config was used on each side).

Once spanning tree (802.1d) has taken its sweet time to come up…

I tried to ping the other side, but got no response. Debugging showed me that the other side wasn’t even replying to ARP requests. The ‘encapsulation failed’ means the router has no entry in its adjacency table for the specified IP address.

After much googling, it seems that Dynamips has a problem with more than one NM-16ESW module in a router. I modified my .net file so that all connections were on a single NM-16ESW module. I could then ping other devices right away. My adjacency table looked much better the second time around:

Tagged with:

One comment

Leave a Reply