Date: Sun, 20 Jun 2004 00:11:42 +0200 From: Geert Hendrickx <geert.hendrickx@ua.ac.be> To: Dave <mudman@metafocus.net> Cc: freebsd-questions@freebsd.org Subject: Re: Disabling DHCP Message-ID: <20040619221142.GA5047@lori.mine.nu> In-Reply-To: <20040619143929.D6077@metafocus.net> References: <20040619143929.D6077@metafocus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 defaultrouter="192.168.1.2" ifconfig_ed1="inet 192.168.1.210 netmask 255.255.255.0" 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. GH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040619221142.GA5047>