GNS3
http://forum.gns3.net/

GNS3 HSRP and timers not working
http://forum.gns3.net/topic8538.html
Page 1 of 1

Author:  frigomiam [ Thu Feb 20, 2014 3:39 pm ]
Post subject:  GNS3 HSRP and timers not working

Hi,
I've got a simple lab, 2 routers C3640 setup with hsrp on which I test hsrp failover time.
Failover works ok except I can't control the timers.

For example, I have set on both routers
Hello time 1 sec, hold time 10 sec

I test the failover by shutting down the interface f0/0 set for hsrp, not the the track interface.
so timers should count.

I check the failover time with the ping from 1 host, and the hsrp state on both routers,

example :
hold time 10 seconds => it takes 20 seconds..
hold time 40 seconds => it takes 3 seconds..
hold time 7 seconds => failover is instant..

on some occasion it worked, but most of the time, the hold timer is not working..

it's like this function is not working.
Am I missing something, or is it a bug ?

cheers

Attachments:
File comment: gns3 lab
I disabled ospf
I test hsrp between new jersey and la

GNS3_HSRP.zip [5.74 KiB]
Downloaded 415 times

Author:  ak2766 [ Mon Jun 09, 2014 10:21 pm ]
Post subject:  Re: GNS3 HSRP and timers not working

Kinda late to the party, but for the sake of others, I have an odd feeling it may be related to the idlemax max value. If I change this on my system, Router functions dependent on time behave oddly. If you haven't changed this value from its default of 1500, then could be the Router model you are using. Did you ever try with a different Router model?

The idlemax max value can be change from the dynamips console:
Code:
=> help idlepc
idlepc {get|set|show|save|idlemax|idlesleep|showdrift} device [value]
idlepc save device [default]

get, set, or show the online idlepc value(s)
Examples:
  idlepc get r1             -- Get a list of the possible idlepc value(s) for
                                router r1
  idlepc show r1            -- Show the previously determined idlepc values for
                               router r1
  idlepc set r1 0x12345     -- Manually set r1's idlepc to 0x12345
  idlepc save r1            -- Save r1's current idlepc value to the "router r1"
                               section of your network file
  idlepc save r1 default    -- Save r1's current idlepc value to the device
                               defaults section of your network file
                               (i.e. [[7200]])
  idlepc save r1 db         -- Save r1's current idlepc value to the idlepc
                               database
  idlepc idlemax r1 1500    -- Commands for advanced manipulation of idlepc
  idlepc idlesleep r1 30       settings
  idlepc showdrift r1


The line of interest is:
Code:
  idlepc idlemax r1 1500    -- Commands for advanced manipulation of idlepc



Cheers,
ak.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/