From owner-freebsd-questions Mon May 20 7:54:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 2405837B40A for ; Mon, 20 May 2002 07:54:14 -0700 (PDT) Received: from drweb by ns2.wananchi.com with drweb-scanned (Exim 3.36 #1 (FreeBSD)) id 179oXI-0009WV-00; Mon, 20 May 2002 17:53:20 +0300 Received: from wash by ns2.wananchi.com with local (Exim 3.36 #1 (FreeBSD)) id 179oXI-0009WP-00; Mon, 20 May 2002 17:53:20 +0300 Date: Mon, 20 May 2002 17:53:20 +0300 From: Odhiambo Washington To: "J.D. Bronson" Cc: FBSD-Q Subject: Re: Apache + IP alias trouble Message-ID: <20020520145320.GG2178@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , "J.D. Bronson" , FBSD-Q References: <5.1.1.2.2.20020520092904.00b2b040@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.1.2.2.20020520092904.00b2b040@localhost> User-Agent: Mutt/1.3.25i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Know thyself. If you need help, call the C.I.A. X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 5:44PM up 8:15, 4 users, load averages: 0.35, 0.32, 0.32 X-Envelope-To: lists@xpec.com, freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * J.D. Bronson [20020520 17:33]: wrote: > > > I setup the alias of 192.168.1.4 on my main NIC as follows: > > # ifconfig fxp0 alias 192.168.1.4 netmask 0xffffffff broadcast 192.168.1.0 > > this worked fine and I can ping the IP.......however, apache is not pleased: > > ========================= > when I start apache: > > [Mon May 20 09:28:42 2002] [info] (2)No such file or directory: make_sock: > for address 192.168.1.4 port 443, setsockopt: (SO_ACCE > PTFILTER) > > [Mon May 20 09:28:42 2002] [info] (2)No such file or directory: make_sock: > for address 192.168.1.4 port 80, setsockopt: (SO_ACCEP > TFILTER) > > > Any ideas? I dont use IPFILTER or anything like that ..... > Okay, is 0xffffffff same as 255.255.255.255 ??? Assuming the alias IP is in the same net as the main one? And why is the broadcast 192.168.1.0 ????? For me I'd do ifconfig fxp0 inet 192.168.1.4 netmask 255.255.255.255 alias up then confirm if that worked using ifconfig -a Then I'd go to apache now to see what it has to say. Very basic steps but might help ;-) -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) Join in the new game that's sweeping the country. It's called "Bureaucracy". Everybody stands in a circle. The first person to do anything loses. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message