Hello,
I need to add a specific static ip route when a given condition exists in a script, adding the route is no problem, but checking and preventing multiple routes that are the same from being added to the routing table, is vexing me, and I am in need of some inspiration. I have searched the archives and really haven't come up with good answer to a question that has to have been asked and answered in the past. Can someone either point me towards the illusive thread, or post any examples checking for the presence of a specific route before attempting to add a route that is already in the table.
Thank you for your attention.