From owner-freebsd-isp Fri May 21 4:25:50 1999 Delivered-To: freebsd-isp@freebsd.org Received: from hecate.webcom.com (hecate.webcom.com [209.1.28.39]) by hub.freebsd.org (Postfix) with ESMTP id 138B814E67 for ; Fri, 21 May 1999 04:25:48 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hecate.webcom.com (8.9.1/8.9.1) with SMTP id FAA25391; Fri, 21 May 1999 05:25:38 -0700 Received: from [204.143.69.17] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 34283422; Fri May 21 04:21 PDT 1999 Message-Id: <37456CD4.278E@echidna.com> Date: Fri, 21 May 1999 07:25:24 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: Rowan Crowe , Roger Marquis Cc: freebsd-isp@freebsd.org Subject: Re: ifconfig_if0_alias? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rowan Crowe wrote: > > On Thu, 20 May 1999, Roger Marquis wrote: > > > Another problem with FreeBSD aliases is routing. For reasons which are > > not clear "ifconfig alias" doesn't automatically create a local route > > to the IP. With FreeBSD 2.2.8 and earlier at least this must be done > > manually: > > > > for h in $aliases1; do > > route add 207.246.84.$h 127.0.0.1 > > done > > ??? > > I have a 14 ifconfig_lo0_aliasX entries in my rc.conf on a FreeBSD 2.2.5-R > machine, and there is no need to add an explicit route. I checked and none > of the /etc/rc.* files seem to add in a route to 127.0.0.1. > > On a FreeBSD 2.2.2-R machine I have 16 'ifconfig lo0 alias' commands in > rc._local_ and again there's no need to add a route. Provided the netmask is 255.255.255.255 . See http://www.cypher.net/~black/ipalias.html which is listed under http://www.freebsd.org/tutorials/ . -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message