From owner-freebsd-bugs Fri Jun 8 2:30:17 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 71BA737B406 for ; Fri, 8 Jun 2001 02:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f589U3o41041; Fri, 8 Jun 2001 02:30:03 -0700 (PDT) (envelope-from gnats) Date: Fri, 8 Jun 2001 02:30:03 -0700 (PDT) Message-Id: <200106080930.f589U3o41041@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jean-Claude Christophe Subject: Re: bin/14175: route for ip aliasing Reply-To: Jean-Claude Christophe Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/14175; it has been noted by GNATS. From: Jean-Claude Christophe To: "Vladimir B. Grebenschikov" Cc: Ruslan Ermilov , freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/14175: route for ip aliasing Date: Fri, 8 Jun 2001 11:29:53 +0200 > Ruslan Ermilov writes: > > Thanks for reminding! > > Fixed in route.c,v 1.46 and route.8,v 1.24. > > May be allow similar semantic in ifconfig too ? > > ifconfig if0 192.168.1.1/28 > instead of > ifconfig if0 192.168.1.1 netmask 255.255.255.240 > ? instead of, no. It's important to let the actual configuration parameters of ifconfig. However, add the prefix in the parameters of ifconfig can be consider as a different way to set the mask and should be appreciate. > > > On Thu, Jun 07, 2001 at 06:23:31PM +0400, Vladimir B. Grebenschikov wrote: > > > ru@FreeBSD.ORG writes: > > > > Synopsis: route for ip aliasing > > > > > > > > State-Changed-From-To: open->closed > > > > State-Changed-By: ru > > > > State-Changed-When: Thu Jun 7 07:00:15 PDT 2001 > > > > State-Changed-Why: > > > > Asked and answered. > > > > > > Actual I think not good idea support different address schemes for > > > netstat -r and route(8) utilites: > > > > > > # route add 10.0.0.0/16 192.168.14.1 > > > add net 10.0.0.0: gateway 192.168.14.1 > > > # netstat -rn | egrep \^10 > > > 10/16 192.168.14.1 UGSc 0 0 fxp0 > > > # route delete 10/16 > > > route: writing to routing socket: No such process > > > delete net 10: not in table > > > # route delete 10.0.0.0/16 > > > delete net 10.0.0.0 > > > # > > > > > > if netstat deal with addreses like 10/16, I think route need to deal > > > with them too. > > > > > > -- > > > TSB Russian Express, Moscow > > > Vladimir B. Grebenschikov, vova@express.ru > > > > -- > > Ruslan Ermilov Oracle Developer/DBA, > > ru@sunbay.com Sunbay Software AG, > > ru@FreeBSD.org FreeBSD committer, > > +380.652.512.251 Simferopol, Ukraine > > > > http://www.FreeBSD.org The Power To Serve > > http://www.oracle.com Enabling The Information Age > > > > -- > TSB Russian Express, Moscow > Vladimir B. Grebenschikov, vova@express.ru -- Jean-Claude Christophe / jch@oleane.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message