From owner-freebsd-questions Fri Feb 11 8: 5:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by builder.freebsd.org (Postfix) with ESMTP id 4EC7047C6 for ; Fri, 11 Feb 2000 08:05:32 -0800 (PST) Received: from journalstar.com (leepcC-094.sub-c.lee.net [208.205.126.94]) by trinity.lee.net (8.9.3/8.9.0) with ESMTP id KAA02798 for ; Fri, 11 Feb 2000 10:05:21 -0600 Message-ID: <38A43323.DF5BEF3A@journalstar.com> Date: Fri, 11 Feb 2000 10:04:51 -0600 From: Tony Wells X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-questions@FreeBSD.ORG Subject: Re: listening to two IP's References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe the netmask needs to be set to 255.255.255.255 if the alias is on the same network as the primary IP. Chuck Barnett wrote: > > Hello, > I am having a problem, I've done this with earlier versions of FreeBSD > (2.*) but with ver 3 it is not working. > > I want to listen to 2 ip addresses for the purpose of vhosting. With the > following shouldn't I be "listening" to the address of > 38.196.236.113 as well as *.*.*.112? Here is excerpt from rc.conf file. > > ifconfig_xl0="inet 38.196.236.112 netmask 255.255.255.224" > ifconfig_xl0_alias0="inet 38.196.236.113 netmask 255.255.255.0" > > Thanks, > > Chuck > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message