cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
711
Views
0
Helpful
3
Replies

VRF-lite and BGP advertised-routes

AJAZ NAWAZ
Level 5
Level 5

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 3

etienne.basset
Level 1
Level 1

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

(unless i'm missing something...)

regards

etienne

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

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

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: