Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 20:18:30 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Aguiar Magalhaes <magalhj@yahoo.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Change gateway
Message-ID:  <20080424201802.J85914@wojtek.tensor.gdynia.pl>
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
>
> 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 ?

the netmask /27 is nonsense in that context



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