From owner-freebsd-stable Fri Jul 7 17:30:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id D22DD37BCDE for ; Fri, 7 Jul 2000 17:30:20 -0700 (PDT) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id RAA03901; Fri, 7 Jul 2000 17:30:11 -0700 (PDT) Date: Fri, 7 Jul 2000 17:30:11 -0700 From: Brooks Davis To: Roelof Osinga Cc: freebsd-stable@FreeBSD.ORG Subject: Re: DHCP problem with 4.0 Message-ID: <20000707173011.A3544@orion.ac.hmc.edu> References: <39666373.CF27AA36@nisser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <39666373.CF27AA36@nisser.com>; from roelof@nisser.com on Sat, Jul 08, 2000 at 01:10:43AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jul 08, 2000 at 01:10:43AM +0200, Roelof Osinga wrote: > I recently installed a 4.0 system for a client. Hooked up to the > Net by way of a cable modem. At the time with static IP adresses. > Unfortunately due to circumstances the client needed a new modem > and got forcefed one that works with DHCP. Unfortunately in that > it has been about three years since I last did something with > DHCP and that was on a Slackware Linux system. > > I installed it more or less correctly based on the manpages. At > first manually overriding the routes. Of course after "dhclient > -D ed0" had done its thing. At that point I saw the modem lights > light up when I pinged the gateway, even though I got no replies. > > So I decided to bite the bullet, used /stand/sysinstall to > reconfigere rc.conf, reset the box and see what happenned. Nothing > much, as it turned out. In fact the modem light didn't even light > up as before. Though I could detect no significant difference in > either the ifconfig or the routing tables. > > Decided to return to the office and study what docs I could find. > Unfortunately, most of it is for 2.x or 3.x. Like the otherwise > excellent http://freebsd.simplenet.com/dhcp.html. Checked the FAQ, > did a scan though the days crop of maillist messages as well as a > search though the lists. All to no avail. That URL is only applicable to 2.x and earlier 3.x releases. DHCP support is now standard in FreeBSD. You must have the following entry in your kernel config file (under 4.0): pseudo-device bpf #Berkeley packet filter To configure the system to use DHCP just edit the ifconfig line in your /etc/rc.conf to look like: ifconfig_ed0="DHCP" Don't set any other network related things in the config file unless you're DHCP server is misconfigured and doesn't tell you about them. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message