Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 17:30:11 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Roelof Osinga <roelof@nisser.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: DHCP problem with 4.0
Message-ID:  <20000707173011.A3544@orion.ac.hmc.edu>
In-Reply-To: <39666373.CF27AA36@nisser.com>; from roelof@nisser.com on Sat, Jul 08, 2000 at 01:10:43AM %2B0200
References:  <39666373.CF27AA36@nisser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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