I do have two local subnets that i need to announce/send to my intranet BGP peer as ONE network 172.17.52.0/23 and not TWO networks.
This seems used to work, but after upgrade from RouterOS 6 to RouterOS 7.1.3 (stable) seems not working and I need reconfiguration?
Here is part of config:
In this case, no routes are sent./ip address
add address=172.17.52.1/24 interface=lan
add address=172.17.53.1/24 interface=mgmt
/ip firewall address-list
add address=172.17.52.0/23 list=bgp-networks
/routing filter rule
add chain=chain-out disabled=no rule="if (dst == 172.17.52.0/23) { set bgp-path-prepend 2; set bgp-communities XXXX:100; accept; }"
add chain=chain-out disabled=no rule="if (dst in 0.0.0.0/0 && dst-len in 0-128) { reject; }"
/routing bgp connection
add as=XXX cisco-vpls-nlri-len-fmt=auto-bits connect=yes disabled=no input.filter=chain-in listen=yes local.address=10.98.10.57 .role=ebgp name=MyCon nexthop-choice=force-self output.filter-chain=chain-out .network=bgp-networks .no-client-to-client-reflection=yes remote.address=10.98.10.58/32 .as=YYYY router-id=172.17.52.1 routing-table=main
In case I do modify ip firewall address-list and routing filter route, mentioning two subnets - then both are sent.
I need to send only one/bigger route/subnet 172.17.52.0/23. How to achieve this with RouterOS 7 ?
Thank you