Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 23:11:25 -0500
From:      "Bagus" <bagus@cox.net>
To:        <freebsd-questions@freebsd.org>
Subject:   changing from dhcp to static ip, changing hostname, etc.
Message-ID:  <NFBBJMMIKLKCDJIPOPLFGEPKFNAA.bagus@cox.net>

next in thread | raw e-mail | index | archive | help

Hi,

I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure of
all the syntax.

If not, here's what I had in my rc.conf.
hostname="john"
ifconfig_fxp0="DHCP"

now I'm hoping to have a

hostname of  bagus.org
gateway of 204.251.1.185
ip address of 204.251.1.186
netmask of 255.255.255.248

I'm guessing I need to change my resolve.conf, too. what does the 'search'
line in there do?

Any other considerations?

Thanks,

Bagus

p.s. I can't for the life of me find a simple
how-to-get-your-freebsd-box-online guide. The handbook seems to only have
"11.3 Core Configuration" which has a little bit about cluster
configurations. What's up with that? I just want to get one box online!




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