Community discussions

MikroTik App
 
User avatar
gmsmstr
Trainer
Trainer
Topic Author
Posts: 982
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO
Contact:

BGP v7.13 iBGP gateways

Tue Dec 19, 2023 4:09 pm

I have a router that has an iBGP connection to its neighbor. When we learn the prefixes from the neighbor set to distribute it stated the gateway is 25.1 as it should, however, I am also getting other prefixes that have a gateway of 0.10 and 0.30, these are gateways that the peering router uses. We have the bgp session set to force self on nexthop but it does not look like it is doing this on learned prefixes. Those prefixes are coming from another BGP peer that is connected to router2.

Thoughts. comments. This normal? Because those gateways are not reachable to router1. When I changed the gw in the filters that breaks it as well.. :(
 
User avatar
netravnen
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Sun Dec 31, 2017 2:48 am

Re: BGP v7.13 iBGP gateways

Tue Dec 19, 2023 10:20 pm

Thoughts. comments. This normal? Because those gateways are not reachable to router1. When I changed the gw in the filters that breaks it as well.. :(
Could you post an expect for the relevant /routing/filter/* part?
 
User avatar
gmsmstr
Trainer
Trainer
Topic Author
Posts: 982
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO
Contact:

Re: BGP v7.13 iBGP gateways

Tue Dec 19, 2023 10:26 pm

 gw 172.25.25.2,
This sets the gateway but it don't use it, and it appears broke when i try to do this

I also have tried
 gw 172.25.25.2%interfacename 
The question is why is it sending the gw that it learned to router1, vs changing it seeing we have force -self on..

Who is online

Users browsing this forum: No registered users and 6 guests