It is currently Wed Sep 30, 2020 10:42 am


All times are UTC




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Sep 24, 2012 11:21 am 
Offline

Joined: Fri Sep 21, 2012 8:53 am
Posts: 3
Hi,
I have got two problems with Ethernet switches coming with GNS3.
I'm running two Cisco c3600 routers, qemu VMs and Ethernet switches
The topology looks like this (.net in attachments):
Attachment:
topology.PNG
topology.PNG [ 47.25 KiB | Viewed 5789 times ]

When I run for example vr1 and proxy_firewall with a switch in between they can't ping each other. If I replace the switch with a FastEthernet Cable, it works flawlessly.
Second, when I try to edit a switch (making a connection, deleting the switch) GNS3 freezes and after some seconds an message box comes up saying the connection to Dynamips is lost. After that I have to restart GNS3 to make it work again.
Unfortunately the log /tmp/dynamips_log.txt and the GNS3 console output stays empty. Are there any other logs which might be useful in this case?
I think both problems mix together somehow, maybe a Dynamips problem? What I tried so far:
- reverted GNS3 and Dynamips to the version which comes with Ubuntu (0.7.4)
- tried the previous release of Dynamips (RC2)
- complete reinstall with reset of the preferences (rm -r ~/.gns3)
But with no luck...

Versions:
Dynamips 0.2.8-RC3-community binary for Linux (64-bit)), GNS3 0.8.3, qemu 1.1.1 (patched with this file: http://redmine.gns3.net/attachments/dow ... .1.0.patch) - everything running under Ubuntu 12.04




Attachments:
VISA2.net [6.66 KiB]
Downloaded 171 times
Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Sep 24, 2012 4:20 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

Don't know if it will help but can you try to deactivate sparse memory support? (Preferences -> Dynamips).

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Sep 24, 2012 4:47 pm 
Offline

Joined: Fri Sep 21, 2012 8:53 am
Posts: 3
Hmmm, unfortunately it didn't make any difference. Is there a debug mode where one might see what is wrong?


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Sep 24, 2012 5:28 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

There is a debug mode (if you type debug command in the integrated console) but this is for GNS3. The switch problem is with Dynamips :( I don't understand why people say there is an issue as this switch as always been there since Dynamips/GNS3 started and nobody complained before.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Tue Sep 25, 2012 9:28 am 
Offline

Joined: Fri Sep 21, 2012 8:53 am
Posts: 3
Hmmm, ok - that way I got some more infos, not sure if it helps. After the crash I got this output from GNS3:
Attachment:
console.PNG
console.PNG [ 43.71 KiB | Viewed 5755 times ]
Attachment:
console1.PNG
console1.PNG [ 31.44 KiB | Viewed 5755 times ]

I noticed, that the Dynamips crash happens, when I run a qemu host before editing a switch or when I try to start a Cisco router.
Then I could get this log before Dynamip died:
http://johnassel.de/nopaste/index.php?id=e21594f78f


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Nov 26, 2012 11:41 am 
Offline

Joined: Fri May 04, 2012 11:37 am
Posts: 57
Location: Point Cook, Australia
I have just finished experimenting with ethernet switches in GNS3 due to similar issues as OP was having.

My conclusion is that when Ethernet Switches are the last bits to be placed in the topology, everything works as intended. If you happen to add other devices later on and start to experience crashes again (like I did), the only solution for me was as follows:
1. close GNS3 (and after ensuring that there are no remnant ghosts left behind - i.e. by making sure that any leftover dynamips, qemu, and/or virtualbox processes are killed off)
2. start GNS3
3. remove all switches from topology, then save project
4. close GNS3
5. start GNS3
6. add the switches back and rewire, save topology
7. start devices

If I did not follow these steps, it's as though Dynamips was watching the topology file and if the switch connections were same as last time there was a crash, the crash would happen again and again ....

If you have plenty of RAM in your system, it is preferable to use EtherSwitch Router instead!

Cheers,
ak.


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Mon Nov 26, 2012 10:24 pm 
Offline

Joined: Fri May 04, 2012 11:37 am
Posts: 57
Location: Point Cook, Australia
OK.

Upon further troubleshooting (and lots of diffing), I noticed something rather peculiar:
- Whenever I cannot ping from my cloud based devices, the connections from these devices to the switches have this:
connections = SW1:1:NIO_udp:30000:127.0.0.1:20000

- After I've followed the steps above, and the topology is working again, I have this:
connections = SW1:1:nio_udp:30000:127.0.0.1:20000

NOTE: Please note the change in case!

Is Dynamips case sensitive? And if it is, when do these connections go from lowercase (working setup) to uppercase (non-working setup)?

Cheers,
ak.


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Tue Nov 27, 2012 2:32 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

Quote:
Is Dynamips case sensitive? And if it is, when do these connections go from lowercase (working setup) to uppercase (non-working setup)?


Dynamips isn't case sensitive however this could be a result of the bug.

I'll investigate according to your findings.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Tue Nov 27, 2012 7:12 am 
Offline

Joined: Fri May 04, 2012 11:37 am
Posts: 57
Location: Point Cook, Australia
grossmj wrote:
I'll investigate according to your findings.


Jeremy,

To help with your troubleshooting, here are 3 (2 in this post and 1 next post down) topology files.

With the one named topology-BAD.txt, I could not ping from the two cloud devices (HQ1 and Banch1) to the respective Linux firewall VMs (HQ and Branch1).

Changing from NIO to nio (uppercase to lowercase), topology-BAD-case-change.txt, did not change the outcome - no pings past ethernet switches!

After following the steps as indicated in above post, the result is topology-GOOD.txt (see next post down), which works as intended!


Cheers,
ak.

EDIT: Edited to indicate that even the one "previously" labelled as topology-GOOD.txt (now labelled topology-BAD-case-change.txt) doesn't result in successful pings as previously attested!!


Attachments:
File comment: Two cloud devices still CANNOT ping past their respective ethernet switch after editing topology file to change NIO to nio
topology-BAD-case-change.txt [2.15 KiB]
Downloaded 176 times
File comment: The topology diagram...
test-topology.png
test-topology.png [ 26.64 KiB | Viewed 5523 times ]
File comment: Two cloud devices CANNOT ping past their respective ethernet switch
topology-BAD.txt [2.15 KiB]
Downloaded 186 times


Last edited by ak2766 on Wed Nov 28, 2012 3:28 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Several issuss with GNS3 Ethernet switches.
PostPosted: Tue Nov 27, 2012 10:42 pm 
Offline

Joined: Fri May 04, 2012 11:37 am
Posts: 57
Location: Point Cook, Australia
Oops!

Included the wrong GOOD topology.net file above. Please use the one attached here instead. The one above was my attempt at simply changing the case from NIO to nio which didn't help resolve the issue.

My apologies.

Cheers,
ak.




Attachments:
File comment: Two cloud devices CAN ping past their respective ethernet switch
topology-GOOD.txt [1.93 KiB]
Downloaded 201 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO