cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
852
Views
1
Helpful
5
Replies

HELP WITH HRSP AND OSPF PACKET TRACER

angelgoron
Level 1
Level 1

Dear colleagues,

I am currently working on a network topology and facing difficulties when trying to ping from any of the computers to the IP address 172.31.250.4, which corresponds to the first router on the left. My plan is to configure NAT between the routers; however, I must first address the issues related to HSRP and OSPF.

The problem with OSPF is that the routes are not being advertised on Router 1, despite having them included in the "network" configuration. I am unsure if the issue is related to HSRP or OSPF. All commands and configurations can be found in the attached file.

1 Accepted Solution

Accepted Solutions

Hi @angelgoron ,

There are a few things here.

The main issue is that both

swc01 and swc02 have the same ospf router id (192.168.30.253)

This is due to the fact that this address is configured on both routers (see recommendations below). You should go and manually specify the router id as follow:

swc01:

router ospf 1

router-id 172.31.250.2

swc02:

router ospf 1

router-id 172.31.250.3

you should do a

clear ip ospf process

after making that change.


This will cause the 3 prefixes

(192.168.10.0/24, 192.168.20.0/24 and 192.168.30.0/24)

to be learnt on RT01 and you will be able to ping from the PCs to 172.31.250.4

Another thing you should fix is that both swc01 and swc02 use the same primary address on vlan10, vlan20 and vlan30.

You should use

192.168.10.252, 192.168.20.252 and 192.168.30.252 on swc01

I would also recommend you configure

"passive-interface vlan10", "passive-interface vlan20", "passive-interface vlan30"

on both swc01 and swc02, as you do not usually establish ospf neighborship through user facing interface.

Regards,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

5 Replies 5

M02@rt37
VIP
VIP

Hello @angelgoron,

Do you verify that the routing table on each router has the correct entries and that the routes are being learned from OSPF? Use the

show ip route

command to check the routing table and look for the entries for the network you are trying to reach.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

This is my primary concern. The IP addresses have been set up in both  core switch. These are the three VLANs that I have established. When I execute the

show ip routes

command on my core switch, I can see that they are directly connected. Consequently, when OSPF is activated between the two core switches and the router, adjacency is established (as shown in the

show ip ospf neighbor

command), and the networks are set up (including the VLANs on the router). However, the routes are not being established by OSPF. 

Hi @angelgoron ,

There are a few things here.

The main issue is that both

swc01 and swc02 have the same ospf router id (192.168.30.253)

This is due to the fact that this address is configured on both routers (see recommendations below). You should go and manually specify the router id as follow:

swc01:

router ospf 1

router-id 172.31.250.2

swc02:

router ospf 1

router-id 172.31.250.3

you should do a

clear ip ospf process

after making that change.


This will cause the 3 prefixes

(192.168.10.0/24, 192.168.20.0/24 and 192.168.30.0/24)

to be learnt on RT01 and you will be able to ping from the PCs to 172.31.250.4

Another thing you should fix is that both swc01 and swc02 use the same primary address on vlan10, vlan20 and vlan30.

You should use

192.168.10.252, 192.168.20.252 and 192.168.30.252 on swc01

I would also recommend you configure

"passive-interface vlan10", "passive-interface vlan20", "passive-interface vlan30"

on both swc01 and swc02, as you do not usually establish ospf neighborship through user facing interface.

Regards,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Dear Harold Ritter,

I hope this message finds you well. I would like to express my deepest gratitude for the help and support you have provided. Your expertise, knowledge, and guidance have been invaluable in overcoming the challenges I faced.

You are very welcome @angelgoron and thanks for the feedback

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card