cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1227
Views
5
Helpful
14
Replies

Standby router is not able to ping Virtual ip of HSRP

Hi,

Can someone help me in a problem related to HSRP

My standby router is not able to ping virtual ip, active router is pinging the same.

My HSRP is working i.e shifting to other router.

Noticeable thing 

1. when i provide manual mac address then hsrp working OTW it shows in init state

2. virtual ip entry created in active but not is standby

I am configuring it on NCS540, ver 7.7.1... i reffered the official document also but still facing this problem

 

 

please help!!!!

 

14 Replies 14

can I see the HSRP config in both router 

MHM

when i put vip as DG in pc then it is not able to ping DG either i.e vip

====================== Router 2 ===================
router hsrp
interface TenGigE0/0/0/7.5
address-family ipv4
hsrp 2
mac-address 0000.1111.2222
priority 80
address x.x.0.101
!
!
!
interface TenGigE0/0/0/7.6
address-family ipv4
hsrp 3
mac-address 0000.1111.2222
priority 80
address x.x.1.101
!
!
!
interface TenGigE0/0/0/5.101
address-family ipv4
hsrp 1
mac-address 0000.1111.4444
priority 80
address x.x.0.101

 


-------------------Router 1---------------------------

router hsrp
interface TenGigE0/0/0/7.5
address-family ipv4
hsrp 2
mac-address 0000.1111.3333
preempt
priority 100
address x.x.0.101
!
!
!
interface TenGigE0/0/0/7.6
address-family ipv4
hsrp 3
mac-address 0000.1111.2222
preempt
priority 100
address x.x.1.101
!
!
!
interface TenGigE0/0/0/5.101
address-family ipv4
hsrp 1
mac-address 0000.1111.4444
preempt
priority 100
address x.x.0.101
!

 

 

@MHM Cisco World 

MHM

@MHM Cisco World ,

It is already unique mac address.... check again the configs, their last 4 digits varries

 

I see this and that why I mention conflict 

router hsrp
interface TenGigE0/0/0/7.5
address-family ipv4
hsrp 2
mac-address 0000.1111.2222
priority 80
address x.x.0.101
!
!
!
interface TenGigE0/0/0/7.6
address-family ipv4
hsrp 3
mac-address 0000.1111.2222
priority 80
address x.x.1.101

This was mistakenly pasted .......mac address is different and unique

show hsrp detail <<- share this in both router 

thanks 

MHM

balaji.bandi
Hall of Fame
Hall of Fame

how is these 2 Routers connected ? do you have topology ?

what is the PC IP address ?

can you post some show hsrp output ?

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/ip-addresses/b-ip-addresses-cr-ncs5500/hsrp-commands.html#reference_pcm_v5g_jkb

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

It is simple HSRP connectivity  2 routers, 1switch, 3-4 servers

if that is simple that should work, since it not working hence we are asking some information.

are you looking to test HSRP v1 and 2 and 3  - none of them working ?

as pointed your MAC address are same i the config

 

mac-address address


Example:
RP/0/0/CPU0:router(config-hsrp-if)# mac-address 4000.1000.1060
 

(Optional) Specifies a virtual MAC address for the HSRP.

  • We do not recommend this command, except for IBM networking environments in which first-hop redundancy is based on being able to use a virtual MAC address, and in which you cannot change the first-hop addresses in the PCs that are connected to an Ethernet switch.

     

  • HSRP is used to help end stations locate the first-hop gateway for IP routing. The end stations are configured with a default gateway. However, HSRP can provide first-hop redundancy for other protocols. Some protocols, such as Advanced Peer-to-Peer Networking (APPN), use the MAC address to identify the first-hop for routing purposes. In this case, it is often necessary to specify the virtual MAC address; the virtual IP address is unimportant for these protocols. Use the mac-address command to specify the virtual MAC address.

     

  • The MAC address specified is used as the virtual MAC address when the router is active.

     

  • The mac-address command is intended for certain APPN configurations.

     

  • In an APPN network, an end node is typically configured with the MAC address of the adjacent network node. Use the mac-address command in the routers to set the virtual MAC address to the value used in the end nodes.

     

  • Enter the no mac-address command to revert to the standard virtual MAC address (0000.0C07.ACn).

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Firstly, I tried without mac address but in this situation my Router 1 showing in "init" state always and Router 2 becoming active rather than less priority

 

 

because of this (even though you say simple - that become complicated)

post switch configuration - show vlan, show spann, the router connected ports what vlan ?

Since you are using sub -interface they tagging correct ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Assuming the routers are connected to the same switch, are they in the same VLAN on the port. As in is Te0/0/7 connected to a trunk so both subinterfaces can connect. and Te0/0/5 on both ports in the same VLAN?

Are the 2 routers communicating via l2 vfi? If so, we have come across the same problem. Not only standby router, any device cannot reach the VIP via an l2 vfi, but if connected to physical interface, is OK.

We opened a TAC case and were told HSRP with l2 vfi is not supported on this platform. We are trying to get an enhancement request to have it supportedf.

FYI, if you use "hsrp use-bia", for the HSRP group, it starts working.

Review Cisco Networking for a $25 gift card