Date: Thu, 24 Apr 2008 11:50:43 -0500 From: Reid Linnemann <lreid@cs.okstate.edu> To: magalhj@yahoo.com.br Cc: freebsd-questions@freebsd.org Subject: Re: Change gateway Message-ID: <4810BA63.5090905@cs.okstate.edu> In-Reply-To: <505569.92862.qm@web31602.mail.mud.yahoo.com> References: <505569.92862.qm@web31602.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Written by Aguiar Magalhaes on 04/24/08 11:42>> > Hi list, > > I'm trying to set the gateway 10.0.253.1 to the host 10.0.253.161/27 but i've received the answer: > > # route flush > # route add default 10.0.253.1 > > route: writing to routing socket: Network is unreachable > > The gateway and the host are connected in the same switch > > How can I do it ? > > Aguiar your mask on 10.0.253.161 specifies the interfaces network spans addresses 10.0.253.160 - 10.0.253.167. 10.0.253.1 is not in that range.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4810BA63.5090905>