My setup:
Tik router with a /30 on the WAN let say 1.1.1.1
Directly connected to my provider 1.1.1.2
I setup a peering connection with 1.1.2.1 which is directly connected to 1.1.1.2.
I added a static route to 1.1.2.1 with a gateway of 1.1.1.2.
I am able to pull all the routes down from 1.1.2.1 but all the routes are not active. When using Winbox the router tells me the interface to reach these routes learned through BGP is “unknown”
by default, bgp routes have “target-scope” value less then “scope” value of static routes. You should set “scope” of the static route to a lower value.
i have the same problem with bgp multihop as well;
example using the same ips as wkm001;
i establish a bgp connection with 1.1.2.1 via 1.1.1.2 (no problems
here) but when i receive routes, the gateways on the routes are
set as 1.1.2.1 when they actually should be 1.1.1.2. i tried to use
the ‘nexthop’ parameter while filtering, but it doesn’t help.
if a bgp session is checked as ‘multihop’ the default route should
be the interface used to access the remote bgp router, not the bgp
router itself.