cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2260
Views
1
Helpful
19
Replies

Allow network reachability to vrf interface over OSPF

Kenneth Goh
Level 1
Level 1

Please help, what configuration is required so that I am able to ping from R3's

192.168.0.2 to R2's interface Gi1

that is running in

VRF INET

with IP address

192.168.1.1/30

Thanks in advanced.

VRF and OSPF.png

19 Replies 19

Hi @Kenneth Goh ,

Everything looks as it should. According to the traceroute output the packet makes it to R1, but something goes wrong with R2. Could you enable

debug ip icmp

on R2

ping 192.168.1.1

from R3 and see what messages are logged on R2.

Can you also tell us what version and what platform are R1 and R2?

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi @Harold Ritter 

R2#debug ip icmp
ICMP packet debugging is on
R2#
*Sep 1 14:40:08.079: ICMP: dst (192.168.1.1) port unreachable sent to 192.168.0.2

R1#show version
Cisco IOS XE Software, Version 16.09.05
Cisco IOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.5, RELEASE SOFTWARE (fc1)

R2#show version
Cisco IOS XE Software, Version 16.09.05
Cisco IOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.5, RELEASE SOFTWARE (fc1)

 

Hi @Kenneth Goh ,

Please add the following to R2:

ip route 192.168.0.0 255.255.255.252 192.168.2.1

This should fix it.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi @Harold Ritter 

Great, it works, will need all the routes below. Thanks for all the help!

R1#sh running-config | in ip route
ip route 192.168.0.0 255.255.255.252 GigabitEthernet1
ip route vrf inet 192.168.1.0 255.255.255.252 GigabitEthernet2 192.168.2.2

R2#sh run | in ip route
ip route 192.168.0.0 255.255.255.252 192.168.2.1
ip route 192.168.1.0 255.255.255.252 GigabitEthernet1

 

You are very welcome @Kenneth Goh and thanks for the feedback

Regards,
Harold Ritter, CCIE #4168 (EI, SP)