BGP route-inject

Unanswered Question
May 26th, 2007

hello friends.

Does anyone know how to correctly configure this feature?

mine didnt work..

router bgp 100

no synchronization

bgp router-id 2.2.2.2

bgp log-neighbor-changes

bgp inject-map rm_injected exist-map rm_exist

network 2.0.0.0

network 2.2.2.2 mask 255.255.255.255

aggregate-address 2.0.0.0 255.0.0.0

ip prefix-list pl_existing seq 5 permit 2.0.0.0/8

!

ip prefix-list pl_injected seq 5 permit 2.2.2.0/24

route-map rm_exist permit 10

match ip address prefix-list pl_existing

!

route-map rm_injected permit 10

match ip address prefix-list pl_injected

Any clues...what kind of route should I have on the routing table? or BGP table to make this work?

Vlad

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
bjornarsb Sat, 05/26/2007 - 14:52

Hi,

Wich interface has an ip in the 2.2.2.0/24 nettwork ?

You need to post the complete config if we are supposed to help you :)

If your 2.2.2.0/24 is not an connected interface on your router you either need to get it redistributet or create a route to the null interface like this :

ip route 2.2.2.0 255.255.255.0 null 0 222

And actually why is it necesarry to inject a /24 route when you are supposed to advertice 2.0.0.0/8 ? Your IGP probably carry a more specific route to 2.2.2.0/24 ?

BR,

Bjornarsb

Actions

This Discussion