beautypg.com

B.6.1 configure dhcp server settings – IEI Integration IMB-C2160 User Manual

Page 185

background image

IMB-C2160 Mic ro -ATX Mo th e rb o a rd

P a g e 170

The detailed descriptions are described in the following sections. In this document, two

types of Linux OS are used as examples to explain the configuration process – CentOS

5.5 (Kernel 2.6.18) and Debian 5.0.7 (Kernel 2.6.26).

B.6.1 Co n fig u re DHCP S e rve r S e ttin g s

S te p 1:

Install the DHCP

#yum install dhcp

(CentOS, commands marked in red)

#apt-get install dhcp3-server

(Debian, commands marked in blue)

S te p 2:

Confirm the operating system default settings: dhcpd.conf.

CentOS

Use the following command to show the DHCP server sample location:

#vi /etc/dhcpd.conf

The DHCP server sample location is shown as below:

Use the following command to copy the DHCP server sample to etc/dhcpd.conf:

#cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf

#vi /etc/dhcpd.conf

Debian

#vi /etc/dhcpd.conf