Date: Thu, 19 Oct 2000 15:00:59 -0700 From: Jon Rust <jpr@vcnet.com> To: "Cesar Estrada [INF]" <cestrada@cibnor.mx> Cc: freebsd-questions@freebsd.org Subject: Re: DHCP Message-ID: <20001019150059.C57892@mail.vcnet.com> In-Reply-To: <Pine.BSF.4.05.10010191525100.6056-100000@cortes.cibnor.mx>; from cestrada@cibnor.mx on Thu, Oct 19, 2000 at 03:27:02PM -0600 References: <39EEE3E4.5078CAEF@sentry.granch.ru> <Pine.BSF.4.05.10010191525100.6056-100000@cortes.cibnor.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
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
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001019150059.C57892>
