I have three router eBGP peers configured as follows, each with their own AS. R2 is the Mikrotik. The others are different vendors.
R1 <-> R2 <-> R3
R1 is originating default and injecting into eBGP. R2, the Mikrotik, is receiving it passing it to R3 with no problems. R1 & R2 are peered over a shared /29, R1 being 192.168.68.209 and R2's being 192.168.68.210.
However R2, the Mikrotik, doesn't seem to want to use the default route learned via BGP. It only works if I configure a static entry with the same info. For example:
Code: Select all
[localadmin@MikroTik] /ip/route> pr
Flags: D - DYNAMIC; A - ACTIVE; c - CONNECT, s - STATIC, b - BGP, o - OSPF
Columns: DST-ADDRESS, GATEWAY, DISTANCE
# DST-ADDRESS GATEWAY DISTANCE
D b 0.0.0.0/0 192.168.68.209 20
0 As 0.0.0.0/0 192.168.68.209 10
[localadmin@MikroTik] /ip/route> /ping 1.1.1.1
SEQ HOST SIZE TTL TIME STATUS
0 1.1.1.1 56 50 20ms24us
1 1.1.1.1 56 50 19ms960us
Now, if I make the static distance longer so BGP is selected, it go boom.
Code: Select all
[localadmin@MikroTik] /ip/route> pr
Flags: D - DYNAMIC; A - ACTIVE; c - CONNECT, s - STATIC, b - BGP, o - OSPF
Columns: DST-ADDRESS, GATEWAY, DISTANCE
# DST-ADDRESS GATEWAY DISTANCE
DAb 0.0.0.0/0 192.168.68.209 20
0 s 0.0.0.0/0 192.168.68.209 25
[localadmin@MikroTik] /ip/route> /ping 1.1.1.1
SEQ HOST SIZE TTL TIME STATUS
0 1.1.1.1 timeout
1 1.1.1.1 timeout
Code: Select all
[localadmin@MikroTik] /ip/route> print detail where dst-address=0.0.0.0/0
Flags: D - dynamic; X - disabled, I - inactive, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, i - is-is, d - dhcp, v - vpn, m - modem, y - bgp-mpls-vpn;
H - hw-offloaded; + - ecmp
0 Xs dst-address=0.0.0.0/0 gateway=192.168.68.209 distance=10
DAb dst-address=0.0.0.0/0 routing-table=main gateway=192.168.68.209 immediate-gw=192.168.68.209%ether1
distance=20 scope=40 target-scope=10 suppress-hw-offload=no
Code: Select all
[localadmin@MikroTik] /ip/route> print detail where dst-address=0.0.0.0/0
Flags: D - dynamic; X - disabled, I - inactive, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, i - is-is, d - dhcp, v - vpn, m - modem, y - bgp-mpls-vpn;
H - hw-offloaded; + - ecmp
0 Xs dst-address=0.0.0.0/0 gateway=192.168.68.209 distance=10