# a minimal /etc/dhcpd.conf example # at first, edit /etc/sysconfig/dhcpd to configure all network interfaces # that the server should listen on (DHCPD_INTERFACE) # if you don't use dynamical DNS updates: # # this statement is needed by dhcpd-3 needs at least this statement. # you have to delete it for dhcpd-2, because it does not know it. # # if you want to use dynamical DNS updates, you should first read # read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt ddns-update-style none; ddns-updates off; # this subnet is served by us authoritative; # declare the lease times (the time after which a client needs to renew its lease) # for production use you'll probably use lease times of several days or even longer # (depending on whether hosts move in/out often (notebook note) or not. for # example, you could assign long leases to your printers by class ids) default-lease-time 259200; # 3 days max-lease-time 604800; # 1 week # let's give the local domain a name # (which should correlate to your name server configuration) option domain-name "beer"; # this assumes that your dhcp server is also the router for the subnet option routers 192.168.0.1; # clients shall use this host as nameserver, too option domain-name-servers 192.168.0.1; # this can explicitely be specified option broadcast-address 192.168.0.255; # these 10 addresses will be given out dynamically subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.11 192.168.0.20; # options may also be put here if they are not global } # this host is known by its hardware address and we want a fixed address for it host erdinger { hardware ethernet 00:30:65:6F:A5:D4; fixed-address 192.168.0.5; }