From owner-freebsd-questions Tue Aug 18 14:33:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00613 for freebsd-questions-outgoing; Tue, 18 Aug 1998 14:33:44 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00601 for ; Tue, 18 Aug 1998 14:33:42 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with ESMTP id OAA29279; Tue, 18 Aug 1998 14:33:02 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 18 Aug 1998 14:33:01 -0700 (PDT) From: Doug White To: =?us-ascii?Q?=22Antonio_Fern=E1ndez_Alonso=22?= cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP aliases In-Reply-To: <199808172316180510.00274699@mail.arconet.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 17 Aug 1998, "Antonio Fernández Alonso" wrote: > Hi: > > Last week I installed FreeBSD (2.2.7 release) and I didn't have problems > (well, not a lot). Then I installed a web server (Apache 1.3.1) and again I > didn't have a lot of problems. But the problems arise when I tried to have > virtual hosts in the web server. It's necessary to configure the interface > (de0) with more than one IP, with the ifconfig command. I use the > following: > > ifconfig de0 inet 195.57.19.33 alias You must specify a netmask for aliases. If this IP is in the same subnet as the primary IP, use the netmask 255.255.255.255 (0xffffffff). Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message