From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 19:22:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCB6A16A509 for ; Wed, 24 Nov 2004 19:22:12 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C40BF43D31 for ; Wed, 24 Nov 2004 19:22:11 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from [127.0.0.1] (localhost.circlesquared.com [127.0.0.1]) iAOJM4Bd031228; Wed, 24 Nov 2004 19:22:05 GMT (envelope-from peter@circlesquared.com) Message-ID: <41A4DF5C.8010300@circlesquared.com> Date: Wed, 24 Nov 2004 19:22:04 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joshua Lokken References: <41A4B753.000025.00186@camay.yandex.ru> <20041124163502.GK12945@lb.tenfour> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: httpd.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 19:22:13 -0000 Joshua Lokken wrote: > On Wed, 24 Nov 2004 16:35:02 +0000, Dick Davies > wrote: > >>* metallarch [1131 16:31]: >> >> >> >>>I made a virtualhost on apache 2.0 .. >>>Here is my configs >>>rc.conf: >>>gateway_enable="yes" >>>ifconfig_rl0="inet 192.168.0.249 netmask 255.255.255.0" >>>ifconfig_rl0_alias0="inet 192.168.1.35 netmask 255.255.255.0" > > > Perhaps I'm 'whacked', but I believe the alias(es) for your NIC need > to have a netmask of all 1s. > > ifconfig_rl0="inet xxx.xxx.xxx.xxx netmask 255.255.255.0" > ifconfig_rl0_alias0="inet xxx.xxx.xxx.xxx netmask 255.255.255.255" > > Please correct me if I'm wrong. This may not be what's causing you > problems, but something that jumped out at me. > >>>ifconfig_rl0="inet 192.168.0.249 netmask 255.255.255.0" is a different network to >>>ifconfig_rl0_alias0="inet 192.168.1.35 netmask 255.255.255.0" so the rc.conf is OK. The netmask needs to be 0xffffffff when both cards are on the same network. Peter. -- the circle squared network systems and software http://www.circlesquared.com