Have a look here:

http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/cs009.htm

The following is the configuration for Router A:

hostname RouterA
!
interface ethernet 0
ip address 1.0.0.1 255.0.0.0
standby 1 ip 1.0.0.3
standby 1 preempt
standby 1 priority 110
standby 1 authentication denmark
standby 1 timers 5 15
!
interface ethernet 1
ip address 3.0.0.1 255.0.0.0
!
router eigrp 1
network 1.0.0.0
network 3.0.0.0

The following is the configuration for Router B:

hostname RouterB
!
interface ethernet 0
ip address 1.0.0.2 255.0.0.0
standby 1 ip 1.0.0.3
standby 1 preempt
standby 1 authentication denmark
standby 1 timers 5 15
!
interface ethernet 1
ip address 2.0.0.2 255.0.0.0
!
router eigrp 1
network 1.0.0.0
network 2.0.0.0

The standby ip interface configuration command enables HSRP and establishes
1.0.0.3 as the IP address of the virtual router. The configurations of both
routers include this command so that both routers share the same virtual IP
address. The 1 establishes Hot Standby group 1. (If you do not specify a
group number, the default is group 0.) The configuration for at least one of
the routers in the Hot Standby group must specify the IP address of the
virtual router; specifying the IP address of the virtual router is optional
for other routers in the same Hot Standby group.

*************

unfortunately it doesn't come out and say it but the virtual IP address
needs to be in the same subnet.

Looking at the above config there is a hint - notice that the line:

standby 1 ip 1.0.0.3

Doesn't have a subnet-mask??

Now for fun, try to configure:

standby 1 ip 1.0.0.3 255.0.0.0

it won't be accepted.  (if 1.0.0.3 is available in the first place)

So....... if you can't specify a subnet-mask that means you're local bound.


Kevin Wigle

----- Original Message -----
From: "Stephen Bird" 
To: 
Sent: Monday, 14 May, 2001 00:26
Subject: HSRP addressing [7:4354]


> I have a 'lack of IP address' available.
>
> The real interface address' and the HSRP Virtual address' do they need to
be
> in the same subnet?




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=4358&t=4354
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to