Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 22:31:16 -0400
From:      Bob Hall <rjhjr@cox.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can I do this?
Message-ID:  <20050916023116.GA34278@kongemord.krig.net>
In-Reply-To: <000a01c5ba63$13d238c0$14d71840@casey>
References:  <000a01c5ba63$13d238c0$14d71840@casey>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 15, 2005 at 10:05:12PM -0400, Lisa Casey wrote:
> What's the quickest & easiest way to change the IP address on the new 5.3
> box? Should I do it via /stand/sysinstall or should I change it in
> /etc/rc.conf and /etc/hosts (or do I need to do something with ifconfig -
> which I'm least comfortable with).

Make the changes in rc.conf so that the box will be configured correctly
then next time it is rebooted. To change the address without rebooting,
you'll have to use ifconfig. Do
	ifconfig -a
to get the device, e.g. xl0. Then do
	ifconfig xl0 192.168.2.1
changing 'xl0' to your device and '192.168.2.1' to your address.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916023116.GA34278>