I'm trying to configure an OpenBSD box as a BGP route reflector.
I have an iBGP peer configured to one of our core routers which has an eBGP
session to one of our providers. I have configured that neighbor with the
"route-reflector" option in bgpd.conf. If I log updates, and watch the log
as the session comes up, I see a lot of updates come in, with the next-hop
attribute set to the IP of our provider, which is what I would expect as
the next-hop should not be changed in iBGP.
If I then show fib or show rib with bgpctl, the next-hop for all these
routes is actually the IP of our core router, rather than that of our provider.
I have configured a static route on the OpenBSD box to our provider's IP,
so the problem isn't that it is an unreachable network.
I think I must be missing something, because AFAIK, this isn't the correct
behaviour for iBGP.