08-07-2012 05:32 AM - edited 03-07-2019 08:11 AM
Good morning,
I need to inject a static route into a VRF.
I have read i can add a static route adding global after the next hop.
I have done it but i can't ping.
Any solution ?
R1# ping 10.210.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.210.3.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CS# ping 10.210.3.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.210.3.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/29/44 ms
CS#
CS#
CS#
*Mar 1 01:38:40.995: ICMP: echo reply rcvd, src 10.210.3.10, dst 10.210.3.2
*Mar 1 01:38:41.031: ICMP: echo reply rcvd, src 10.210.3.10, dst 10.210.3.2
*Mar 1 01:38:41.075: ICMP: echo reply rcvd, src 10.210.3.10, dst 10.210.3.2
*Mar 1 01:38:41.083: ICMP: echo reply rcvd, src 10.210.3.10, dst 10.210.3.2
CS#
if i add this static route on CS
CS(config)#ip route 192.168.0.0 255.255.255.252 192.168.0.6
and try to ping
CS#ping 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:
U
*Mar 1 01:41:35.043: ICMP: dst (192.168.0.5) host unreachable rcv from 192.168.0.6.U
*Mar 1 01:41:37.047: ICMP: dst (192.168.0.5) host unreachable rcv from 192.168.0.6.U
Success rate is 0 percent (0/5)
CS#
*Mar 1 01:41:39.071: ICMP: dst (192.168.0.5) host unreachable rcv from 192.168.0.6
CS#
Solved! Go to Solution.
08-07-2012 05:45 AM
Ciao Luca,
you definitely need a leak map. Essentially a route-map that leaks the route you need. Check for this reference on the internet / INE and you should find good example like this:
http://blog.ipexpert.com/2009/07/22/route-leaking-between-vrf-and-global-route-table/
or
http://www.cisco.com/en/US/tech/tk436/tk832/technologies_configuration_example09186a0080231a3e.shtml
or
http://www.gossamer-threads.com/lists/cisco/nsp/162584
Take Care
Alessio
08-07-2012 05:45 AM
Ciao Luca,
you definitely need a leak map. Essentially a route-map that leaks the route you need. Check for this reference on the internet / INE and you should find good example like this:
http://blog.ipexpert.com/2009/07/22/route-leaking-between-vrf-and-global-route-table/
or
http://www.cisco.com/en/US/tech/tk436/tk832/technologies_configuration_example09186a0080231a3e.shtml
or
http://www.gossamer-threads.com/lists/cisco/nsp/162584
Take Care
Alessio
08-07-2012 06:26 AM
Thanks Alessio,
I have readed these solutions,
what do you mean saying to use routemap ?
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