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

VRF lite, how to provide external connectivity

I am trying to leak route from default VRF so that access to internet can be provided in VRFs. I used static route method but this also caused vrfs to communicate with each other which is not desirable. 
Is there any way to do this? This is on Cisco nexus 9k.

 

ip route 0.0.0.0/0 Ethernet1/33/1 192.168.5.2
ip route 72.30.35.9/32 Ethernet1/33/1 192.168.5.2


ip route 192.168.1.0/24 Vlan1 vrf VPC-STARTUP
ip route 192.168.2.0/24 Vlan2 vrf VPC-2

vrf context VPC-2
ip route 0.0.0.0/0 Ethernet1/33/1 192.168.5.2 vrf default


vrf context VPC-STARTUP
ip route 0.0.0.0/0 Ethernet1/33/1 192.168.5.2 vrf default