From owner-freebsd-isp Tue Aug 3 9:37:52 1999 Delivered-To: freebsd-isp@freebsd.org Received: from banshee.nunanet.com (banshee.nunanet.com [199.247.47.18]) by hub.freebsd.org (Postfix) with ESMTP id 126B114C42 for ; Tue, 3 Aug 1999 09:37:37 -0700 (PDT) (envelope-from mmason@nunanet.com) Received: from banshee.nunanet.com (IDENT:mmason@banshee.nunanet.com [199.247.47.18]) by banshee.nunanet.com (8.9.3/8.9.3) with SMTP id MAA12363; Tue, 3 Aug 1999 12:29:37 -0400 From: Marcel Mason Reply-To: mmason@nunanet.com Organization: Nunanet Communications To: freebsd-isp@freebsd.org Subject: IP Aliasing Date: Tue, 3 Aug 1999 12:15:46 -0400 X-Mailer: KMail [version 1.0.20] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99080312293700.12353@banshee.nunanet.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (from one new to IP aliasing) Went through the archives and think I'm on the right track but I would like confirmation before I potentially botch something vompletely. We have a class C license on a server with lo0 setup as xxx.xxx.xx.3 and a gateway of xxx.xxx.xx.12 The first portion of the class c is just about full and I would like to use the xxx.xxx.xx.32 - 63 for virtual hosting. 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 and thereby be able to use that IP address the same as any of the addresses between xxx.xxx.xx.0 - 31. Yes/No? 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? 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? Alternatively I could make the entries in the etc/rc.conf.local file and use that file for this specific purpose which would make for more managable file organization. M Mason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message