Issue with establishing BGP

Hi Guys,

We have got two installation of RouterOS and they have internal BGP. After a reboot it the internal BGP session between those routers stopped working and cannot be established.

No changes were made to configuration and another reboot of devices does not fix the problem.

In the logs we can only see the following message:
Failed to Open TCP connection: Invalid argument.

We have got another 3 bgp session working with external provider

Enabling extra logs for bgp does not give me too much information.

Both of these device can remote Remote ID on port 179 so you can telnet form both device to each other

Many thanks for any help.

Raf

Please show your BGP configuration. Do /routing bgp export and display the results here.

Many thanks for your response.

router 2

jan/31/2019 14:47:16 by RouterOS 6.40.3

software id =

/routing bgp instance
set default as=12345 router-id=xx.xx.244.200
/routing bgp network
add network=xx.xx.240.0/23 synchronize=no
add network=xx.xx.242.0/23 synchronize=no

/routing bgp peer
add default-originate=always in-filter=IntSite-in name=IntSite
out-filter=IntSite-out remote-address=xx.xx.244.192 remote-as=12345
update-source=loopback0


router 1

jan/31/2019 14:48:18 by RouterOS 6.40.3

software id = A9SJ-xxxx

/routing bgp instance
set default as=12345 router-id=xx.xx.244.192
/routing bgp network
add network=xx.xx.240.0/23 synchronize=no
add network=xx.xx.242.0/23 synchronize=no
add network=xx.x.244.0/22 synchronize=no

/routing bgp peer
add default-originate=always in-filter=IntSite-in name=IntSite
nexthop-choice=force-self out-filter=IntSite-out remote-address=
xx.xx.244.200 remote-as=12345 update-source=loopback0

Try setting update-source to the local address of the router when connecting to the peer (probably same as the router-id in these listings)

Many thanks pe1chl that has fixed the problem.

So it seems there is any issue with loopback01 configuration if that was working using that before.

King Regards
Raf

Well, it depends on how that interface is configured and how the remainder of your network is layed out.
Maybe you have added or deleted an address to that interface for other purposes.
I prefer the explicit configuration with an address instead of interface, as that is also what is configured at the other end.

BTW, you should update your RouterOS.

Many thanks for info.

We are looking into updating it.