httpd.conf
Peter Risdon
peter at circlesquared.com
Wed Nov 24 11:22:13 PST 2004
Joshua Lokken wrote:
> On Wed, 24 Nov 2004 16:35:02 +0000, Dick Davies
> <rasputnik at hellooperator.net> wrote:
>
>>* metallarch <metallarch at 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
More information about the freebsd-questions
mailing list