From owner-freebsd-isp Tue Aug 3 16:34: 8 1999 Delivered-To: freebsd-isp@freebsd.org Received: from ns.tcworks.net (ns.tcworks.net [216.61.218.2]) by hub.freebsd.org (Postfix) with ESMTP id 071A514C46 for ; Tue, 3 Aug 1999 16:34:00 -0700 (PDT) (envelope-from ccook@tcworks.net) Received: from tcworks.net (xcess@creed.tcworks.net [216.61.218.6]) by ns.tcworks.net (8.9.2/8.9.2) with ESMTP id SAA89327; Tue, 3 Aug 1999 18:35:44 -0500 (CDT) (envelope-from ccook@tcworks.net) Message-ID: <37A8CD36.E22E3BFF@tcworks.net> Date: Wed, 04 Aug 1999 18:31:03 -0500 From: Chris Cook X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: mmason@nunanet.com, freebsd-isp@freebsd.org Subject: Re: IP Aliasing References: <99080312293700.12353@banshee.nunanet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Mason wrote: > > I think, based on what I've read that I would make (for example) the following > entry in the /etc/rc.conf file > > ifconfig lo0 xxx.xxx.xx.33 netmask 255.255.255.255 alias ifconfig lo0 alias xxx.xxx.xx.33 works for me, although I do not profess it to be the "correct" syntax. It should keep the same netmask that is already bound to the adapter. > and thereby be able to use that IP address the same as any of the addresses > between xxx.xxx.xx.0 - 31. Yes/No? Yes. > > If yes does this mean that I would have to make individual entries > in the rc.conf file for each IP address I would like to use between > xxx.xxx.xx.32 - 63? You could do that, but I use a script which loads at startup, it's cleaner and easier to maintain. > or is there a better way which would allow me to point all > addresses between xxx.xxx.xx.32 - 63 to lo0 with a single entry? If there is, please let me know. Hope my 2cents helps. -- Chris Cook Network Administrator The Computer Works http://www.tcworks.net http://www.tcworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message