I often have to modify my static-routes file and insert routes in a certain order. The order matters because sometimes a later route depends on the successful setting of an earlier route. If I then use netcgf and "SAVE" the order of the routes changes in static-routes and my routing configuration is really messed up.
I have verified this to be true. I used netcfg to add two static routes. Whichever one was on the bottom of the list gets pushed to the top of the /etc/sysconfig/static-routes file. Then if you add another one later, it shows up in the bottom of the list in netcfg, but when you save the file the new entry is thrown to the top of the list in the static-routes file. Ideally you should be able to move the routes around in order using netcfg and then have the static-routes file written in the proper order.
Unfortunately, netcfg does write static routes in random order. While we may fix this later, I believe that linuxconf will keep the routes ordered appropriately, and I suggest that you use linuxconf to maintain the routes instead.
Discarding as linuxconf is the recommended method for maintaining routing tables. ------- Email Received From Andrew Maffei <amaffei> 06/29/99 15:55 -------