*BSD News Article 82712


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!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!arclight.uoregon.edu!super.zippo.com!zdc!szdc!news
From: david drexler <david@netplus.net>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Virtual Domain help please
Date: Tue, 12 Nov 1996 10:47:48 -0600
Organization: internet access plus
Lines: 26
Message-ID: <3288AA34.2737@netplus.net>
References: <E02tr9.FAM@eskimo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (Win95; I)
To: Mark Dreyer <starcrow@main.norwes.com>

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