05-26-2007 01:34 PM - edited 03-03-2019 05:09 PM
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
05-26-2007 02:52 PM
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
05-31-2007 01:40 AM
interface Loopback0
ip address 2.2.2.2 255.255.255.255
or
ip route 2.0.0.0 255.0.0.0 Null0
Then "show ip route" and "show ip bgp" to see if you have achived what you were trying too.
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