*BSD News Article 96607


Return to BSD News archive

#! rnews 1809 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!not-for-mail
From: David Henshaw <dhenshaw@silas.cc.monash.edu.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: where to put ed0's IP
Date: Sun, 01 Jun 1997 13:57:06 +1000
Organization: Monash University
Lines: 30
Message-ID: <3390F312.41C67EA6@silas.cc.monash.edu.au>
References: <5mnu6d$qn5@nntp02.primenet.com>
NNTP-Posting-Host: ascendp-int-48.cc.monash.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-NNTP-Posting-User: root
X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.5-RELEASE i386)
To: Soren Ragsdale <soren@primenet.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41962

Soren Ragsdale wrote:
> 
> I've unintentionally installed FreeBSD 2.2.2 from the ground up off a
> completely empty drive (damn you, makefs), and I've noticed that some
> things in /etc have changed.  Most notably, I can't seem to find where I
> activate the ed0 interface, or tell it which IP to take.  I saw something
> promising in /etc/rc.conf, but I haven't been able to get the syntax
> correct.  Where is this information to be added?
> 
> (This is the first time I've had to do this - normally I install over
> ethernet and set up PPP, but this time I installed over PPP and am setting
> up ethernet.)
> 
> --
> quality computers made from wattle and pitch, patiently hand-crafted by
> skilled artisans using time-honored techniques    -- soren@primenet.com
>                               <http://www.cs.arizona.edu/people/soren/>

*smile* - "Been there done that"

Answer : /etc/sysconfig

network_interfaces="lo0 ed0"

ifconfig_lo0="inet localhost"
ifconfig_ed0="inet x.x.x.x netmask y.y.y.y broadcast x.x.x.255"

-- 
David Henshaw
dhenshaw@silas.cc.monash.edu.au