Community discussions

MikroTik App
 
mobilexpi
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Thu May 26, 2005 5:24 am
Location: Santiago

How to do iBGP and then eBGP?

Thu Nov 18, 2021 2:51 pm

Hi guys,
I hope you're doing fine. I'm facing an issue with a prefix we give transit to, I have tried remove private AS to my upstream provider but in looking glass I'm still seeing the private AS in the AS-path

This is the scenario

In Router 1
- BGP session with my upstream provider using our public ASN, with "Remove Private AS" checkbox marked
- BGP session with Router 2 using AS65100

In Router 2
- BGP session with Router 1 using AS65101
- BGP session with a downstream provider using our public ASN (the downstream announces one prefix with their public ASN)

The problem:
In all the looking glass I have tested the prefix of the downstream appears with AS-path [OUR Upstream ASN] - [OUR ASN] - [AS65101] - [DOWNSTREAM ASN]

What I'm missing?

Thanks
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: How to do iBGP and then eBGP?

Thu Nov 18, 2021 4:21 pm

Remove private AS in MikroTik only works on eBGP and it will not remove a private ASN if public ASNs are in path.

viewtopic.php?t=135246#p667529
 
mobilexpi
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Thu May 26, 2005 5:24 am
Location: Santiago

Re: How to do iBGP and then eBGP?

Thu Nov 18, 2021 5:36 pm

HI IPANetEngineer,
Oh good point. Any idea how could you I find a workaround for this? I tried putting AS12345 (my public ASN) in both Router 1 and Router 2 and establishing a BGP session between AS12345 and AS12345, but it doesn't work apparently.

Who is online

Users browsing this forum: No registered users and 14 guests