[c-nsp] HSRP Question

Gordon Bezzina gordon.bezzina at bell.net.mt
Tue Sep 26 03:16:46 EDT 2006


Yeap,

Let me be a bit more detailed:

2 routers 1 router A and 1 router B

Cisco Internetwork Operating System Software
IOS (tm) RSP Software (RSP-JK9O3SV-M), Version 12.3(16), RELEASE SOFTWARE
(fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 23-Aug-05 21:15 by ssearch
Image text-base: 0x40010AFC, data-base: 0x42416000

And

Cisco Internetwork Operating System Software
IOS (tm) RSP Software (RSP-IO3SV-M), Version 12.2(16), RELEASE SOFTWARE
(fc3)
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Thu 06-Mar-03 23:12 by pwade
Image text-base: 0x60010948, data-base: 0x61648000


Interfaces Configuration:

interface Ethernet0/0/3.1
 encapsulation dot1Q 101
 ip vrf forwarding B
 ip address 192.168.100.20 255.255.255.248
 standby 1 ip W.X.Y.Z
 standby 1 timers 5 15
 standby 1 priority 200
 standby 1 preempt
!

And

interface Ethernet0/0/3.1
 encapsulation dot1Q 101
 ip vrf forwarding B
 ip address 192.168.100.21 255.255.255.248
 no snmp trap link-status
 standby 1 ip W.X.Y.Z
 standby 1 timers 5 15
 standby 1 priority 110
 standby 1 preempt
!


ip route vrf B W.X.Y.Z0 255.255.255.0 Ethernet0/0/3.1 W.X.Y.Z1

where W.X.Y.Z1 is next hop for the route - this is needed because routes are
embedded within the VRF


finally

on router A:

#sh standby
Ethernet0/0/3.1 - Group 1
  Local state is Active, priority 200, may preempt
  Hellotime 5 sec, holdtime 15 sec
  Next hello sent in 0.974
  Virtual IP address is W.X.Y.Z configured
  Active router is local
  Standby router is 192.168.100.21, priority 110 expires in 10.776
  Virtual mac address is 0000.0c07.ac01
  10 state changes, last state change 22:30:47
  IP redundancy name is "hsrp-Et0/0/3.1-1" (default)

and on router B:

#sh standby
Ethernet0/0/3.1 - Group 1
  State is Standby
    4 state changes, last state change 22:31:05
  Virtual IP address is W.X.Y.Z
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (default)
  Hello time 5 sec, hold time 15 sec
    Next hello sent in 0.736 secs
  Preemption enabled
  Active router is 192.168.100.20, priority 200 (expires in 10.436 sec)
  Standby router is local
  Priority 110 (configured 110)
  IP redundancy name is "hsrp-Et0/0/3.1-1" (default)

Hope it helps.

Rgds
Gordon

Ps. I have tested it and worked flawlessly.

-----Original Message-----
From: Ed Ravin [mailto:eravin at panix.com] 
Sent: 25 September 2006 18:52
To: Gordon Bezzina
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] HSRP Question

On Mon, Sep 25, 2006 at 06:33:02PM +0200, Gordon Bezzina wrote:
> 
> Hi Paul,
> 
> The HSRP ip can be outside the subnet but for this to work you need to
> create a static route to the new subnet.

Have you actually built a working configuration this way?  I've tried
once or twice and was unsuccessful.  The latest releases of IOS issue
warning messages if you attempt to create a standby IP outside of
an interface's subnets.



More information about the cisco-nsp mailing list