route change 0.0.0.0 new.ip.def.route

IE:

route change 0.0.0.0 10.0.0.254

This command changes the default route to 10.0.0.254, from the command line. This will immediately alter the systems routing tables, but will not survive a reboot; change the defaultroute parameter in the /etc/rc.conf file for that.

--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/

Evgenii Davidov wrote:
Здравствуйте,

On Thu, Nov 24, 2005 at 04:35:38PM +0100, Efren Bravo писал:


Hi,

Is there a way after changing the value
defaultroute in /etc/rc.conf that freebsd accepts
the change without restarting?


route delete default ; route add default 1.2.3.4


______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



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

Reply via email to