02-24-2021 01:21 PM
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!:)
Solved! Go to Solution.
02-24-2021 08:32 PM
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
02-24-2021 08:32 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide