From owner-freebsd-questions Tue Aug 18 11:11:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA01403 for freebsd-questions-outgoing; Tue, 18 Aug 1998 11:11:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA01352 for ; Tue, 18 Aug 1998 11:11:14 -0700 (PDT) (envelope-from malte.lance@gmx.net) Received: from neuron.webmore.de (unverified [194.95.214.171]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 18 Aug 1998 20:11:36 +0200 Received: (from malte.lance@gmx.net) by neuron.webmore.de (8.8.8/8.8.8) id UAA04205; Tue, 18 Aug 1998 20:00:16 +0200 (CEST) From: Malte Lance MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 18 Aug 1998 20:00:15 +0200 (CEST) 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> References: <199808172316180510.00274699@mail.arconet.es> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13785.44085.49031.361078@neuron.webmore.de> Reply-To: malte.lance@gmx.net Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id LAA01375 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Antonio Fernández Alonso" writes: > 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 > > And this is the response of the system: > > ifconfig: ioctl (SIOCAIFADDR): File exists. > > I suposse it is an error. Nevertheless, the system accept the alias and I > can make ping to this alias from another computer of the network, but the > system does not recognize this alias, like it does not exist. > > Next I modify the rc.conf file (at /etc) and add the following: > > ifconfig_de0_alias0="inet 195.57.19.33" > ifconfig_de0_alias1="inet 195.57.10.34" > > When I reboot the system, I obtain the following error messages: > > de0: abnormal interrupt: receive process stopped > ifconfig: ioctl (SIOCAIFADDR): File exists. > ifconfig: ioctl (SIOCAIFADDR): File exists. > > And, of course, the system doesn't recognize the alias :( > > I don't know where is the problem and why these messages appear, could > someone help me? Think about using a "netmask". Have a closer look at the example in /etc/rc.conf Malte. > > TIA > > > Alonso > > > 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