cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
344
Views
0
Helpful
3
Replies

OSPF route advertise issue in HSRP peers

mahesh-thombare
Level 1
Level 1

Hi,

I have OSPF route issue with HSRP. I have 2 Cisco 9300 switches ( Peer 1 and Peer 2) where I have vlan 3 in HSRP. VLAN 3 routes internet traffic to my firewall. VLAN 3 network is x.x.3.0/24. Peer 1 is active router and Peer 2 is standby.

If I shutdown peer 2, I am loosing internet access, when I checked route table while peer 2 is down, all my access switches removed x.x.3.0/24 network from their routing table.

since my VLAN3 is in HSRP, I am expecting the traffic to internet should route through Peer1, but it is not.

If I shutdown Peer 1, my internet traffic is routing through Peer 2 as expected.

below is my HSRP config for VLAN 3

Peer 1: ip address x.x.3.252 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
standby 0 ip x.x.3.254
standby 0 timers 3 4
standby 0 priority 90
standby 0 preempt

peer 2

ip address x.x.3.253 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
standby 0 ip x.x.3.254
standby 0 timers 3 4
standby 0 priority 80
standby 0 preempt

 

 

 

 

3 Replies 3

I will send you PM

MHM

Torbjørn
VIP
VIP

Hello @mahesh-thombare, welcome to the community!

Can you post the output of "show ip ospf int br", "show ip ospf database self originate" and "show run | s router ospf"? It sounds to me like your peer 1 isn't advertising the subnet for some reason.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Hello @Torbjørn  thank you for the reply. here is the required info.

 

Peer1#show ip ospf int br
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Lo0 1 51 X.X.254.1/32 1 LOOP 0/0
Gi1/0/35 1 51 X.X.50.246/30 1 DR 0/0
Gi1/0/11 1 51 X.X.50.161/30 1 DR 1/1
Gi1/0/5 1 51 X.X.50.157/30 1 DR 1/1
Gi1/0/36 1 51 X.X.50.145/30 1 DR 1/1
Gi1/0/20 1 51 X.X.50.137/30 1 DR 1/1
Gi1/0/18 1 51 X.X.50.133/30 1 DR 1/1
Gi1/0/16 1 51 X.X.50.129/30 1 DR 1/1
Gi1/0/14 1 51 X.X.50.125/30 1 DR 1/1
Gi1/0/43 1 51 X.X.50.117/30 1 DR 1/1
Gi1/0/8 1 51 X.X.50.113/30 1 DR 1/1
Gi1/0/6 1 51 X.X.50.109/30 1 DR 1/1
Gi1/0/4 1 51 X.X.50.105/30 1 DR 1/1
Gi1/0/2 1 51 X.X.50.101/30 1 DR 1/1
Gi1/0/9 1 51 X.X.50.49/30 1 DR 1/1
Gi1/0/34 1 51 X.X.50.21/30 1 DR 0/0
Gi1/0/33 1 51 X.X.50.17/30 1 DR 0/0
Gi1/0/48 1 51 X.X.50.9/30 1 DOWN 0/0
Gi1/1/3 1 51 X.X.50.5/30 1 DR 1/1
Vl3 1 51 X.X.3.252/24 1 BDR 1/1


Peer1#show ip ospf database self

OSPF Router with ID (X.X.254.1) (Process ID 1)

Router Link States (Area 51)

Link ID ADV Router Age Seq# Checksum Link count
X.X.254.1 X.X.254.1 1046 0x80000016 0x005E66 19

Net Link States (Area 51)

Link ID ADV Router Age Seq# Checksum
X.X.50.5 X.X.254.1 1046 0x8000000D 0x002BB0
X.X.50.49 X.X.254.1 1046 0x80000090 0x0043FD
X.X.50.101 X.X.254.1 1046 0x8000007F 0x00F51D
X.X.50.105 X.X.254.1 1046 0x8000007D 0x00DF30
X.X.50.109 X.X.254.1 1046 0x8000007E 0x00C346
X.X.50.113 X.X.254.1 1046 0x80000080 0x00A55D
X.X.50.117 X.X.254.1 1046 0x8000000A 0x0078FB
X.X.50.125 X.X.254.1 1046 0x80000083 0x00519F
X.X.50.129 X.X.254.1 1046 0x80000082 0x0039B3
X.X.50.133 X.X.254.1 1046 0x80000081 0x0021C7
X.X.50.137 X.X.254.1 1046 0x80000081 0x0007DC
X.X.50.145 X.X.254.1 1046 0x80000080 0x008060
X.X.50.157 X.X.254.1 1046 0x80000091 0x003A83
X.X.50.161 X.X.254.1 1046 0x8000008E 0x004277

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 X.X.254.1 1046 0x80000004 0x0068C6 1


Peer1#show run | s router ospf
router ospf 1
router-id X.X.254.1
log-adjacency-changes detail
area 51 range X.X.0.0 255.255.0.0
network X.X.0.0 0.0.255.255 area 41
network X.X.1.0 0.0.0.255 area 51
network X.X.3.0 0.0.0.255 area 51
network X.X.8.0 0.0.0.255 area 51
network X.X.9.0 0.0.0.255 area 51
network X.X.26.0 0.0.0.255 area 51
network X.X.31.0 0.0.0.255 area 51
network X.X.50.0 0.0.0.3 area 51
network X.X.50.4 0.0.0.3 area 51
network X.X.50.8 0.0.0.3 area 51
network X.X.50.16 0.0.0.3 area 51
network X.X.50.20 0.0.0.3 area 51
network X.X.50.48 0.0.0.3 area 51
network X.X.50.100 0.0.0.3 area 51
network X.X.50.104 0.0.0.3 area 51
network X.X.50.108 0.0.0.3 area 51
network X.X.50.112 0.0.0.3 area 51
network X.X.50.116 0.0.0.3 area 51
network X.X.50.120 0.0.0.3 area 51
network X.X.50.124 0.0.0.3 area 51
network X.X.50.128 0.0.0.3 area 51
network X.X.50.132 0.0.0.3 area 51
network X.X.50.136 0.0.0.3 area 51
network X.X.50.140 0.0.0.3 area 51
network X.X.50.144 0.0.0.3 area 51
network X.X.50.148 0.0.0.3 area 51
network X.X.50.152 0.0.0.3 area 51
network X.X.50.156 0.0.0.3 area 51
network X.X.50.160 0.0.0.3 area 51
network X.X.50.240 0.0.0.3 area 51
network X.X.50.244 0.0.0.3 area 51
network X.X.100.0 0.0.0.255 area 51
network X.X.254.1 0.0.0.0 area 51
network x.x.50.0 0.0.0.3 area 51
network X.X.0.0 0.0.255.255 area 51
default-information originate