Adding Route in AIX

The easiest way to change the default route is to do the following:

1. Use smitty route->Remove Static Route or issue the route -f to flush the routing table.

2. You should see output to the screen informing you that routes are being removed.

3. Then issue the netstat -rn command. You should not see the default in the routing table.

4. Issue the smitty mkroute command. This is pretty straight forward and it will it will add

this default route to the ODM database and make it permanent even after a system reboot.

5. Issue another netstat -rn command, you should see your new default route.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *