From owner-freebsd-questions Mon Oct 11 9:53:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cronus.medianetwork.se (cronus.medianetwork.se [193.14.204.1]) by hub.freebsd.org (Postfix) with ESMTP id 2074414DC8 for ; Mon, 11 Oct 1999 09:52:59 -0700 (PDT) (envelope-from support@junglenote.com) Received: from junglenote.com (digital06.medianetwork.se [193.14.204.224]) by cronus.medianetwork.se (8.9.3/8.7) with ESMTP id SAA06140 for ; Mon, 11 Oct 1999 18:52:56 +0200 Received: from enigmatic [127.0.0.1] by junglenote.com [localhost] with SMTP (MDaemon.v2.84.R) for ; Mon, 11 Oct 1999 19:01:41 +0200 Received: by localhost with Microsoft MAPI; Mon, 11 Oct 1999 19:01:40 +0200 Message-ID: <01BF141B.0D153770.support@junglenote.com> From: Dan Larsson To: "'dmaple@methos.net'" Cc: "freebsd-questions@FreeBSD.ORG" Subject: SV: Virtual Hosting IP question. Date: Mon, 11 Oct 1999 19:01:40 +0200 Organization: Portabla Datorer AB X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MDaemon-Deliver-To: freebsd-questions@FreeBSD.ORG X-Return-Path: support@junglenote.com Reply-To: support@junglenote.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Change the netmask for the aliases to 255.255.255.255 Hope this helps! /D > -----Ursprungligt meddelande----- > Fr=E5n: David C. Maple [SMTP:dmaple@methos.net] > Skickat: den 11 oktober 1999 18:29 > Till: freebsd-questions@FreeBSD.ORG > =C4mne: Virtual Hosting IP question. >=20 >=20 > I have a server setup to alias several IP addresses. I'm using the = alias > command to ifconfig through my rc.conf: >=20 > -- snip -- > ifconfig_xl0=3D"inet 216.54.63.12 media 100baseTX netmask = 255.255.255.192" > ifconfig_xl0_alias0=3D"inet 216.54.63.30 netmask 255.255.255.192" > ifconfig_xl0_alias1=3D"inet 216.54.63.31 netmask 255.255.255.192" > -- snip -- >=20 > My question is: Is this the best way to handle virtual hosting. I = assign > each host a new IP, setup named, sendmail(virtuser table), and Apache > virtual host and it seems to work. But, from within this machine, I > cannot connect to one of the virtual sites. >=20 > >ping 216.54.63.30 > PING 216.54.63.30 (216.54.63.30): 56 data bytes > ^C > --- 216.54.63.30 ping statistics --- > 5 packets transmitted, 0 packets recieved, 100% packet loss > > >=20 > Do I need to configure some internal routing? > Is there a better way to do the whole thing? >=20 > Thanks in advance, >=20 > Dave >=20 > dmaple@methos.net >=20 > 'The bigger it bloats, the harder it falls.' > -- "The 48 Laws of Power" (R. Greene, J Elffers) >=20 >=20 >=20 > 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