Hello,
I'm trying to find the reason of storing CONNECTED/INTERFACE routes (ones
with type==ZEBRA_ROUTE_CONNECT and sub_type==RIP_ROUTE_INTERFACE) in ripd
routes database (this one from "show ip rip"). It seems ripd reads IP
addresses from interfaces and adds such routes (possible multiple times!)
even with "redistribute connected" disabled. When "redistribute connected"
is enabled such routes are replace by CONNECTED routes received from zebra
- they are strored as "CONNECTED/REDISTRIBUTE". Both problems are not a
very important in current ripd code which can only keep one route per
destination, but like I have already mentioned before, for obvious reasons
I have worked with the code to change this. Those CONNECTED/INTERFACE
routes seems to me to be quite useless - they are not announced to rip
neighbors and I'm not able to find code which needs them to work properly.
I was thinking if we can remove then completly but maybe I forget about
something important?
Any comments on this?
Best regards,
Krzysztof Oledzki
I'm trying to find the reason of storing CONNECTED/INTERFACE routes (ones
with type==ZEBRA_ROUTE_CONNECT and sub_type==RIP_ROUTE_INTERFACE) in ripd
routes database (this one from "show ip rip"). It seems ripd reads IP
addresses from interfaces and adds such routes (possible multiple times!)
even with "redistribute connected" disabled. When "redistribute connected"
is enabled such routes are replace by CONNECTED routes received from zebra
- they are strored as "CONNECTED/REDISTRIBUTE". Both problems are not a
very important in current ripd code which can only keep one route per
destination, but like I have already mentioned before, for obvious reasons
I have worked with the code to change this. Those CONNECTED/INTERFACE
routes seems to me to be quite useless - they are not announced to rip
neighbors and I'm not able to find code which needs them to work properly.
I was thinking if we can remove then completly but maybe I forget about
something important?
Any comments on this?
Best regards,
Krzysztof Oledzki