Date: Fri, 9 May 1997 12:30:44 +1000 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Bernard Courtney <bc@bythehand.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Virtual Domains Under 2.1.5 Message-ID: <Pine.BSF.3.91.970509122211.4479O-100000@panda.hilink.com.au> In-Reply-To: <3372824D.63C6@bythehand.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 May 1997, Bernard Courtney wrote:
> Thanks,
>
> I already have apache installed and running the main domain perfectly.
> I now have configured it to act a a vrtual server for the secons domain,
> however I need to set up FreeBSD to respond to another IP address. I am
> running FreeBSD 2.1.5.
OK. What is your network setup? I have my www server on a subnet (mask
255.255.255.240) and a route to a class C network with the web servers on it.
I have each of the ipaddresses 203.8.13.{1-254} aliased onto lo0 with
commands like below in /etc/ipaliases, run at boot time.
ifconfig lo0 203.8.13.1 netmask 0xfffffff alias
If you have just a class C network, and you did not subnet it, so your
PPP dialups all use proxy arp etc, you'll have to put your aliases onto
your ethernet interface:
ifconfig ed0 203.8.13.1 netmask 0xfffffff alias
Note that while the primary ifconfig for the ethernet interface uses a
correct netmask, the aliases should use 0xffffffff (255.255.255.255)
In 2.1.7, there is a feature for /etc/start_if.ed0 which can be just a
series of ifconfig statements, to be used instead of the ifconfig args
definition in /etc/sysconfig.
Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970509122211.4479O-100000>
