VRF-lite and BGP advertised-routes

Unanswered Question
Nov 7th, 2007

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
etienne.basset Wed, 11/07/2007 - 08:40

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

(unless i'm missing something...)

regards

etienne

AJAZ NAWAZ Wed, 11/07/2007 - 10:05

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

william.caban Thu, 11/08/2007 - 05:14

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

Actions

This Discussion