From owner-freebsd-questions Mon Dec 14 15:15:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28495 for freebsd-questions-outgoing; Mon, 14 Dec 1998 15:15:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.lppi.com (mail.lppi.com [209.81.9.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28490 for ; Mon, 14 Dec 1998 15:15:33 -0800 (PST) (envelope-from lewiz@netcom.com) Received: from home (home.lppi.com [207.168.29.92]) by mail.lppi.com (8.9.1/8.9.1) with SMTP id PAA22711; Mon, 14 Dec 1998 15:15:15 -0800 (PST) Date: Mon, 14 Dec 1998 15:15:15 -0800 (PST) Message-Id: <199812142315.PAA22711@mail.lppi.com> From: Lew Payne To: Dan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Strange Network Problem In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.23 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 1) Is the ifconfig alias function the proper way to support multiple IPs > on the same NIC? Other un*x implementations usually require the creation > of seperate logical sub-devices for each IP. Does this need to be done in > FreeBSD? Can it be done to provide statistical information on a per-IP > basis? Yes. I have 24 servers all running on various versions of FreeBSD, and all are configured (and aliased) with ifconfig. One server in particular has more than 30 alias IP's, for Apache non-virtual hosts. > 2) What is the proper netmask for aliased IPs? I have found reasonably > authoritative references to both 255.255.255.255 and 255.255.255.254 in > the archives. I would like to clear this up. Huh? The proper netmask to use is the netmask which accurately represents the address block you've been assigned. You must ASK what the actual address block is that those other IP's came from, and set your netmask accordingly. Setting an arbitrary netmask is an invitation to disaster. The broadcast address, computed >from your netmask, MAY BE ALREADY ASSIGNED TO ANOTHER MACHINE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message