Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HSRP 3

Status
Not open for further replies.

Montero84

Technical User
Jul 17, 2008
579
US
Can I use HSRP with virtual interfaces?

Thanks!
 
If by virtual interfaces you mean SVIs (layer 3 interfaces for vlans) then the answer is YES!!!
 
Hello cisconooblet,

Thank you so much for the link... That is exactly what I have configured.. when run the command "show standby" and "show standby brief" everything look as it should. I tested my configuration and if the interface in the active router go down.. the standby router becomes the active router but I am not able to communicate to the server in R1.

My configuration is practicaly the same as in the link.. any idea?..

Thanks again!
 
Make sure all your default gateways in all devices point to the virtual hsrp address and not the regular interface address. If using dhcp then you have to modify that in the scope .
 
Yes, all my devices point to the virtual hsrp address and not to the regular interface address. And yes... I am using a DHCP server.. the server is assigning the virual hsrp address as the default gateway or is there something else I should modify?

Thanks again!
 
I am using a DHCP server.. the server is assigning the virual hsrp address as the default gateway or is there something else I should modify?"

Spantree-portfast?

Burt
 
This is the configuration I have in the switch ports for this links...

Sw1 for Ethernet 10MB Active Router

Interface Fastethernet0/48
Description Main Router link 10MB
switchport mode truk
switchport nonegotiate
spanning-tree link-type point to point
end

Sw2 for T1 Standby Router

Interface FastEthernet0/48
Description T1 Link Redundancy for Router2
switchport mode trunk
switchport nonegotiate
spanning-tree link-type point-to-point
end

As far as I know spnning-tree potfast doesn't work for trunk ports.... or am I wrong?

Thanks again!
 
post the output from your sh standby and sh run. A network diagram would be beneficial also.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Router1 - Active

!
interface Loopback0
no ip address
!
interface Ethernet0
description WAN Connection
ip address 10.0.144.195 255.255.255.248
load-interval 30
full-duplex
!
interface FastEthernet0
no ip address
ip verify unicast source reachable-via rx
speed auto
!
interface FastEthernet0.1
description Main
encapsulation dot1Q 1 native
ip address 10.0.144.2 255.255.255.128
ip helper-address 10.0.112.17
ip helper-address 10.0.112.18
standby timers msec 500 1
standby 10 ip 10.0.144.1
standby 10 priority 110
standby 10 preempt delay minimum 60
standby 10 track Ethernet0 50
!
interface FastEthernet0.100
description Admin
encapsulation dot1Q 100
ip address 10.0.144.130 255.255.255.192
standby 100 ip 10.0.144.129
standby 100 timers msec 500 1
standby 100 priority 110
standby 100 preempt delay minimum 60
standby 100 track Ethernet0 50
!
router eigrp 100
passive-interface default
no passive-interface Ethernet0
no passive-interface FastEthernet0.1
network 10.0.0.0
no auto-summary
!

Router2 - Standby

interface Loopback0
no ip address
!
interface FastEthernet0
no ip address
ip verify unicast source reachable-via rx
no ip redirects
no ip proxy-arp
speed auto
full-duplex
!
interface FastEthernet0.1
description Main
encapsulation dot1Q 1 native
ip address 10.0.144.3 255.255.255.128
ip helper-address 10.0.112.17
ip helper-address 10.0.112.18
standby 10 ip 10.0.144.1
standby 10 timers msec 500 1
standby 10 preempt delay minimum 60
!
interface FastEthernet0.100
description Admin
encapsulation dot1Q 100
ip address 10.0.144.131 255.255.255.192
standby 100 ip 10.0.144.129
standby 100 timers msec 500 1
standby 100 preempt delay minimum 60
!
interface Serial0
description T1 Backup link
bandwidth 768
ip address 10.0.144.202 255.255.255.252
no fair-queue
!
router eigrp 100
passive-interface default
no passive-interface FastEthernet0.1
no passive-interface FastEthernet0.100
network 10.0.0.0
no auto-summary
!

Router 1 - Active

Show standby

FastEthernet0.1 - Group 10
State is Active
2 state changes, last state change 06:36:25
Virtual IP address is 10.0.144.1
Active virtual MAC address is 1111.c007.ac0a
Local virtual MAC address is 1111.c007.ac0a (default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.228 secs
Preemption enabled, delay min 60 secs
Active router is local
Standby router is 10.0.144.3, priority 100 (expires in 8.896 sec)
Priority 110 (configured 110)
Track interface Ethernet0 state Up decrement 50
IP redundancy name is "hsrp-Fa0.1-10" (default)
FastEthernet0.100 - Group 100
State is Active
7 state changes, last state change 1d01h
Virtual IP address is 10.0.144.129
Active virtual MAC address is 1111.c007.ac64
Local virtual MAC address is 1111.c007.ac64 (default)
Hello time 500 msec, hold time 1 sec
Next hello sent in 0.228 secs
Preemption enabled, delay min 60 secs
Active router is local
Standby router is 10.0.144.131, priority 100 (expires in 0.888 sec)
Priority 110 (configured 110)
Track interface Ethernet0 state Up decrement 50
IP redundancy name is "hsrp-Fa0.100-100" (default)

Router 2 - Standby

FastEthernet0.1 - Group 10
State is Standby
1 state change, last state change 06:38:50
Virtual IP address is 10.0.144.1
Active virtual MAC address is 1111.c007.ac0a
Local virtual MAC address is 1111.c007.ac0a (default)
Hello time 3 sec (cfgd 500 msec), hold time 10 sec (cfgd 1 sec)
Next hello sent in 1.996 secs
Preemption enabled, delay min 60 secs
Active router is 10.0.144.2, priority 110 (expires in 9.264 sec)
Standby router is local
Priority 100 (default 100)
IP redundancy name is "hsrp-Fa0.1-10" (default)
FastEthernet0.100 - Group 100
State is Standby
10 state changes, last state change 1d01h
Virtual IP address is 10.0.144.129
Active virtual MAC address is 1111.c007.ac64
Local virtual MAC address is 1111.c007.ac64 (default)
Hello time 500 msec, hold time 1 sec
Next hello sent in 0.000 secs
Preemption enabled, delay min 60 secs
Active router is 10.0.144.130, priority 110 (expires in 0.768 sec)
Standby router is local
Priority 100 (default 100)
IP redundancy name is "hsrp-Fa0.100-100" (default)

Thanks in advance!!!
 
Code:
standby 10 preempt delay minimum 60
you've got a 60 second delay set before the standby router will preempt the active router. Remove that and you should see it work as advertised.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Hello Ulclerico.

I added that delay minimun 60 today.. before there was only a [ standby 10 preempt ]... and was not working.. I was thinking that configuring a delay of 60 would help.. Any other thing that you see could be wrong in my config?.. I mean, you can see the HSRP seems to be working.. the Active router is reconizing the Standby router and so the inverse.. and if the Ethernet0 go down. the standby becomes the Active router but I am not able to go thru the Serial link...

Any other idea?

Thanks again!!
 
Whats on the other end of the serial link ? The way it is right now it cannot establish an eigrp adjacency as you have the serial interface as passive .
 
In the other end...

interface Serial0/2/0
description T1 for redundancy
bandwidth 768
ip address 10.0.144.201 255.255.255.252

router eigrp 100
redistribute static
passive-interface default
no passive-interface Vlan1
network 10.0.0.0
no auto-summary

Should I have a [ no passive-interface Serial0/2/0 ] ?

Thanks in advance!
 
It works!!!!!.. Thank you so much to all of you!!!!
 
I changed the interface from passive to no passive...

Thanks to all of you for your help... I really do appreciate it!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top