05-01-2012 09:59 AM - edited 03-04-2019 04:13 PM
I was configuring two routers connected to each other with serial0/1 interfaces. I configured ip vrf forwarding on the sub interfaces however both routers cannot reach each other through the vrf instances.
vrf13#
!
interface Serial0/1.1
ip vrf forwarding test
ip address 1.1.1.1 255.255.255.252
end
!
ip vrf test
rd 13:1
vrf14#
!
interface Serial0/1.1
ip vrf forwarding test
ip address 1.1.1.2 255.255.255.252
end
ip vrf test
ip vrf forwarding test
vrf14#
vrf13#sh ip vrf test
Name Default RD Interfaces
test 13:1 Se0/1.1
vrf13#
vrf13#sh ip route vrf test | begin Gateway
Gateway of last resort is not set
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial0/1.1
vrf13#
vrf13#show ip interface brief | i Serial0/1.1
Serial0/1.1 1.1.1.1 YES manual up up
vrf13#
vrf14#sh ip vrf test
Name Default RD Interfaces
test 14:1 Se0/1.1
vrf14#
vrf14#sh ip route vrf test | begin Gateway
Gateway of last resort is not set
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial0/1.1
vrf14#
vrf14#show ip interface brief | i Serial0/1.1
Serial0/1.1 1.1.1.2 YES manual up up
vrf14#
vrf13#ping vrf test 1.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
vrf13#
vrf14#ping vrf test 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
No frame relay, it is just a router to router connection.
Did I miss anything? Just vrf lite without bgp....i suppose i do not need to use export rt and import rt since there is no bgp....
Solved! Go to Solution.
05-01-2012 10:12 AM
It should work. Can you ping the interfaces without vrf forwarding enabled on the interfaces?
Sent from Cisco Technical Support iPhone App
05-01-2012 10:12 AM
It should work. Can you ping the interfaces without vrf forwarding enabled on the interfaces?
Sent from Cisco Technical Support iPhone App
05-01-2012 10:45 AM
thanks i have solved the problem myself. thanks for the reply.
05-01-2012 01:45 PM
looks like, you are missing route distinguisher on vrf14
---
Posted by WebUser Neeraj Jagga from Cisco Support Community App
05-01-2012 06:49 PM
Problem is not with route distinguisher
vrf14#
!
interface Serial0/1.1
ip vrf forwarding test
ip address 1.1.1.2 255.255.255.252
end
vrf14#sh ip vrf test
Name Default RD Interfaces
test 14:1 Se0/1.1
vrf14#
Even without route distinguisher, it will work on the interface level by merely define the ip vrf instance as shown in one of the post by packetlife.
I have written the findings here https://cyruslab.wordpress.com/2012/05/02/mpls-vpn-vrf/
I used fa interface instead of serial interface.
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