[c-nsp] hsrp and igp

Pavel Gulchouck gul at gul.kiev.ua
Mon Nov 12 04:58:22 EST 2007


Hi

How can I configure HSRP with two routers and track condition
if I want that IGP (OSPF) always route to active (not standby)
gateway?
And another issue: can I configure HSRP in which standby router
routes local segment via active router but not directly?

I've try following confguration for local segment 10.0.0.0/24
and virtual gateway 10.0.0.1.
First router:

interface gi0/1.100
  ip address 10.250.0.2 255.255.255.0
  no ip proxy-arp
  standby ip 10.250.0.1
  standby ip 10.0.0.1 secondary
  standby priority 15
  standby preempt
  standby track 1
ip route 10.0.0.0 255.255.255.0 Gi0/1.100 track 1
router ospf 100
  redistribute static subnets metric 20

Second router:

interface gi0/1.100
  ip address 10.250.0.3 255.255.255.0
  no ip proxy-arp
  standby ip 10.250.0.1
  standby ip 10.0.0.1 secondary
  standby priority 10
  standby preempt
ip route 10.0.0.0 255.255.255.0 Gi0/1.100 111
router ospf 100
  redistribute static subnets metric 30

In this case almost all works good (even for /30 clients networks)
except of arp. :-( Not all devices replies for request
"arp who-has 10.0.0.5 tell 10.250.0.2" because of 10.250.0.2 is
not at local segment for this device.

Any solution?
Or any another ideas how can I configure ospf redistribution depends
of hsrp state or of track condition?

Thanks.

-- 
Pavel


More information about the cisco-nsp mailing list