From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 18:18:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D406C10656AB for ; Thu, 24 Apr 2008 18:18:39 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DE27C8FC1D for ; Thu, 24 Apr 2008 18:18:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3OIIW1C085925; Thu, 24 Apr 2008 20:18:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3OIIUSu085922; Thu, 24 Apr 2008 20:18:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 24 Apr 2008 20:18:30 +0200 (CEST) From: Wojciech Puchar To: Aguiar Magalhaes In-Reply-To: <505569.92862.qm@web31602.mail.mud.yahoo.com> Message-ID: <20080424201802.J85914@wojtek.tensor.gdynia.pl> References: <505569.92862.qm@web31602.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Change gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 18:18:39 -0000 > > 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