*BSD News Article 82840


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!news-hub.sprintlink.net!news.sprintlink.net!news-pen-14.sprintlink.net!news.rain.net!199.227.219.134
From: Christopher Darrell <qj@wlci.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Virtual Domain help please
Date: Thu, 14 Nov 1996 13:57:42 -0500
Organization: Weblink Communications
Lines: 20
Message-ID: <328B6BA6.41C67EA6@wlci.com>
References: <E02tr9.FAM@eskimo.com> <32809A6F.5133@globaldialog.com>
NNTP-Posting-Host: atheria.europa.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; BSD/OS 2.0 i386)

Scott M. Trautman wrote:
> 
> Mark Dreyer wrote:
> >
> >   I have begun setting up to host virtual domains and have found all
> > information necessary (I believe) with the exception of how to get my
> > ethernet card to respond to two ip addresses.  Can anyone help me with this?
> 
> 1. alias the address to your ethernet adapter. CAUTION: be VERY careful
> with the ifconfig command; you will be left high and dry if you forget
> the alias at the end (trust me I know)
> 
> ifconfig ef0 inet www.whatever.com netmask 255.255.255.0 alias
> 
> -it may report "file already exists"/something like that. That is normal

The 'file already exists' error isn't normal, make the netmask
255.255.255.255 to avoid it.

-QJ