defaultroute
Nathan Vidican
nvidican at wmptl.com
Thu Nov 24 16:42:19 GMT 2005
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
nvidican at wmptl.com
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 at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list