This is a discussion on Making Manual Routes Permanent Solaris 8 & Apache 1.3.27 within the Linux Web Servers forums, part of the Web Server and Related Forums category; When using <netstat -rn>, I notice that a number of routes are automatically made by the machine's ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When using <netstat -rn>, I notice that a number of routes are
automatically made by the machine's routing daemon, which I think is in.routed. I need to add some manual routes, but of course they disappear upon reboot. The man pages say that this is exactly what will occur will in.routed is running; it says to stop it, make the manual routes, then retart it but does not state how. Any ideas how I can get some manual routes to stay put after reboot? |
|
|||
|
david.knight@bell.ca (Dave) writes:
>When using <netstat -rn>, I notice that a number of routes are >automatically made by the machine's routing daemon, which I think is >in.routed. I need to add some manual routes, but of course they >disappear upon reboot. The man pages say that this is exactly what >will occur will in.routed is running; it says to stop it, make the >manual routes, then retart it but does not state how. >Any ideas how I can get some manual routes to stay put after reboot? You can add routes to "/etc/gateways", as documented in the man pages for "routed". Or you can write a startup script to add them on startup - I use "/etc/rc2.d/S70local-route" for that purpose. If you are going to be running in.routed anyway, then "/etc/gateways" is the best method. If your routes are all permanent and you don't really need to run "in.routed", then add any default routes to "/etc/defaultrouter", and add non-default routes in a startup script. |