*BSD News Article 83977


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!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!spring.edu.tw!news.edu.tw!news-peer.gsl.net!news.gsl.net!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-mannheim.de!news.rhein-neckar.de!birdland.rhein-neckar.de!not-for-mail
From: maja@birdland.rhein-neckar.de (Martin Jangowski)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.infosystems.www.servers.unix
Subject: Re: Multihoming on FreeBSD
Date: 1 Dec 1996 10:04:59 +0100
Organization: Lullaby of Birdland
Lines: 27
Message-ID: <57rhnr$g47@birdland.rhein-neckar.de>
References: <849348225.2117@dejanews.com> <57ppm7$2ae@uriah.heep.sax.de>
NNTP-Posting-Host: birdland.rhein-neckar.de
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960917]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:31839 comp.infosystems.www.servers.unix:22601

In comp.infosystems.www.servers.unix J Wunsch <j@uriah.heep.sax.de> wrote:
: greg@lightningweb.com wrote:

: > I am going to run Zeus server to host several different domains.  I have 
: > the IP's for each www.foo.com, and I have the server config ready for the 
: > domains.
: > 
: > How do I tell FreeBSD 2.1.6 to assign those IP's and addresses to my 
: > machine?

: Btw., that's not true multi-homing.  This term refers to a machine
: with multiple network interfaces.

: Basically, you need to RTFM ifconfig(8), in particular about the
: `alias' keyword.

...and don't forget to add a route to the new interface. 

/sbin/route add -host <adress_you_just_added> localhost 

Martin (who once wondered for hours why aliases wouldn't work...)

-- 
| Martin Jangowski              E-Mail: maja@birdland.rhein-neckar.de |
| Voice: +49 621/53 95 06                       Fax: +49 621/53 95 07 |
| Snail Mail: Koenigsbacher Str. 16      D-67067 Ludwigshafen Germany |
| RNInet e.V.                                   Rhein-Neckar Internet |