Making Static Routes Persistent In AIX 6.1

We have several AIX servers that consistently lose our defined static routes (which we manually added BTW) if the systems are restarted.  Is there any way in AIX to make these routes persistent so that even if the systems do shut down, the route table is preserved. I know this can be done on a Windows server with the -p switch.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

On AIX use "smitty mkroute" and fill in the required values. This will last across reboots.

You can also use the "chdev" command  line tool to persistently add a static route.

To network:

chdev -l inet0 -a route=net,-hopcount,<hopcount>,-netmask,<netmask>,<network>,<gateway>

To host:

chdev -l inet0 -a route=host,-hopcount,<hopcount>,-netmask,<netmask>,<hostaddress>,<gateway>

Example for destination network, hopcount=0,,gateway

chdev -l inet0 -a route=net,-hopcount,0,-netmask,,,

If you already added the route by means of the "route" command either delete it first ("smitty rmroute" or "chdev -l inet0 -a delroute=.......") before using one of the above methods, or specify "Apply change to DATABASE only" under "smitty" or set the "-P" flag of chdev:

chdev -P -a route=net,............

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
Unix OS

From novice to tech pro — start learning today.