Date: Wed, 24 Nov 2004 19:22:04 +0000 From: Peter Risdon <peter@circlesquared.com> To: Joshua Lokken <joshua.lokken@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: httpd.conf Message-ID: <41A4DF5C.8010300@circlesquared.com> In-Reply-To: <bc5b638504112410305ecd39d5@mail.gmail.com> References: <41A4B753.000025.00186@camay.yandex.ru> <20041124163502.GK12945@lb.tenfour> <bc5b638504112410305ecd39d5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joshua Lokken wrote: > On Wed, 24 Nov 2004 16:35:02 +0000, Dick Davies > <rasputnik@hellooperator.net> wrote: > >>* metallarch <metallarch@yandex.ru> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A4DF5C.8010300>