cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
410
Views
0
Helpful
1
Replies

Global Route to VRF

Andrew Clark
Level 1
Level 1

Hello. I'm having an issue with routing when it comes to a non-vrf to vrf.

 

on router1 i can ping and traceroute using the VRF with no problems to the destination subnet.

on router2 it will forward the traffic to router 1 but then just dies there.

 

router1 P2P to WAN 192.168.39.40/29

router2 to router1 10.0.251.0/24

remote site 10.19.4/24

 

router 1

interface port-channel1.903

encapsulation dot1q 903

ip vrf forwarding public-captive

ip address 10.0.251.253 255.255.255.0

 

interface port-channel1.78

encapsulation dot1q 78

ip vrf forwarding public-captive

ip address 192.168.39.42 255.255.255.248

 

ip route vrf public-captive 0.0.0.0 0.0.0.0 10.0.251.254

ip route vrf public-captive 10.19.4.0 255.255.255.0 192.168.39.41

 

===================================================

 

router 2

interface gig0/0.903

encapsulation dot1q 903

ip address 10.0.251.254 255.255.255.0

 

ip route 10.0.0.0 255.128.0.0 10.0.251.253

1 Reply 1

Hello

On router 1 you need to tell the global rib how to get to 10.0.251.253/24 as that address resides in a vrf table of which the global riib is unaware.

 

Apply a static route pointing to the physical interface and test again 

 

Also do you really require pc 1.78 in any vrf as that is facing rtr2

 

If remove that from the vrf you could just have one vrf default static and one global rib static.

 

Router 1

No ip route vrf public-captive 0.0.0.0 0.0.0.0 10.0.251.254

 

No ip route vrf public-captive 10.19.4.0 255.255.255.0 192.168.39.41

 

ip route 10.0.251.0 255.255.255.0 port-channel1.903

 

Ip route 0.0.0.0 0.0.0.0 192.168.39.41

 

ip route vrf public-captive 0.0.0.0 0.0.0.0 192.168.39.41 global

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card