Mikrotik

Here we set up a BGP instance on a Mikrotik router to connect with OpenWRT peer to just accept all the routes from it and don’t push anything. Therefore the configuration is pretty straightforward.

Start by adding the BGP instance.

Note

Remember that if you already have a default bgp instance defined replace add by edit.

> routing bgp instance add name="default" as=64512 router-id=192.168.3.1

Now add the openwrt neighbor

> routing bgp peer add name=openwrt instance=default remote-addre
ss=192.168.3.103 remote-as=64513

If everything went right you should see the peer routes.

> ip route print where bgp=yes