Previous Topic

Next Topic

Setting up a DHCP server

To set up a DHCP server, create and edit a dhcpd.conf file in the /etc directory of your server. The following is a sample dhcpd.conf file:

allow booting;

allow bootp;

ddns-update-style interim;

[You must customize the file by inserting the appropriate DHCP directives, IP ranges, subnet masks, and so on here.]


filename "pxelinux.0";

The next-server command tells the DHCP client where to send the TFTP get request.

The filename command tells the DHCP client which file to get. In this example, the file is pxelinux.0.

When you have finished creating the dhcpd.conf file, restart the DHCP server:

/etc/init.d/dhcpd restart