How to do iBGP and then eBGP?

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

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

http://forum.mikrotik.com/t/remove-private-ases-with-bgp/120142/1

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.