Some servers announce routes via BGP to the VRRP address of the routers. Those routes are learned, seen as active and traffic gets routed there.
Code: Select all
[user@cr01] > /routing/route/print where bgp
Flags: A - ACTIVE; b, y - COPY; +, B - BLACKHOLE
Columns: DST-ADDRESS, GATEWAY, AFI, DISTANCE, SCOPE, TARGET-SCOPE, IMMEDIATE-GW
DST-ADDRESS GATEWAY AFI DISTANCE SCOPE TARGET-SCOPE IMMEDIATE-GW
Ab+ 10.10.10.1/32 10.10.3.2 ip4 200 40 30 10.10.3.2%vl-1030-tools
10.10.3.2%vrrp-tools
b+ 10.10.10.1/32 10.10.3.3 ip4 200 40 30 10.10.3.3%vl-1030-tools
10.10.3.3%vrrp-tools
Now I want to announce/advertise the learned BGP routes from cr01 to cr02 (and the other way around) but this does not succeed (unfortunately I cannot see why).
Code: Select all
[user@cr01] > /routing/bgp/export
# jan/19/2023 11:53:41 by RouterOS 7.7
# software id = x
#
# model = CCR2116-12G-4S+
# serial number = x
/routing bgp connection
add as=64601 disabled=no listen=yes local.address=10.10.99.253 .role=ebgp name=to_cr02.home output.network=test_host_anycast_dns remote.address=10.10.99.252 router-id=10.10.99.253 routing-table=main
add as=64600 listen=yes local.address=10.10.3.254 .role=ibgp name=from_net_tools remote.address=10.10.3.0/24 router-id=10.10.3.253
Code: Select all
[user@cr02] > /routing/bgp/export
# jan/19/2023 11:55:29 by RouterOS 7.7
# software id = x
#
# model = RB3011UiAS
# serial number = x
/routing bgp connection
add as=64602 disabled=no listen=yes local.address=10.10.99.252 .role=ebgp name=to_cr01.home output.network=test_host_anycast_dns remote.address=10.10.99.253 router-id=10.10.99.252
add as=64600 listen=yes local.address=10.10.3.254 .role=ibgp name=from_net_tools remote.address=10.10.3.0/24 router-id=10.10.3.252
I have the following address list on both routers.
Code: Select all
[user@cr01] > /ip/firewall/address-list/print where list="test_host_anycast_dns"
Columns: LIST, ADDRESS, CREATION-TIME
# LIST ADDRESS CREATION-TIME
;;; TEST anycast IP for DNS
0 test_host_anycast_dns 10.10.10.1 jan/18/2023 20:32:55
The BGP connections are there.
Code: Select all
[user@cr01] > /routing/bgp/connection/print
Flags: D - dynamic, X - disabled, I - inactive
0 name="to_cr02.home"
remote.address=10.10.99.252
local.address=10.10.99.253 .role=ebgp
listen=yes routing-table=main router-id=10.10.99.253 as=64601
output.network=test_host_anycast_dns
1 name="from_net_tools"
remote.address=10.10.3.0/24
local.address=10.10.3.254 .role=ibgp
listen=yes routing-table=main router-id=10.10.3.253 as=64600
Code: Select all
[user@cr02] > /routing/bgp/connection/print
Flags: D - dynamic, X - disabled, I - inactive
0 name="to_cr01.home"
remote.address=10.10.99.253
local.address=10.10.99.252 .role=ebgp
listen=yes routing-table=main router-id=10.10.99.252 as=64602
output.network=test_host_anycast_dns
1 name="from_net_tools"
remote.address=10.10.3.0/24
local.address=10.10.3.254 .role=ibgp
listen=yes routing-table=main router-id=10.10.3.252 as=64600
Could somebody please point out what I am missing?