Subject: Re: IP Address
To: Matthew Fincham <matthewf@cat.co.za>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-net
Date: 06/26/2000 13:49:11
On Mon, 26 Jun 2000, Matthew Fincham wrote:
> I am wanting to establish the IP address of the machine on which NetBSD is
> running. I was wondering if looking at the /etc/ifconfig.?? files was the
> right appoach, or am I on the wrong track?

Nope, you're right.
Either put the ifconfig arguments of your interface into /etc/ifconfig.??,
or set ifconfig_??="..." in /etc/rc.conf.

Things look something like (for my setup, in /etc/rc.conf):
defaultroute="192.168.0.1"
ifconfig_ep0="192.168.0.222"


 - Hubert

-- 
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!