*BSD News Article 81946


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!newnews.mikom.csir.co.za!news.uoregon.edu!hunter.premier.net!news.nl.innet.net!INnl.net!feed1.news.erols.com!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!cedb!usenet
From: Dan Busarow <dan@dpcsys.com>
Subject: Re: Alias IP to a Network Card
Content-Type: text/plain; charset=us-ascii
To: Butch Evans <butche@sheltonlink.com>
Sender: usenet@news.beach.net (Charlie Root)
Content-Transfer-Encoding: 7bit
Nntp-Posting-Host: dpcdev.dpcsys.com
Organization: Beach.Net, the Beach Cities, California
Message-ID: <32755D6C.167E@dpcsys.com>
References: <3273DD7D.4CE7@sheltonlink.com>
X-Mailer: Mozilla 3.0 (X11; U; SCO_SV 3.2 i386)
Mime-Version: 1.0
Date: Tue, 29 Oct 1996 01:27:08 GMT
Lines: 21

Butch Evans wrote:
> 
> I am trying to set up an alias for my webserver (Apache 1.1.1) under
> FreeBSD 2.1.  I have read the FAQ, and it said use
> 
> ifconfig_<interface> "inet <ip> netmask 0xffffffff alias"
> 
> This just killed my main IP...I have tried several of the other

Did you make an extra entry in network_interfaces ?
e.g. network_interfaces="lo0 ed1 ed1 ed1"  

Did you leave in the original ifconfig_interface line?

Did you leave the original ifconfig_interface line first in sysconfig?

These are the first things I would check.  Personally I do the
ifconfig's
for our aliases from a script in /usr/local/etc/rc.d

Dan