[c-nsp] VRF Route-leaking question

Mihai Tanasescu mihai at duras.ro
Sun Jan 13 03:28:29 EST 2008


Hello,


I have some trouble  with VRF and route leaking unfortunately and wanted
some explanations or help if possible.

I have 2 VRFs (out of many other) between which I leak routes (all
routes currently).
I can't have them in one VRF unfortunately.

The problem:

Ex:
vrf aaa
rd 1:1
route-target export 1:1
route-target import 1:2

vrf bbb
rd 1:2
route-target export 1:2
route-target import 1:1

router bgp 1
address-family ipv4 vrf aaa
redistribute connected

address-family ipv4 vrf bbb
redistribute connected

int gi1/1
ip vrf forwarding aaa
ip address 192.168.1.1 255.255.255.0

int gi1/2
ip vrf forwarding bbb
ip address 192.168.2.1 255.255.255.0


if I issue:
ping vrf aaa 192.168.1.1 - OK
ping vrf bbb 192.168.1.1 - NOT OK
I get:
 %IP-3-LOOPPAK: Looping packet detected and dropped -
src=192.168.2.1, dst=192.168.1.1, hl=20, tl=100, prot=1, sport=0, dport=0
in=GigabitEthernet1/2, nexthop=192.168.1.1, out=GigabitEthernet1/2
options=none -Process= "IP Input", ipl= 0, pid= 194

ping vrf bbb 192.168.1.2 (an IP accessible via gi1/1
from aaa) - OK.

Can I make it also somehow that ping works on the local interface
assigned IP  addresses with route leaking ?





More information about the cisco-nsp mailing list