11-03-2022 06:18 AM
Hello,
R8 and R16 are EIGRP neighbours VRF X.
R3 and R8 vpnv4 neighbours.
Inside core OSPF running on all Routers.
Now R8 want to send the customer routes to R3, but R3 not receiving any routes from R8, but R8 has customer routes on VRF X table. now R8 want to redistribute the routes to ospf or BGP.
i tired using under the bgp but no routes on R3 side.
Any suggestion would be appreciated.
Solved! Go to Solution.
11-03-2022 07:43 AM - edited 11-03-2022 07:44 AM
Hi @feroz syed ,
Because for the VRF routes to be redistributed in VPNv4, you need to put the "redistribute eigrp" statement under the vrf section, rather than the global section.
Regards,
11-03-2022 06:25 AM
"""Now R8 want to send the customer routes to R3, but R3 not receiving any routes from R8, but R8 has customer routes on VRF X table."""
you need
check if R8 have route in VPNv4 with command
show ip bgp vpnv4 all
if you confirm the R8 have route, then you need
config iBGP under VPNv4 address family between R8 and R3
config import/export under VRF of both R8 and R3, I usually use in lab
route-target both 100:100
11-03-2022 06:31 AM
R8#sh run | sec vrf
ip vrf X
rd 8:16
route-target export 8:16
route-target import 4:3
ip vrf forwarding X
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500
network 192.168.86.0
R8#
R8#sh run | sec r bgp
router bgp 321
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 321
neighbor 3.3.3.3 update-source Loopback0
!
address-family ipv4
redistribute eigrp 100 metric 20
exit-address-family
!
address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
neighbor 3.3.3.3 next-hop-self
exit-address-family
R8#sh bgp vpnv4 un all
R8#sh bgp vpnv4 un all summ
BGP router identifier 8.8.8.8, local AS number 321
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
3.3.3.3 4 321 70 69 1 0 0 00:56:15 0
R8#
11-03-2022 06:37 AM - edited 11-03-2022 06:37 AM
UNDER bgp
address-family ipv4 <<- this need to be in same VRF OF eigrp
redistribute eigrp 100 metric 20
11-03-2022 06:41 AM
<<- this need to be in same VRF
why ?
R8 and r16 are just Eigrp neighbors,
R8 and R3 vpnv4 and redistribute connect already executed but why do i need to create vrf on ipv4 address-family.
11-03-2022 06:45 AM
address-family ipv4 vrf X autonomous-system 100 <<- BUT i see EIGRP vrf-aware, so to make bgp accept the route the address family ipv4 also vrf-aware
11-03-2022 07:03 AM
R8 already has customer routes on vrf table, both side Bgp and Eigrp mutual redistribution already done.
now R8 need to send routed to R3 via bgp vpnv4.
but above you saying ,if am understand correctly, you telling me to create vrf adress-family under bgp to send routes across vpnv4 neighbor
11-03-2022 07:11 AM
Hi @feroz syed ,
As @MHM Cisco World , you need to put the redistribute eigrp statement under "address-family ipv4 vrf X" under BGP.
Regards,
11-03-2022 07:32 AM
correct.
11-03-2022 07:30 AM
it's working, but my question is here below we already making mutual redistribution from bgp to eigrp and eigrp to bgp
but why we need
address-family ipv4 vrf X
redistribute eigrp 100 metric 2
R8#sh run | sec eigr
router eigrp 100
!
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500
router bgp 321
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 321
neighbor 3.3.3.3 update-source Loopback0
!
address-family ipv4
redistribute eigrp 100 metric 20
11-03-2022 07:39 AM
address-family ipv4 vrf X
redistribute eigrp 100 metric 2
!
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500
!
address-family ipv4 <<<-- no need
redistribute eigrp 100 metric 20
11-03-2022 07:43 AM - edited 11-03-2022 07:44 AM
Hi @feroz syed ,
Because for the VRF routes to be redistributed in VPNv4, you need to put the "redistribute eigrp" statement under the vrf section, rather than the global section.
Regards,
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