On Sun, 14 Dec 2003 10:11, Dragoncrest wrote:
> HI all.  How do I change the default router (aka gateway) in freebsd
> without rebooting?  I know I can change the IP, subnet mask, and broadcast
> address through ifconfig, but I couldn't find in there where I could change
> the default router.  Anyone know?  Thanks.
>

The relevant command is 'route'. Take a look at route(8).

I think you want:
   route change default <gateway-address>

Or from scratch
   route add default <gateway-address>

Malcolm
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to