I am attempting to learn BGP by simulating various tasks in a lab environment.
*Please note that everything including IP's, AS numbers, etc are made up. Yes, I am mocking up a little internet type lab to learn this stuff and I was trying to make everything seem as real as it can be.Problem: In the lab I am seeing the prepending correctly on the routers that I directly peer with. However, on any other router in my lab the prepend information is not passing through. From my reading it appears as if this information should stay in tact and be sent to all routers through BGP.
Details: I have a single router that is multihoming to two different AS'es (7018 and 209). This router will advertise 3 IP blocks
12.3.2.0/24 12.3.1.0/24 65.200.5.0/27I am using the following route map to set the preference on which links I would prefer the ip addresses to use.
access-list 1 permit 12.3.2.0 0.0.0.255 access-list 2 permit 12.3.1.0 0.0.0.255 access-list 2 permit 65.200.5.0 0.0.0.31
route-map PrependToATT permit 10 match ip address 2 set as-path prepend 1000 1000 1000 ! route-map PrependToATT permit 20 match ip address 1 ! route-map PrependToQwest permit 10 match ip address 1 set as-path prepend 1000 1000 1000 ! route-map PrependToQwest permit 20 match ip address 2 !
On the routers that AS1000 directly peers with I see the path prepending properly. However, any other router (IBGP or EBGP) this information seems to be lost.
I have tried using soft reconfiguration to force the changes out but no luck.
What am I missing?
Thanks Amy.