02-08-2024 05:47 PM - last edited on 02-12-2024 10:18 PM by Translator
Hai guy, someone can help me about my problem ?. I'm really confused
I'm used Router Reflector
This Config Router from blue circle mark :
RP/0/0/CPU0:SBYPE01#sh run vrf
Fri Feb 9 01:32:34.521 UTC
vrf TESTING
address-family ipv4 unicast
import route-target
15:10
!
export route-target
15:10
!
!
!
RP/0/0/CPU0:SBYPE01#sh run router bgp
Fri Feb 9 01:32:40.901 UTC
router bgp 4573
bgp router-id 20.20.20.4
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
neighbor 20.20.20.1
remote-as 4573
update-source Loopback0
address-family vpnv4 unicast
!
!
vrf TESTING
rd 15:10
address-family ipv4 unicast
redistribute connected
redistribute static
!
!
!
RP/0/0/CPU0:SBYPE01#sh route vrf TESTING
Fri Feb 9 01:32:58.170 UTC
Gateway of last resort is not set
C 192.168.1.0/30 is directly connected, 00:47:57, GigabitEthernet0/0/0/2.10
L 192.168.1.1/32 is directly connected, 00:47:57, GigabitEthernet0/0/0/2.10
RP/0/0/CPU0:SBYPE01#ping vrf TESTING 192.168.1.1
Fri Feb 9 01:33:13.069 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
And this my problem, received prefix but not able to ping :
(This config from one of routes am i mark with red circle)
RP/0/0/CPU0:TGRPE01#sh route vrf TESTING
Fri Feb 9 01:39:25.301 UTC
Gateway of last resort is not set
B 192.168.1.0/30 [200/0] via 20.20.20.4 (nexthop in vrf default), 00:47:59
RP/0/0/CPU0:TGRPE01#ping vrf TESTING 192.168.1.1
Fri Feb 9 01:39:32.031 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
UUUUU
Success rate is 0 percent (0/5)
RP/0/0/CPU0:TGRPE01#traceroute vrf TESTING 192.168.1.1
Fri Feb 9 01:43:56.953 UTC
% FIB did not return Source Address
RP/0/0/CPU0:TGRPE01#sh route vrf TESTING 192.168.1.1
Fri Feb 9 01:43:58.903 UTC
Routing entry for 192.168.1.0/30
Known via "bgp 4573", distance 200, metric 0, type internal
Installed Feb 9 00:51:25.809 for 00:52:33
Routing Descriptor Blocks
20.20.20.4, from 20.20.20.1
Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id: 0xe0000000
Route metric is 0
No advertising protos.
RP/0/0/CPU0:TGRPE01#sh cef vrf TESTING 192.168.1.1
Fri Feb 9 01:44:06.402 UTC
192.168.1.0/30, version 1, internal 0x14004001 0x0 (ptr 0xa0f1d2f4) [1], 0x0 (0x0), 0x410 (0xa1442208)
Updated Feb 9 00:51:25.828
Prefix Len 30, traffic index 0, precedence n/a, priority 3
via 20.20.20.4, 3 dependencies, recursive [flags 0x6000]
path-idx 0 NHID 0x0 [0xa14aa874 0x0]
next hop VRF - 'default', table - 0xe0000000
next hop 20.20.20.4 via 16003/0/21
next hop 178.18.1.6/32 Gi0/0/0/1 labels imposed {16000 16000}
next hop 178.18.1.1/32 Gi0/0/0/2 labels imposed {16003 16000}
RP/0/0/CPU0:TGRPE01#sh run vrf TESTING
Fri Feb 9 01:42:34.199 UTC
vrf TESTING
address-family ipv4 unicast
import route-target
15:10
!
export route-target
15:10
!
!
!
RP/0/0/CPU0:TGRPE01#sh run router bgp
Fri Feb 9 01:42:36.898 UTC
router bgp 4573
bgp router-id 20.20.20.2
address-family ipv4 unicast
redistribute connected
redistribute ospf 1
!
address-family vpnv4 unicast
!
neighbor 20.20.20.1
remote-as 4573
update-source Loopback0
address-family vpnv4 unicast
!
!
vrf TESTING
rd 15:10
address-family ipv4 unicast
redistribute connected
redistribute static
!
Solved! Go to Solution.
02-08-2024 10:18 PM
Hi @TegarSaputra ,
TGRPE01 does not have any interface in VRF TESTING. You could add a new loopback interface and configure it inside VRF TESTING. This should fix the issue.
Regards,
02-08-2024 07:34 PM
When we test any mpls prefix we use source in ping and traceroute to specify IP reachable by test router
MHM
02-08-2024 10:18 PM
Hi @TegarSaputra ,
TGRPE01 does not have any interface in VRF TESTING. You could add a new loopback interface and configure it inside VRF TESTING. This should fix the issue.
Regards,
02-09-2024 01:12 AM
Thanks sir, it's work. Can i know for the reason ?
02-09-2024 01:14 AM - last edited on 02-12-2024 10:14 PM by Translator
He dont need LO
he already redistribute connected
he can use
ping x.x.x.x source <connect interface IP> 
;
@TegarSaputra as I mention you need to use IP reachable from the test router.
MHM
02-09-2024 01:20 AM
Thanks for your answer, but i tried add some subif with same VRF. And it worked. Like mr @Harold Ritter says.
02-09-2024 01:23 AM - last edited on 02-12-2024 10:15 PM by Translator
Hi @MHM Cisco World ,
How will TGRPE01 select a source address for the ping or traceroute if it doesn't have a local address it could use inside the VRF?
RP/0/0/CPU0:TGRPE01#sh route vrf TESTING
Fri Feb 9 01:39:25.301 UTC
Gateway of last resort is not set
B 192.168.1.0/30 [200/0] via 20.20.20.4 (nexthop in vrf default), 00:47:59
RP/0/0/CPU0:TGRPE01#
02-09-2024 01:27 AM - last edited on 02-12-2024 10:16 PM by Translator
Now I see he share the
show ip vrf
but
vrf TESTING
rd 15:10
address-family ipv4 unicast
redistribute connected <<- this one make him have interface in this VRF ?
redistribute static
@TegarSaputra are you use eBGP between CE and PE ?
MHM
02-09-2024 02:01 AM
Oh, i'm not yet configure to CE. Just wanna makesure VRF connected at IGP.
02-09-2024 02:04 AM
if that case and for test only as @Harold Ritter mention add LO to vrf and use it as source in ping.
thanks for clarify
have a nice day
MHM
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