*BSD News Article 78947


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!news.webspan.net!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.1.5 ifconfig placement
Date: Mon, 23 Sep 1996 20:35:31 -0700
Organization: Walnut Creek CDROM
Lines: 30
Message-ID: <32475703.31DFF4F5@FreeBSD.org>
References: <52713c$h2@news.jb.com>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.2-CURRENT i386)
To: Michelle Brownsworth <michellb@ordata.com>

Michelle Brownsworth wrote:
> additional ifconfigs supposed to reside?  Originally, I tried adding 
> them in sysconfig, as below:
> 
> /etc/sysconfig
> 
>         network_interfaces="lo0 ed1"
> 
>         ifconfig_lo0="inet localhost"
>         ifconfig_ed1="inet 206.100.174.191 netmask 255.255.255.0"
> 
>         # Virtual hosts
> 
>         ifconfig_ed1="inet alias 206.100.174.209 netmask 0xffffffff" #

It would have worked had you done something more like:

	network_interfaces="lo0 ed1 virt0 virt1"

	ifconfig_ed1="inet 206.100.174.191 netmask 255.255.255.0"

	# Virtual hosts
	ifconfig_virt0="inet alias 206.100.174.209 netmask 0xffffffff"
	ifconfig_virt1="inet alias 206.100.174.210 netmask 0xffffffff"

Though I thought Apache could be configured to do this on your behalf
automatically?  I could be wrong, of course..
-- 
- Jordan Hubbard
  President, FreeBSD Project