Can't BGP peer between Vyos and Mikrotik router

I’m having an issue BGP peering a physical Mikrotik router on the same LAN as a virtual Vyos (rolling) instance.

On the Vyos side I used the following commands:
set protocols bgp 65010 address-family ipv4-unicast redistribute connected
set protocols bgp 65010 neighbor remote-as ‘65020’
set protocols bgp 65010 neighbor capability dynamic
set protocols bgp 65010 parameters router-id

And I now see this:
show ip bgp summary

IPv4 Unicast Summary:
BGP router identifier, local AS number 65010 vrf-id 0
BGP table version 5
RIB entries 5, using 960 bytes of memory
Peers 1, using 21 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt 4 65020 0 0 0 0 0 never Active 0

Ok the Mikrotik side I setup a BGP peer (RouterOS):
/routing bgp instance
set default as=65020
/routing bgp peer
add name=Vyos01 remote-address= remote-as=65010

From each router appliance I can ping the peer IP address. However, the two routers won’t peer. Ideas?

You tell the same lan, but ip addresses of the peers are different

set protocols bgp 65010 neighbor
add name=Vyos01 remote-address=

Ya I didn’t attach a network diagram, so my wording of ‘same LAN’ is probably misleading without more context. Apologies! By LAN I simply meant within my house (e.g. not going cross sites, outside to my ISP, etc.). There is routing between 10.13.2.x and 172.26.x.x, thus I can ping all addresses from each side.

Ok, I thought more about your response, and just for kicks I used a different IP interface on the Mikrotik router (, and viola…the BGP peer came up. Thanks for putting me onto the different subnet path. I figured since it was already routed it would work, but obviously not.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.