*BSD News Article 82955


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!cs.utexas.edu!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!phase2.worldnet.att.net!netnews.worldnet.att.net!uunet!in3.uu.net!news.eden.com!arlut.utexas.edu!usenet
From: Ian Fink <fink@arlut.utexas.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Virtual Domain help please
Date: Fri, 15 Nov 1996 16:27:41 -0600
Organization: Applied Research Laboratories - The University of Texas at Austin
Lines: 34
Message-ID: <328CEE5D.66B4@arlut.utexas.edu>
References: <E02tr9.FAM@eskimo.com> <3288AA34.2737@netplus.net>
NNTP-Posting-Host: seadevil.arlut.utexas.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/730)

david drexler 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?
> 
> Add something similar to the end of /etc/netstart
> 
> ##### virtual web pages #####
> #
> cust1=100
> cust2=101
> cust3=102
> cust4=103
> 
> for x in cust1 cust2 cust3 cust4
> do
>         aliasIP=206.250.192.$x
>         ifconfig ef0 inet $alias netmask 255.255.255.0 alias
>         route add -host $aliasIP 127.0.0.1
> done
> 
> /** **/
> 
> David Drexler
> Internet Access Plus


Can one make telnetd differenciate between which IP addr the connection
came in?

Ian