Community discussions

MikroTik App
 
snaykkepitt
just joined
Topic Author
Posts: 3
Joined: Thu Jan 26, 2023 2:11 am

BGP routes show as Unreachable

Fri Feb 24, 2023 10:38 pm

I have two 2004s connected together and #1 has an external BGP connection.
The two have an IBGP connection between them with full table propagation.
I've can see all the routes on #2, but output from routing route print detail shows that they are all Unreachable. ip route print shows the routes as invalid.

Routes from ip route print look like this:

DIbH 96.53.96.0/19 206.75.132.86 200

At first, I thought it was because the gateway address was unreachable, so I added a static route to point to the /30 that includes that address via the appropriate interface.
Now I can ping that IP address from #2, but the routes are still unreachable.

From the routing route print detail I see that the local AS is not being added to the as-path as seen on #2.

routing bgp session print for #2:

> routing bgp session print
Flags: E - established
0 E name="southside-bgp-peer-1"
remote.address=10.128.1.1 .as=6171 .id=10.0.213.26 .capabilities=mp,rr,gr,as4 .hold-time=1m
.messages=228086 .bytes=23259730 .eor=""
local.role=ibgp .address=10.128.1.2 .as=6171 .id=10.0.213.28 .capabilities=mp,rr,gr,as4
.messages=50 .bytes=1003 .eor=""
output.procid=20 .default-originate=if-installed
input.procid=20 ibgp
multihop=yes hold-time=1m keepalive-time=20s uptime=16m19s690ms
last-started=jun/27/1970 16:10:09 last-stopped=jun/27/1970 15:59:48


For #1:

> routing bgp session print
Flags: E - established
0 E name="external-bgp-peer-1"
remote.address=206.75.132.86 .as=852 .id=154.11.47.20 .capabilities=mp,rr,as4
.hold-time=1m30s .messages=1942559 .bytes=160301195 .eor=""
local.address=206.75.132.85 .as=6171 .id=10.0.213.26 .capabilities=mp,rr,gr,as4
.messages=63811 .bytes=1212438 .eor=""
output.procid=21 .filter-chain=filter-telus-out .network=bgp-out
input.procid=21 .filter=filter-telus-in .allow-as=10 ebgp
hold-time=1m keepalive-time=20s uptime=2w18h31m1s170ms
last-started=feb/09/2023 17:08:38 last-stopped=feb/09/2023 16:12:14

1 E name="downtown-bgp-peer-1"
remote.address=10.128.1.2 .as=6171 .id=10.0.213.28 .capabilities=mp,rr,gr,as4
.hold-time=1m .messages=48 .bytes=965 .eor=""
local.role=ibgp .address=10.128.1.1 .as=6171 .id=10.0.213.26
.capabilities=mp,rr,gr,as4 .messages=228018 .bytes=23253926 .eor=""
output.procid=20 .default-originate=if-installed
input.procid=20 ibgp
multihop=yes hold-time=1m keepalive-time=20s uptime=15m36s20ms
last-started=feb/24/2023 11:24:03 last-stopped=feb/24/2023 11:13:43


Example route from routing route print detail on #2:

UbH afi=ip4 contribution=unreachable dst-address=96.53.96.0/19 routing-table=main
gateway=206.75.132.86 distance=200 scope=40 target-scope=30
belongs-to="bgp-IP-10.128.1.1"
bgp.peer-cache-id=*B000007 .as-path="852,6327" .communities=852:180 .local-pref=100
.med=80 .atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x20242480

ping output from #2 to destination address in route:

> ping 206.75.132.86
SEQ HOST SIZE TTL TIME STATUS
0 206.75.132.86 56 64 277us
1 206.75.132.86 56 64 243us
2 206.75.132.86 56 64 256us
3 206.75.132.86 56 64 225us
4 206.75.132.86 56 64 234us
sent=5 received=5 packet-loss=0% min-rtt=225us avg-rtt=247us max-rtt=277us

Who is online

Users browsing this forum: No registered users and 13 guests