From owner-freebsd-questions Fri Oct 20 10:42:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cortes.cibnor.mx (cortes.cibnor.mx [200.23.161.225]) by hub.freebsd.org (Postfix) with ESMTP id 7F6B137B479 for ; Fri, 20 Oct 2000 10:42:16 -0700 (PDT) Received: from localhost (cestrada@localhost) by cortes.cibnor.mx (8.9.3/8.9.3) with ESMTP id LAA01133; Fri, 20 Oct 2000 11:42:08 -0600 (MDT) Date: Fri, 20 Oct 2000 11:42:06 -0600 (MDT) From: "Cesar Estrada [INF]" To: Jon Rust Cc: freebsd-questions@freebsd.org Subject: Re: DHCP In-Reply-To: <20001019150059.C57892@mail.vcnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Its working all ok, but I have a error, when I executed dhcpd "can't bind to dhcp address: Address already in use. Do you know, what is the problem ?? Thanks On Thu, 19 Oct 2000, Jon Rust wrote: > On Thu, Oct 19, 2000 at 03:27:02PM -0600, Cesar Estrada [INF] wrote: > > > > > > /usr/ports/net/isc-dhcp2 or /usr/ports/net/isc-dhcp3. Download and read > > > manuals first time. When you do this, I can help you to create your own > > > dhcpd.conf file. > > > > Ok, I think, I have dhcpd, but I need to create a dhcpd.conf file, do you > > have a example file ?? > > Here's what mine looks like: > > # Configuration file for ISC dhcpd > > server-identifier host.domain.com; > > # option definitions common to all supported networks... > option domain-name "domain.com"; > option domain-name-servers 192.168.100.254; > option subnet-mask 255.255.255.0; > option routers 192.168.100.254; > default-lease-time 72000; > max-lease-time 144000; > > #Dynamic allocation to non registered machines from a pool > subnet 192.168.100.0 netmask 255.255.255.0 { > range 192.168.100.10 192.168.100.50; > } > > # The subnet attached to dc1 doesn't want DHCP > # but dhcpd wants us to define it anyway > subnet 10.0.0.0 netmask 255.255.255.248 { > } > > # Fixed IP addresses can also be specified for hosts. > #host luser { > # hardware ethernet 00:01:02:03:04:05; > # fixed-address luser.domain.com; > #} > > HTH, > jon > Ing. Cesar Estrada Enriquez Centro de Investigacion Biologicas, La Paz, B.C.S., Mexico Division de Diseno Tecnologico, Redes. Tel.(112) 5 36 33 Ext. 3177,3124 E-mail: cestrada@cibnor.mx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message