Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 11:42:15 -0500
From:      Nathan Vidican <nvidican@wmptl.com>
To:        Evgenii Davidov <dado@kulichki.com>
Cc:        dado@kulichki.com, questions@freebsd.org, efrenba@yahoo.es
Subject:   Re: defaultroute
Message-ID:  <4385ED67.90901@wmptl.com>
In-Reply-To: <20051124161854.GA47605@kulichki.com>
References:  <20051124153538.9357.qmail@web25512.mail.ukl.yahoo.com> <20051124161854.GA47605@kulichki.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4385ED67.90901>