*BSD News Article 74927


Return to BSD News archive

#! rnews 1294 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!agate!spool.mu.edu!howland.reston.ans.net!EU.net!Austria.EU.net!01-newsfeed.univie.ac.at!cmir.arnes.si!eunet.si!news
From: Blaz Zupan <blaz.zupan@medinet.si>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP aliases?
Date: Sun, 28 Jul 1996 23:49:28 +0200
Organization: Medinet Internet Services
Lines: 14
Message-ID: <31FBE068.2D49@medinet.si>
References: <Duwuuw.AE@alisa.org> <4tfl9s$k2b@nuscc.nus.sg>
NNTP-Posting-Host: gold.medinet.si
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02Gold (Win95; I)

Lai L F wrote:
> John J. Rushford (wjjr@alisa.org) wrote:
> : I'm trying to use the Virtual Host feature of the Apache Web Server.  I'm not
> : sure how to setup IP aliasing using ifconfig.  I'm working with my ISP on
> 
> ifconfig ed0 alias a.b.c.d
> replace ed0 with whatever is your network interface

Better yet, use "ifconfig ed0 alias a.b.c.d netmask 255.255.255.255"
or ifconfig will complain when you add a second alias.

-- 
Blaz Zupan, blaz.zupan@medinet.si, http://www.medinet.si/~blaz
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia