*BSD News Article 81643


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!vixen.cso.uiuc.edu!news.stealth.net!cdc2.cdc.net!news.texas.net!node2.frontiernet.net!news.sprintlink.net!news-peer.sprintlink.net!news.inlink.com!not-for-mail
From: Butch Evans <butche@sheltonlink.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Alias IP to a Network Card
Date: Sun, 27 Oct 1996 16:09:01 -0600
Organization: sheltonlink
Lines: 13
Message-ID: <3273DD7D.4CE7@sheltonlink.com>
NNTP-Posting-Host: 206.196.122.135
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)

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
suggestions, and no luck.  Is there a bug in the version I am using, or
am I missing something.  I am not an expert on FreeBSD (or ANY flavor of
Unix), and am very confused.  I saw a post that referenced changing the
static routes definition.  Is this the answer?  Please be gentle with
any responses, and tell me what I need to do to what file, if it is
outside of the sysconfig file.  Also, please post to my e-mail, and
newsgroup, as I can rarely get the newsgroup.  Thanks, Butch