IP COP Static Routes

Hi There

I have added static routes to my ipcop firewall in the rc.local file.

For some reason the routes  dissapear after a while until the firewall is restarted , then they are there for a while(time varies) and then they are lost again.

Any ideas?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pierre FrançoisSenior consultantCommented:
Look at the scripts invoking "route" in /etc/rc.d, perhaps you will understand which script is deleting and re-adding routes. As far as I see, only rc.red and rc.updatered are adding and deleting routes.

Do you have dynamic DHCP settings on the red NIC, or are you using dial-on-demand?

I think that static routes do not interact well with dynamic DHCP settings on red.
If your dynamic internet connection drops and comes again, the routes will not come. You may add some crontab entry to check the routes and add again if not exist.
note: you can also try to add the route directly without checking wheteher it exist or not. If it exist, route will not accept one more rule, already.

crontab -e

*/5 * * * * route add .....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.