From owner-freebsd-net@FreeBSD.ORG Mon Jan 17 16:20:55 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F65F16A4CE; Mon, 17 Jan 2005 16:20:55 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00A0943D49; Mon, 17 Jan 2005 16:20:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CqZcb-00013D-VH; Mon, 17 Jan 2005 19:20:53 +0300 From: Vladimir Grebenschikov To: Ruslan Ermilov In-Reply-To: <20050117160523.GA77421@ip.net.ua> References: <1105974518.1229.9.camel@localhost> <20050117160523.GA77421@ip.net.ua> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 17 Jan 2005 19:20:53 +0300 Message-Id: <1105978853.1229.18.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: freebsd-net Subject: Re: Invalid 'route change' functioning X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 16:20:55 -0000 =F7 =D0=CE, 17/01/2005 =D7 18:05 +0200, Ruslan Ermilov =D0=C9=DB=C5=D4: > > Any ideas what wrong with 'route change' ?=20 > >=20 > The route(8) manpage says: >=20 > : In a change or add command where the destination and gateway are not su= f- > : ficient to specify the route (as in the ISO case where several interfac= es > : may have the same address), the -ifp or -ifa modifiers may be used to > : determine the interface or interface address. >=20 > So try this instead: >=20 > route change 192.168.0/23 -ifp fxp0 Thank you, it works. So, as I understand, route add ... -iface fxp0 is invalid if I want specify gateway interface ? (how this works, '-iface' flag and 'fxp0' is what ? gateway ?) > Cheers, --=20 Vladimir B. Grebenchikov vova@fbsd.ru