BGP Multiple Instances

Hello, I Seek the forum and found nothing that clears my doubt.

So here is:

I have a FreeBSD BGP (Zebra+Quagga) running, and I want to change to a Mikrotik BGP.

In the FreeBGP, I have 2 instances, 2 different AS's
So all I needed to do was declare multiple-instance, and for the second AS, i declared as a 'view'.

In mikrotik, I heard that I can do multiple instance too, but I didn't figured how.
I did:


[admin@MikroTik] > routing bgp instance print
Flags: X - disabled
0 name="default" as=65530 router-id=0.0.0.0 redistribute-connected=no
redistribute-static=no redistribute-rip=no redistribute-ospf=no
redistribute-other-bgp=no out-filter="" client-to-client-reflection=yes
ignore-as-path-len=no routing-table=""

1 name="INSTANCE_1" as=MY_AS_1 router-id=MY_ROUTER_ID_1 redistribute-connected=yes
redistribute-static=yes redistribute-rip=no redistribute-ospf=no
redistribute-other-bgp=no out-filter="" client-to-client-reflection=no
ignore-as-path-len=no routing-table=""

2 name="INSTANCE_2" as=MY_AS_2 router-id=MY_ROUTER_ID_2 redistribute-connected=yes
redistribute-static=yes redistribute-rip=no redistribute-ospf=no
redistribute-other-bgp=no out-filter="" client-to-client-reflection=no
ignore-as-path-len=no routing-table=""

[admin@MikroTik] > routing bgp peer print
Flags: X - disabled, E - established

INSTANCE.....................REMOTE-ADDRESS.............................................REMOTE-AS

0 INSTANCE_1...................REMOTE_ADDRESS_OF_MY_LINK_PROVIDER............AS_OF_MY_LINK_PROVIDER


But I can't add another Peer, for the INSTANCE_2, is that needed?


Thanks, and sorry for any English mistake, hehe :wink:

Instance config is correct.
You should be able to add more than one peer per instance. What error message is displayed when you are trying to add second peer?

Oh, I can’t remember right now the exactly error message.

But I remember if I change the Remote Address, it Add with no errors. But it’s the same Link for both AS’s, the same Remote Address, what should I do?.


Edit.: The error message is : ‘Couldn’t add New BGP Peer - already exists (6)’

It is not allowed to add multiple peers with the same remote-address.

So what should I do?

I need to get this Two AS’s working on this Mikrotik BGP, and they will work on the same link. On my FreeBSD BGP it is working, like I said before.


There is no way? I need this !

You can set different ip address on the same interface and use that one for second peer.

Sorry for bumping on to this old thread but it resembles to what i am trying to do. I currently have a same scenario where I am trying to establish BGP with same remote-address from 2 different AS.

It’s giving me error as the OP stated. Now the resolution seems to use a different remote-address but the remote-address is provided by my provider and it has to remain the same.

Any clue about how to make it work ?

Hi
Use confederation to combine the 2 AS into one then use that for the upstream peer.