[SunRescue] /etc/defaultrouter

Paul Khoury pkhoury3 at earthlink.net
Thu Mar 9 03:52:32 CST 2000


On Thu, 9 Mar 2000 10:46:23 +0100 (CET), Shodan wrote:

>You can do it many ways...
>one of them is:
>
>route del default
>route add default `cat /etc/defaultrouter`
>
>or 
>you can type in the default route by ip:
>
>route del default (this deletes previous entry)
>route add default xxx.xxx.xxx.xxx

Thanks Shodan.

Looks like the first didn't work, but route -f did the trick.
Didn't even know that command, but I'm learning new things every minute... =)

Now, how hard would it be to do the same on NetBSD?









More information about the rescue mailing list