Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Silver

VRF-lite and BGP advertised-routes

192.168.165.245/30

dot1q -------------fe2/1-RTR(CE)--VRF-lite & dot1q---(PE)RTR

192.168.165.249/30

I have 192.168.165.0/24 resident within my IGP on the CE. But I also /30's from the same address space configured on my interfaces. As such when I add the following command to bgp vrf custA the /24 is NOT advertised:

network 192.168.165.0

I can overcome the issue using aggregate-address feature and summary only. Is there another way to push out just the /24?. There's obviously some check BGP is performing which are preventing this and that does make sense to me i.e. why BGP would do that.

Just looking for another way to achieve the same result e.g. adv 192.168.165.0/24

tia

Ajaz

3 REPLIES
New Member

Re: VRF-lite and BGP advertised-routes

if you have your /24 in you IGP, just redistribute it into BGP

(unless i'm missing something...)

regards

etienne

Silver

Re: VRF-lite and BGP advertised-routes

I should have stated - I wan't to avoid redis :-). It just gets very messy.

Even if I did - are you sure that will work?, I am not. Let's discuss why exactly BGP is behaving like this?

Ajaz

New Member

Re: VRF-lite and BGP advertised-routes

If you have the /24 in your routing table with your CE you may use the network statement in BGP:

"network 192.168.165.0 mask 255.255.255.0"

Now, you have to make sure you are seeing the /24. If not, you can just set a static route in the VRF pointig to the interface (or subinterface):

ip route vrf YOURVRF 192.168.165.0 255.255.255.0 gi0/0.100

HTH

-W

433
Views
0
Helpful
3
Replies
CreatePlease to create content