From owner-freebsd-questions@FreeBSD.ORG Sat Jun 19 22:42:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D78F16A4CE for ; Sat, 19 Jun 2004 22:42:43 +0000 (GMT) Received: from cromagnon.cullmail.com (cromagnon.cullmail.com [67.33.58.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD3B43D5A for ; Sat, 19 Jun 2004 22:42:43 +0000 (GMT) (envelope-from jamoore@cromagnon.cullmail.com) Received: from cromagnon.cullmail.com (localhost.cullmail.com [127.0.0.1]) i5JMkx6m003957; Sat, 19 Jun 2004 17:46:59 -0500 (CDT) (envelope-from jamoore@cromagnon.cullmail.com) Received: from localhost (localhost [[UNIX: localhost]]) by cromagnon.cullmail.com (8.12.10/8.12.10/Submit) id i5JMkwrH003956; Sat, 19 Jun 2004 17:46:58 -0500 (CDT) (envelope-from jamoore) From: Jay Moore To: freebsd-questions@freebsd.org Date: Sat, 19 Jun 2004 17:46:58 -0500 User-Agent: KMail/1.6.1 References: <20040619143929.D6077@metafocus.net> <20040619221142.GA5047@lori.mine.nu> In-Reply-To: <20040619221142.GA5047@lori.mine.nu> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406191746.58424.jaymo@cromagnon.cullmail.com> cc: Geert Hendrickx cc: Dave Subject: Re: Disabling DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jaymo@cromagnon.cullmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 22:42:43 -0000 On Saturday 19 June 2004 05:11 pm, Geert Hendrickx 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. I think this advice is correct if the router is set up just so. It could break your network connection if not. What sort of service do you have? e.g. DSL, cable modem, T1, ...? Did your ISP assign you a fixed IP address (or block of addresses)? More information might help you get a better quality answer. If nothing else, type 'ifconfig -a' & post that result here. hth, Jay