Community discussions

MikroTik App
 
User avatar
tomasi
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Fri Oct 03, 2014 6:40 pm
Location: Brazil
Contact:

How does "Set BGP Prepend Path" work?

Wed Jun 16, 2021 7:45 pm

Hi,

I'm trying to change AS-path inside our AS for an specific IPv4 BGP annoucement: 138.N.N.0/24
image_2021-06-16_123611.png

PE 7 send route to PE 10 with option Set BGP Prepend Path configured to add AS 300 before our main AS (AS 700 configured in Instance and iBGP peers)
2021-06-16 12_32_19.png

This way I tought PE 10 would receive the BGP prefix with AS-path =
300 I

But this is not happening

PE 10 receives the iBGP route without any change:
show route 138.N.N.0/24 exact detail 
        *BGP    Preference: 170/-101
                Source: 10.7.7.7
                AS path: I

How can achieve that? I need to change AS-path received on PE 10 before send that specific BGP announcement to upstream providers

AS 300, AS 700 and AS 1000 are only examples.
In my real scenario all AS are public

Thanks
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How does "Set BGP Prepend Path" work?

Wed Jun 16, 2021 8:43 pm

AS path manipulations should be done on the AS edge router. iBGP does not change AS path.
 
User avatar
tomasi
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Fri Oct 03, 2014 6:40 pm
Location: Brazil
Contact:

Re: How does "Set BGP Prepend Path" work?

Wed Jun 16, 2021 11:29 pm

This way I'll need to install another RB just to generate the IPv4 prefix in AS 300
image_2021-06-16_162838.png
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 14 guests