[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Qube 2: Adding a static route?



John,

You should be able to add the line in the /etc/rc.d/rc.local file. Add
it at the end of the file and whenever the machine is booted up, it will
add the route.

Dimitri Santana
Paradigm Investment Services, Inc.


John Morley wrote:

> Can anyone tell me how to add a static route to my Qube 2's
> routing table, please?  The command I use to do it manually
> is:
>
> /sbin/route add -net 172.26.149.0 gw 172.26.148.1 \
>         netmask 255.255.255.0 metric 1
>
> and I know I could run a script at boot-up to do this.
> However, I'd like to know which files I should edit to do
> this the "correct" way.  I'm more familiar with the Slackware
> distribution of Linux which has a different mechanism for
> initialising such things as the network and consequently has
> different files in the /etc/rc.d directory.
>
> Thanks.
>
> --
> John Morley (jmorley@xxxxxxxxxxxxxxxxxxx)
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users