model: CCR1036-8G-2S+
revision: r2
factory-firmware: 6.43.10
current-firmware: 6.45.3
upgrade-firmware: 6.45.3
Maybe i have searched bad, but didn't found exact what i need.
Situation - i need to announce a lot of prefixes to multiple bgp peers, and need to get more-specific route announcement
example:
I have directly-connected network 192.168.0.0/22 on interface (another prefixes, and in fact more then one, but it doesn't make any changes for question)
What i exactly need to announce to one peer /22 and to another 192.168.0.0/23 and 192.168.2.0/23. To have normal working prefixes and network synchronization (to have a chance to stop announce of /23 in soft reset case) i need to have in static routing table exact match for 192.168.0.0/23 192.168.2.0/23.
I've made for now it by route to interface:
ip route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
4 ADC dst-address=192.168.0.0/22 pref-src=192.168.0.1 gateway=sfp-sfpplus1 gateway-status=sfp-sfpplus1 reachable distance=0 scope=10
5 A S dst-address=192.168.0.0/23 gateway=sfp-sfpplus1 gateway-status=sfp-sfpplus1 reachable distance=1 scope=30 target-scope=10
7 A S dst-address=192.168.2.0/23 gateway=sfp-sfpplus1 gateway-status=sfp-sfpplus1 reachable distance=1 scope=30 target-scope=10
But have doubts about possible issues with routing such addresses like 192.168.1.255 or 192.168.2.0.
Doest it will be correct? Or there is another better way to make it? like was in cisco null0 254 route?
I've found an post where was made blackhole route with distance 254. but by tests and as i understand this way will only works fine with aggregation of prefixes.. not with more specific routes.
In current situation it seems to be working, but we already got a mysterious issue - about 90% forwarding packet drop from random sources. By researching incident with multiple firmware changes, and trying to upload save config - suspect that problem was with renaming interfaces. Made initial configuration one more time without renaming - and all was routed fine.