From owner-freebsd-questions Mon Aug 17 14:15:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21768 for freebsd-questions-outgoing; Mon, 17 Aug 1998 14:15:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.arconet.es ([195.76.49.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA21754 for ; Mon, 17 Aug 1998 14:15:50 -0700 (PDT) (envelope-from alonso@arconet.es) Received: from [195.57.96.249] by mail.arconet.es (SMTPD32-4.0) id A9942A000C6; Mon, 17 Aug 1998 22:59:00 +0200 Message-ID: <199808172316180510.00274699@mail.arconet.es> X-Mailer: Calypso Version 2.40.39 Date: Mon, 17 Aug 1998 23:16:18 +0200 From: =?us-ascii?Q?=22Antonio_Fern=E1ndez_Alonso=22?= To: freebsd-questions@FreeBSD.ORG Subject: IP aliases Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? TIA Alonso To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message