It is currently Sun Apr 21, 2019 6:19 pm


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Simulate link failure
PostPosted: Sun Jun 02, 2013 12:18 am 
Offline

Joined: Sun Jun 02, 2013 12:13 am
Posts: 1
It would be nice to click on link in a project and have the option of either failing the link or shutting it down to test redundancy.




Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Sun Jun 02, 2013 4:34 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
This is in our plans. It shouldn't be complicated to do but you will have to be patient.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Tue Jun 04, 2013 4:21 pm 
Offline

Joined: Thu Apr 19, 2012 11:23 am
Posts: 31
Possibility to set bandwidth, add packet-loss and latency would be really useful as well.


Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Tue Jun 04, 2013 6:22 pm 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
robeen wrote:
Possibility to set bandwidth, add packet-loss and latency would be really useful as well.

Packet loss can be simulated using the 'filter' command in the console window.
Code:
=> filter ?
filter device interface filter_name direction [options]
   applies a connection filter
   Examples:
   filter R1 s1/0 freq_drop in 50   -- Drops 1 out of every 50 packets inbound to R1 s1/0
   filter R1 s1/0 none in           -- Removes all inbound filters from R1 s1/0
   filter R1 s1/0 monitor both eth2           -- Span all traffic on s1/0 to eth2
=>

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Fri Jun 14, 2013 1:14 pm 
Offline

Joined: Thu Apr 19, 2012 11:23 am
Posts: 31
Quote:
Packet loss can be simulated using the 'filter' command in the console window.


Cool, thanks!


Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Tue Dec 24, 2013 6:50 pm 
Offline

Joined: Tue Dec 24, 2013 6:44 pm
Posts: 1
As I think I am not the only one wanting this, has the ability to emulate (remote) link down been implemented?

For example, I am currently playing with static routes and I need to simulate broken cables or dead nodes on other ends. Currently, the only way (I know) to see this is to do a local 'shutdown'. Deleting links, stopping routers or removing switches has no effect and the link is still up on the router.

thanks


Top
 Profile  
 
 Post subject: Re: Simulate link failure
PostPosted: Sat Dec 28, 2013 10:08 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
This excerpt from the GNS3 Network Simulation Guide may help:

Quote:
On a normal physical network, the state of a point-to-point Ethernet interface is dependent on the state of the other end. If one end is shut down or unplugged, the other end is also in a down state. This has implications for routing fail-over scenarios as well as other protocol-timeouts.

In GNS3/Dynamips, if one end of a point-to-point Ethernet link is shut down, it has no effect on the other end. Your topology will be dependent on protocol timeouts or you will need to configure SLAs to trigger fail-over scenarios.

In fact, even if no cable is attached to an Ethernet interface, it will remain in an up state from the moment the no shutdown command is issued.
This means that if you want to test fail-over scenarios on GNS3 in the same way you would in a lab, by shutting down an interface or by removing the cable, you are out of luck. This method won't work in GNS3.

If you want to simulate a true point-to-point routing simulation, then use serial interfaces to make these connections. In the case of serial interfaces, if one is shut down, then other end goes down too.


Note however, that in real-life, shutting down an interface will not necessarily make the other end go down either - in cases for example where there is a switch (that you mightn't even know about) between the two Ethernet interfaces, or a radio link between the interfaces.

Disclaimer: I am the author of the GNS3 Network Simulation Guide



_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO