I have a AS-PATH with an internet exchange in the middle. Actually one of my peers kind of acts like an exchange.
I want to remove the AS number of the peer in the middle which is inside the AS PATH (as normally the AS number of the internet exchange is not seen).
so I want to do a rule like this
if (bgp-as-path ^123,456$) { set bgp-as-path=456;}
but bgp-as-path is a read only property. So this doesn’t work.
How can the first AS number in a path be removed (only applies to certain paths, not all, so it can not be set as option on the connection)
[]
want to remove the AS number of the peer in the middle which is inside the AS PATH (as normally the AS number of the internet exchange is not seen).
[]
if you did peered with the ix - maybe you can propose to do a kind of confederation with them. hence you won’t see their actual asn anywhere along the path.
but.. this confederation won’t make any global routing changes if you do it with private asn. just be careful with it so you won’t disrupt the world.
every internet exchange with a route server basically does not insert their own AS. This is important to not increase the path lengths artificially.
Now I have one guy playing as a internet excange but he inserts his AS number which I want to remove again so routing is more smoothly. But it seems mikrotik cant do that sight
[]
Now I have one guy playing as a internet excange but he inserts his AS number which I want to remove again so routing is more smoothly. But it seems mikrotik cant do that sight
[]
no no)) this is not MT problem))
sometimes it’s normal to see some ix having their own asn attached. some ix do have their own legitimate address block for their data center. ie. rack rental vps facility etc. supplied by the layer 2 providers.
so… it’s depends on you yourself for the approach.