*BSD News Article 56459


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!spcuna!ritz!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Virtual hosting (probably a FAQ)
Organization: Mordor International
Date: Mon, 4 Dec 1995 15:02:37 GMT
X-Newsreader: TIN [version 1.2 PL2]
Message-ID: <DJ2HsD.DFw@ritz.mordor.com>
Lines: 26

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

in rc.local will do the trick, but that seems to break the
networking for my machine. (can't even ping itself)

Any tips would be greatly appreciated.  I suppose I'll submit
the answer to the FreeBSD folk to add to the FAQ on the web
site.  :)

Regards,

Chris

-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451