From owner-freebsd-questions Wed Sep 29 10:33:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 19B5D14F41 for ; Wed, 29 Sep 1999 10:33:15 -0700 (PDT) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 58953 invoked by uid 374); 29 Sep 1999 17:35:22 -0000 Date: Wed, 29 Sep 1999 19:35:22 +0200 From: Barry Irwin To: gag@itn.is Cc: questions@FreeBSD.ORG Subject: Re: dhcp on freebsd Message-ID: <19990929193522.I23989@rucus.ru.ac.za> References: <199909271937.TAA115062@aegir.itn.is> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199909271937.TAA115062@aegir.itn.is> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon 1999-09-27 (19:37), gag@itn.is wrote: > Hello, > > I'm trying to config my FreeBSD server as a DHCP server, but have not seen any > info on the subject yet. > I'd like to know if there is some information about this that I can access to > set this service up on my current server. http://www.isc.org Has some documentation and examples. The dhcpd.conf manpage is also quite enlightening. Attached below is my dhcpd.conf which covers both static IP allocation basedon MAC address and dynamic allocation from a pool --snip-- # dhcpd.conf # # Configuration file for ISC dhcpd # # Updated by Barry Irwin # Interface/IP of the server server-identifier balrog.moria.org; # option definitions common to all supported networks... option domain-name "moria.org"; option domain-name-servers 192.168.1.1, 146.231.128.5, 146.231.29.2 ; option subnet-mask 255.255.255.00; option routers 192.168.1.1; default-lease-time 72000; max-lease-time 144000; #Dynamic allocation to non registered machines from a pool subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.50; } # Fixed IP addresses can also be specified for hosts. host smaug { hardware ethernet 00:C0:DF:50:0B:0C; fixed-address smaug.moria.org; } --snip-- Barry -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message