I am having a difficult time figuring out one of the fundamental rules of iBGP, eBGP, and confederations.
Consider the following routers which are all in the same Autonomous System (AS)
r1 == r2 == r3
r1 is in sub-AS(confederation)
r3 are in sub-AS(confederation)
I know that iBGP speakers will not advertise routes learned from iBGP to other iBGP peers.
My understanding of confederations is that sub-AS's behave like eBGP peers. Perhaps this is wrong.
My question is if
r2 learns of a route from
r3 via iBGP will
r2 advertise that route to
r1? (currently this is not happening)
I know I could work around by making
r1 a route reflector client of
r2. I also know there are commands to disable filtering out routes that you don't actually have, but that doesn't seem right either.
I could also set static routes and redistribute them into eBGP, but I'm trying to make this scalable so I don't have to add 100s of static routes.
Is there some setting that could "redistribute" iBGP learned routes into eBGP (then I can filter which ones with a route-map)? or a setting to inject iBGP routes into eBGP?
I turned off syncronization on all routers
When I remove static routes on
r3 and clear BGP sessions,
r1 receives the routes for