*BSD News Article 57758


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!pravda.aa.msen.com!nntp.coast.net!news.sprintlink.net!aimnet.com!netserv.com!pagesat.net!niia.net!usenet
From: you@somehost.somedomain (Chris Knight)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Virtual hosting (probably a FAQ)
Date: 17 Dec 1995 20:33:48 GMT
Organization: Your Organization
Lines: 27
Message-ID: <4b1urc$e2c@gold.niia.net>
References: <DJ2HsD.DFw@ritz.mordor.com> <4a4okl$f1@buffnet2.buffnet.net>
NNTP-Posting-Host: pmm3-28.niia.net
Mime-Version: 1.0
X-Newsreader: WinVN 0.93.14


In article <4a4okl$f1@buffnet2.buffnet.net>, shovey@buffnet.net says...
>
>Chris Mauritz (ritz@ritz.mordor.com) wrote:
>: I checked www.freebsd.org and the archives of this newsgroup
>: but couldn't find any definitive answer.  What exactly are
>: the steps needed to allow one machine to answer to more
>: than one IP address on the same interface?  I read "man ifconfig"
>: but it isn't that clear.
>
>: I'm assuming something like:
>
>: ifconfig ep0 inet new.ip.address alias netmask 0xffffffff

Thanks!!!!  After beating my head on my desk all day today, I finally 
have this working.

>You cannot ping any of the aliased ips from the machine it is aliased on 
>- but should be able to from any other machine.

Now I have to wonder if I'm doing this right...  I can ping the machine's 
address, plus the two aliases I created today.  All respond properly, as 
far as I can tell.


-ck