We are experiencing a very strange issue... If any one can shed some light, it would be great.
Background: We have more than a hand full of X-86 RouterOS Routers working as Edge Routers in different parts of our network, some of them with as many as 80-90 BGP Peering sessions (connecting to different peering exchanges).
We have one such router(i7 x-86) been operating for more then 6 months, with about 30 or more BGP peering sessions, chugging away perfectly fine...
Last week, we needed to bring up one more bgp peering session, but this time, when we try to bring the session up, we immediately get error message in the log.
route, bgp, error Duplicate remote Routerid: xx.xx.xx.xx < where xx.xx.xx.xx is our router ID/ loopback IP.
RemoteAddress= yy.yy.yy.yy < where yy.yy.yy.yy is the remote IP of the new bpg peer.
Router is running ROS 6.37.5 (originally we saw this error when run ROS.6.32.4, we upgraded, and still have the same error).
Is it possible you’ve used a RFC1918 IP as your loopback IP and just out of sheer luck and coincidence this peer used the same one?
A troubleshooting step would be just to change your router-id in the BGP instance. Sadly this will (should) reset the BGP sessions you have causing routes to flap once likely.
The router-id value shown is what you’d expect? You keep saying router IP. A RID actually doesn’t have to be an IP on the system and can in fact be set to whatever you want. By default this should be the highest IP in the system.
We use a public IP for the Router Loopback interface, and we use that same IP address as the Router-ID (in the bgp instance).
Yes, I did change the Router-ID in the bgp instance (default instance), and verified..
This particular peer, when I enable it, gives me the same error message, duplicate router-id… (it give the changed router-id, after the router-id change).
Not with that peer… I have also shutdown all of my bgp session on this Edge Router, and then just turn up this particular peer, and I still get the same duplicate router-id message.
Thank you all for your suggestions and comments… I feel incredibly stupid… after staring at it and doing the packet capture… I realized that I was using my-own IP address (as assigned by the Peering Exchange) for the other peers remote address.