Disabling DHCP

Geert Hendrickx geert.hendrickx at ua.ac.be
Sat Jun 19 15:11:52 PDT 2004

On Sat, Jun 19, 2004 at 02:40:41PM -0700, Dave wrote:
> I want to turn DHCP on my router off.
> How can I use FreeBSD to get an IP addresss from it?  When the system
> boots, it runs dhclient, which hangs for awhile before getting anything.
> What is the better way?

Using a fixed IP, by adding

	ifconfig_ed1="inet  netmask"

to your /etc/rc.conf (be sure to substitute your device and the correct
ip's), and listing the nameserver(s) in /etc/resolv.conf  

That way you won't need your DHCP-server anymore.  


More information about the freebsd-questions mailing list