*BSD News Article 68889


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache Server and VIF: is VIF needed on FreeBSD?
Date: 18 May 1996 22:54:02 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <4nlkea$1l5@uriah.heep.sax.de>
References: <4nfqe3$m6p@nadine.teleport.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

blake@pbgi.com (Blake Swensen) wrote:

> There is mention of the Virtual InterFace, ...

> I have also seen some stuff bantered around this group about how to
> accomplish this on FreeBSD.  It is my desire not to recompile the
> kernel, adding support for VIF, if I can possibly avoid it.  Is
> there a better way to perform ip aliasing on FreeBSD (2.1)?

It's a ``core feature'' of 4.4BSD.  Simply do

	ifconfig <interface> inet alias <aliasaddress> netmask 0xffffffff

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)