Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 17:53:20 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        "J.D. Bronson" <lists@xpec.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Apache + IP alias trouble
Message-ID:  <20020520145320.GG2178@ns2.wananchi.com>
In-Reply-To: <5.1.1.2.2.20020520092904.00b2b040@localhost>
References:  <5.1.1.2.2.20020520092904.00b2b040@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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

-- 
Odhiambo Washington  <wash@wananchi.com>    "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020520145320.GG2178>