Date: Mon, 20 May 2002 09:57:35 -0500 From: "J.D. Bronson" <lists@xpec.com> To: Odhiambo Washington <wash@wananchi.com> Cc: FBSD-Q <freebsd-questions@freebsd.org> Subject: Re: Apache + IP alias trouble Message-ID: <5.1.1.2.2.20020520095643.00b2b040@localhost> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
At 09:53 AM 5/20/2002, Odhiambo Washington wrote: >* J.D. Bronson <lists@xpec.com> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.2.2.20020520095643.00b2b040>