cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Inject a global static route into a VRF table

Luca Tortiglione
Beginner
Beginner

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#

1 ACCEPTED SOLUTION

Accepted Solutions

Alessio Andreoli
Contributor
Contributor

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

View solution in original post

2 REPLIES 2

Alessio Andreoli
Contributor
Contributor

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

Thanks Alessio,

I have readed these solutions,

what do you mean saying to use routemap ?

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: