01-26-2010 06:48 PM - edited 03-06-2019 09:27 AM
Hi all, i tried to add route in a VRF to go toward the global router in a 6513 with sup720.
For exemple i have an svi on global router with ip 192.168.1.1 ; this svi links to a wan and there is some entries in the routing table
i have two svi mapped in a vrf with 172.16.1.1 and 172.16.2.1
i also have other vrf.
In each VRF, i want to point default to 192.168.1.1 in the global router.
i tried the global parameter at the end of the ip route command (ip route vrf xyz 0.0.0.0 0.0.0.0 192.168.1.1 global but the ios return an error saying that the gateway is this router.
I know i could leak route between VRF and using BGP (i tried it) , but i only want each VRF know some route with GRT and vice-versa, so im looking a simple manner to add some route to GRT.
Thanks.
01-26-2010 09:36 PM
You can not use IP on the same router. Saying the next hop router has IP 192.168.1.2, you should configure it like
ip route vrf xyz 0.0.0.0 0.0.0.0 192.168.1.2 global
01-26-2010 10:16 PM
Hi all, i tried to add route in a VRF to go toward the global router in a 6513 with sup720.
For exemple i have an svi on global router with ip 192.168.1.1 ; this svi links to a wan and there is some entries in the routing table
i have two svi mapped in a vrf with 172.16.1.1 and 172.16.2.1
i also have other vrf.
In each VRF, i want to point default to 192.168.1.1 in the global router.
i tried the global parameter at the end of the ip route command (ip route vrf xyz 0.0.0.0 0.0.0.0 192.168.1.1 global but the ios return an error saying that the gateway is this router.
I know i could leak route between VRF and using BGP (i tried it) , but i only want each VRF know some route with GRT and vice-versa, so im looking a simple manner to add some route to GRT.
Thanks.
Hi,
The global keyword specifies that the next hop address of the static route is resolved within the global routing table, not within the the customer1 VRF.
The following is an example of the static route.
ip route vrf customer1 0.0.0.0 0.0.0.0 192.168.67.1 global
Having a static route with a global keyword in the customer1 VRF ensures that all packets destined to the Internet are routed to the Internet gateway and subsequently to the Internet.
Check out the below link hope it clear your query !!
http://www.cisco.com/en/US/tech/tk436/tk428/technologies_configuration_example09186a00801445fb.shtml
Ganesh.H
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