BGP advertisement with two different upstreams

Hi great fellas,
i have advertised two different prefixes in same mikrotik router v6 with two different upstreams, one is newly advertised and established but new prefix does not work nor ping or trace toward internet.
BGP config:
/routing bgp instance
set default as=x
add as=***** name=BGP-*** router-id=x.x.x.x
/routing bgp network
add network=x.x.x.x/x synchronize=no
add network=x.x.x.x/x synchronize=no
/routing bgp peer
add multihop=yes name=somthing out-filter=EA-OUT remote-address=
x.x.x.x remote-as=x ttl=5 update-source=ether1

add instance=BGP-x multihop=yes name=BGP-xx out-filter=AFTEL-OUT
remote-address=x.x.x.x remote-as=x update-source=ether3
and in filter part only prefxi is specified and action is accept.

Does your upstream provider know about the extra range and have they confirm they have adjusted there filters?
You can advertize anything you like but unless they accept it your going nowhere :slight_smile:

I haven’t used v6 for ages but I think you may have to take bgp down and up again to take new filters.

@ldb
they are two different internet providers, it is neccesary to inform the old provider since we only advertise one prefix with each of them. does the old provider needs to bring any changes?
as I say again, that both prefixes are advertised with the awareness of both of them but one each of them know about one prefix that we informed them.

Two different providers need two bgp sessions

You can’t have both there AS numbers on the one session :slight_smile:

So your configuration above is wrong as in this

/routing bgp instance
set default as=x
add as=*****

That is one BGP and one AS number (and also a different remote address)… so you don’t have a BGP peer session to second isp

Can I suggest you look under winbox it’s much more obvious you can make two BGP sessions.

from everthing is like AS number, instances, peers, and networks are created separately, kindly if you the solution, let me know how to have a two prefix funtional under one router!

From the descriptions you wrote, nothing is clear.

Your connection provider must be informed and can check whether or not they receive publication requests from your router.

If you want to publish another prefix, in addition to having the parameters on your correct LIR AFRINIC / APNIC / ARIN / LACNIC / RIPE some require that the RPKI is configured correctly and before seeing a prefix published that tries to publish you must wait from 24 to 48 hours…

Sigh … Yes I actually have 2, 3 and sometimes 4 BGP sesion with many many prefixes but only Os7 stopped using 6 a while ago
None of that changes the mechanics and it’s more obvious in winbox … 1 remote AS one BGP session
That is what I am scratching my head at your two ISP have different AS and different remote IPs how are you combining them :slight_smile:

Even if you have the same provider with same AS It is not allowed to add multiple peers with the same remote-address.
That is what I am confused about with your config, both isp should have given you a transit ip to connect the BGP
In the below you can see the private transit IP to each provider and there AS.

Each BGP session acts independently and it’s no harder to deal with multiple than it is one.
Hence I am saying show me the winbox screen of the two sessions it’s easier to see problem then from CLI and on the session tab it tells you lots nicely presented LIKE status and prefix count.

I have attached the photo config, I hope finally by looking at them you may concieve everthing. the second advertised prefix does not give reply from internet.
b bgp.JPG
reply from old prefix.JPG
filter bgp.JPG
bgp2.JPG

Okay so you have a prefix count to each so now test they are accepting it fully on the second ISP
I don’t know why you are ibgp that is just weird but they no doubt told you to do that.
Generally iBGP is when same AS to same AS number eBGP is for different AS
You clearly have different AS numbers so it should be eBGP but that is on the ISP so moving forward

I think you have worked this out but I will walk thru it

So we need to test an IP from the prefix range on the router so put a prefix IP on any bridge or interface is fine.
*** Warning if that is a public ip you need to make sure router is protected or retards will try and log in
So lets say the isp gateway is www.xxx.yyy.zzz and your prefix ip is aaa.bbb.ccc.ddd

Now what you do is open a new terminal and ping the isp gateway from the prefix source ip

ping www.xxx.yy.zzz src-address=aaa.bbb.ccc.ddd

If it responds they are accepting your advertizing fully and you can prove that by turning off bgp and it should stop pinging.
The reason is stops pinging is they will no longer know where aaa.bbb.ccc.ddd is without the BGP … it’s pretty much instant.

Now you do the test to 1.1.1.1 or 8.8.8.8 from your prefix IP

ping 1.1.1.1 src-address=aaa.bbb.ccc.ddd

If that doesn’t work you need to talk to ISP because they have forgotten to put your prefix in there upstream filters.
Basically you can ping any router in the ISP network but can go no further.