Jan 22 2009

How to Add a Permanent Static Route in AIX 4.3

Published by at 9:11 pm under Aix




To add a permanent static route in AIX, add the route command in the startup file /etc/rc.net:
AIX Server.root / # route add -net 192.168.2.0 -netmask 255.255.255.0 192.168.0.1
 
or use AIX interface Smitty (preferred):
 
AIX Server.root / # smitty
-> Communications applications and Services
-> TCIP/IP
-> Further Configuration
-> Static Routes
-> Add a Static Route
And type in the new static route settings.


3 responses so far

3 Responses to “How to Add a Permanent Static Route in AIX 4.3”

  1. roclafamiliaon 21 Oct 2010 at 5:33 pm

    Helpful blog, bookmarked the website with hopes to read more!

  2. Robon 17 May 2012 at 6:33 pm

    This will not persist upon reboot as the output to smit/smitty shows a route add:

    The command /usr/sbin/route add -net -hopcount 0 -netmask 0xff000000 -static x.x.x.x 127.0.0.1

    to persist a route, you must run chdev (or smitty chdev)

  3. daveon 21 May 2012 at 7:11 pm

    It did persist in my case (on AIX 4)
    But thanks for the info, it might be helpful for some of us

Comments RSS

Leave a Reply