From owner-freebsd-questions Mon May 20 7:58:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from michelob.wixb.com (michelob.wixb.com [67.36.82.132]) by hub.freebsd.org (Postfix) with ESMTP id 0ADDE37B407 for ; Mon, 20 May 2002 07:58:36 -0700 (PDT) Received: from lonestar.xpec.com (michelob.wixb.com [10.135.144.11]) by michelob.wixb.com (8.12.3/8.12.3) with ESMTP id g4KEwYnb035593; Mon, 20 May 2002 09:58:35 -0500 (CDT) Message-Id: <5.1.1.2.2.20020520095643.00b2b040@localhost> Date: Mon, 20 May 2002 09:57:35 -0500 To: Odhiambo Washington From: "J.D. Bronson" Subject: Re: Apache + IP alias trouble Cc: FBSD-Q In-Reply-To: <20020520145320.GG2178@ns2.wananchi.com> References: <5.1.1.2.2.20020520092904.00b2b040@localhost> <5.1.1.2.2.20020520092904.00b2b040@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 09:53 AM 5/20/2002, Odhiambo Washington wrote: >* 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 > >-- I made a typo in the email....192.168.1.255 is the correct broadcast. this error, though has nothing to do with network..... I had to do this PRIOR to launching apache: # kldload accf_data.ko # kldload accf_http.ko then start apache. This fixed my issues :) [not sure if both modules are required though] -- J.D. Bronson Aurora Health Care // Information Systems // Telecom Manager Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message