*BSD News Article 94667


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!rill.news.pipex.net!pipex!hole.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple IP adresses with FreeBSD
Date: 29 Apr 1997 09:49:12 GMT
Organization: Awfulhak Ltd.
Lines: 24
Message-ID: <5k4g6o$h54@ui-gate.utell.co.uk>
References: <5k2t8m$rtd$1@s3.iway.fr>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39907

In article <5k2t8m$rtd$1@s3.iway.fr>,
	prevel@semaphore.fr (pierre revel) writes:
> In order to handle multiple domains with FreeBSD (22.1.5)
> and apache httpd, I'm trying to allow my server to handle multiple
> IP addresses.
> 
> I suppose that I can make it with the directive 'alias' in ifconfig
> but it doesn't work... It is not a problem with apache,
> I'm just trying to 'ping' the server at multiple IP addresses.
> 
> If anybody has an experience of this problem, any help
> will be appreciated !

This works:

ifconfig ep0 inet 10.31.10.31 netmask 0xffffff00
ifconfig ep0 inet 10.31.10.32 netmask 0xffffff00 alias

Is this similar to what you're trying ?

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !