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

Virtual Route Forwarding (VRF) - simple config - ping won't work from PC, but ok from R1

Ivan Mamka
Level 1
Level 1

Hello,

 

I might be missing some basics on how VRFs work. But Following is configuration GNS3 (question at the bottom, image attached):

 

PC4 -->(G2/0) R1 (G1/0.2)---> (G1/0.2) R2

 

PC4: ip 10.1.1.10 255.255.255.0 10.1.1.1 

 

R1:

vrf definition sony
address-family ipv4

 

int g1/0.2
vrf forwarding sony
encapsulation dot1q 2
ip address 105.1.1.1 255.255.255.252
ip ospf 2 area 0
ip ospf network point-to-point
no shutdown

int gig2/0
vrf forwarding sony
ip address 10.1.1.1 255.255.255.0

no shutdown

 

R2:

int gig1/0.2
encapsulation dot1q 2
vrf forwarding sony
ip address 105.1.1.2 255.255.255.252
ip ospf network point-to-point
ip ospf 2 area 0
no shutdown

 

PC1: pint 10.1.1.1    <--- OK

PC1: ping 105.1.1.1 <--- OK

PC1: ping 105.1.1.2 <--- ICMP timeout

 

R1: ping vrf sony 105.1.1.2   <---- OK

 

Question: Why I can't ping interface of R2 from PC1 but I can ping it from R1?

 

Thought: If ICMP timeout means R1 has path to route but R2 not replying?

 

Thanks!:)

1 Accepted Solution

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni

Hi,

 

Is your OSPF up between R1 and R2? Or do you have any static route on R2 to reach out back the subnet 10.1.1.0/24 residing on R1?

Your 10.1.1.0/24 seems not being part of your OSPF, are you doing any redistribute connected?

Can you share the routing part of your config and also the output of (on all routers):

- sh run | s r o

- sh ip ospf nei

- sh ip route vrf sony 


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

1 Reply 1

Francesco Molino
VIP Alumni
VIP Alumni

Hi,

 

Is your OSPF up between R1 and R2? Or do you have any static route on R2 to reach out back the subnet 10.1.1.0/24 residing on R1?

Your 10.1.1.0/24 seems not being part of your OSPF, are you doing any redistribute connected?

Can you share the routing part of your config and also the output of (on all routers):

- sh run | s r o

- sh ip ospf nei

- sh ip route vrf sony 


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question