between RB1100AH2 and Cisco 7206VXR I woudl like to redistribute connected route. It is working but I can’t make a good filter from Mikrotik to control what it is send to the 7206.
today I have these working lines to announce only these 3 prefixes. It working ok but when I have a new route I have to add it to filter also.
Is it a way to have filter rule that accept directly new connected route in my net 213.177.64.0/19 without adapting BGP filter ? I have try rule with 213.177.64.0/19 but no way.
I just want to redistribute the connected prefixe under my /19 without adap the filter. Today it is working just with my filter but with rules with /19 all prefixe are announced but also a prefixe with my whole /19 that i don t want. Need only the 3 connected prefixe…
result:
sh ip bgp neighbors 213.177.66.194 received-routes
BGP table version is 21750285, local router ID is 213.177.64.210
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
i213.177.65.0 213.177.66.194 100 0 ?
i213.177.66.224/27
213.177.66.194 100 0 ?
i213.177.72.96/29 213.177.66.194 100 0 ?
Total number of prefixes 3
now I would like to understand the usage of prefix-length, could you explain ?
The fiilter will pass any network prefix with “perfix-length” mask originating in “prefix” network.
In your case, any 213.177.64.0/20, 213.177.64.0/21, …, 213.177.64.0/32 which originate in 213.177.64.0/19, but not 213.177.64.0/19 (since the mask is not 20 to 32).