From owner-freebsd-questions Wed May 20 11:52:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26319 for freebsd-questions-outgoing; Wed, 20 May 1998 11:52:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from TripleCrown.Aldridge.com (TripleCrown.Aldridge.com [209.113.58.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26167 for ; Wed, 20 May 1998 11:52:10 -0700 (PDT) (envelope-from dlac@aldridge.com) Received: from aldridge.com (america.aldridge.com [209.113.55.1]) by TripleCrown.Aldridge.com (8.8.8/8.6.12) with ESMTP id NAA01608 for ; Wed, 20 May 1998 13:51:53 -0500 (CDT) Message-ID: <35632648.2B5BDF75@aldridge.com> Date: Wed, 20 May 1998 13:51:52 -0500 From: "David L. Aldridge" Organization: The Aldridge Company X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions Subject: Re: Virtual Hosts References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Busarow wrote: > > On Wed, 20 May 1998, David L. Aldridge wrote: > > I have bound the IP addresses to the interface, configured DNS > > to advertise each name on a different IP address, and configured > > the web,ftp, etc. software to correlate the host to the IP address mapping and > > use different document trees. > > An example from rc.conf or wherever you set up the aliases would help > but I'll guess that you are not using a 255.255.255.255 netmask. > > You'd be getting error messages but the system would work as you describe. > > Dan > -- > Dan Busarow 949 443 4172 > DPC Systems / Beach.Net dan@dpcsys.com > Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 Yes, I am using the 255 netmask. My syntax is echo -n ' address aliases' ifconfig ep0 209.113.58.2 netmask 0xffffffff alias ifconfig ep0 209.113.58.3 netmask 0xffffffff alias ifconfig ep0 209.113.58.4 netmask 0xffffffff alias ...and so on netstat returns TripleCrown:/etc/#netstat -r | more Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default wall-aldridge-gw.h UGSc 224 337 ep0 localhost localhost UH 0 191 lo0 base.vsbw.com/25 link#2 UC 0 0 TripleCrown 0:a0:24:23:8f:24 UHLW 2 158 lo0 www www UH 0 11 ep0 => www/32 link#2 UC 0 0 www.spinneret.com www.spinneret.com UH 0 0 ep0 => www.spinneret.com/ link#2 UC 0 0 www.gensys.com www.gensys.com UH 0 0 ep0 => www.gensys.com/32 link#2 UC 0 0 demo demo UH 0 0 ep0 => demo/32 link#2 UC 0 0 www.boldcreative.c www.boldcreative.c UH 0 0 ep0 => www.boldcreative.c link#2 UC 0 0 www.burnskopatic.c www.burnskopatic.c UH 0 0 ep0 => www.burnskopatic.c link#2 UC 0 0 ...and so on -- David L. Aldridge The Aldridge Company 281.368.0166 (fax: 281.368.0381) http://www.aldridge.com/ Powered by Pentium/FreeBSD/Apache - Because it works. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message