From owner-freebsd-questions Mon Jun 19 21:16: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 4DD6837B716 for ; Mon, 19 Jun 2000 21:16:04 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id e5K4Fun26234; Mon, 19 Jun 2000 21:15:56 -0700 (PDT) Message-Id: <200006200415.e5K4Fun26234@ptavv.es.net> To: Bernd Luevelsmeyer Cc: questions@FreeBSD.ORG Subject: Re: DHCP server for FreeBSD 4.0 In-reply-to: Your message of "Tue, 20 Jun 2000 03:43:20 +0200." <394ECC38.13A4072A@heitec.net> Date: Mon, 19 Jun 2000 21:15:56 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Tue, 20 Jun 2000 03:43:20 +0200 > From: Bernd Luevelsmeyer > Sender: owner-freebsd-questions@FreeBSD.ORG > > Kevin Oberman wrote: > > > > > From: "Charles Peters - Tech Support" > > > Date: Mon, 19 Jun 2000 19:24:46 -0400 > > > Sender: owner-freebsd-questions@FreeBSD.ORG > > > > > > Greetings: > > > > > > I am running a FreeBSD 4.0 server router/gateway to provide > > > internet access for my lan via a cable modem, and I have decided > > > that I need a to set up a dhcp server on this machine to > > > dynamically assign ip address to my client workstations running > > > Win98 and Win95. > [...] > > I would suggest the ISC dhcp server. Their client (dhclient) is part > > of the FreeBSD base system, but they also have a server. In fact, the > > server came first. > [...] > > > May I ask, how do you get DHCP-generated IP addresses into the DNS? I've > got a DHCP server that assigns addresses just fine, but they can't be > looked up because only the fixed addresses are in the DNS. Windows > clients can find each other via WINS, but that isn't enough in the long > run, I'll need the DNS lookup sooner or later. > I could, if that helps, have the master DNS and the DHCP-daemon on the > same computer. Perhaps one could let the DHCP server modify the zone > file and issue a "ndc reload" when a lease is assigned? But I'll have to > handle expired leases too. To do this you will need a combination f DHCP V3 and DNS Dynamic Updates. I'm not sure of the status of the DNS updates being generated by V3, but I know that it was planned. The idea is that you set DNS to allow-updates from the DHCP server for a suitable zone. It hands out the address and registers the system in DNS. I can't say for sure if it all works in the current beta, though. To check this out, see the ISC web site, http://www.isc.org/products/DHCP/dhcp-v3.html What I and most sites do is simply create a series of fixed names in DNS for the DHCP pool. Things like dyn4-203, dyn4-204, etc. While these allow reverse DNS to work for contacting system that verify the IP address, it's probably less than you want and maybe less than you need. You can configure DHCP to look-up an IP address in DNS when assigning it and providing the DNS server, domain and name in the response. This works well. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message