2005年1月16日

/etc/dhcp/dhcpd.conf

option domain-name "domain.com";
option domain-name-servers 168.95.192.1, 139.175.10.20, 168.95.1.1;

default-lease-time 600; max-lease-time 7200;

ddns-update-style ad-hoc;

subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.32 192.168.0.254; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option domain-name-servers 168.95.192.1, 139.175.10.20, 168.95.1.1; }

/etc/conf.d/dhcp

# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcp.conf,v 1.4 2004/03//06 03:30:53 vapier Exp $

# Configure which interface or interfaces to for dhcp to listen on # list all interfaces space separated. IFACE="eth1"

# Insert any other options needed DHCPD_OPTS=""

# If you wish to run dhcp in a chroot, run: # ebuild /var/db/pkg/net-misc/<dhcp version>/<dhcp-version>.ebuild config # and un-comment the following line. # You can specify a different chroot directory but MAKE SURE it's empty. #CHROOT="/chroot/dhcp"