On Sat, Dec 13, 2003 at 06:41:16PM -0500, 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.
I believe you can issue:

route add default <ip>

The code in /etc/rc.network is a little obfuscated :P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to