Set up DHCP service in CentOS5.4

Source: Internet
Author: User
System Environment: DHCP server CentOS5.4 client WindowsXPSP31, check Server IP address 2, check whether the system has installed DHCP service, create a disc mount point to attach the disc 3, enter the disc and view the content, install the DHCP service installation package 4. Check the DHCP service installation package 5. view the configuration file of the system DHCP Service (

System Environment: DHCP server CentOS 5.4

Windows XP SP3 Client

1. view the Server IP Address

2. Check whether the system has installed the DHCP service and establish a CD mount point to mount the CD.

3. Go to the CD and view the content, and install the DHCP service installation package.

4. Check the installation package of the DHCP service

5. view the configuration file of the system DHCP Service (unlike other services, the system does not improve the dhCpD. conf configuration file, but we can use the example file that comes with the system to edit it)

6. copy the dhcp configuration example to the system configuration file and edit it.

7. The DHCP Service is relatively simple. Here we only need to edit the gateway, mask, and address pool. The specific situation depends on the scope of use.

8. Edit the Start port of the DHCP service (if there is only one Nic, eth0 is set by default)

9. Restart the network service and DHCP service, and check whether the dhcpd is normal.

10. Verify the IP address of the Windows client (if the IP address is successfully obtained, the default IP address of the DHCP service set up in Windows is obtained from small to large, but the opposite is true in Linux)

11. After the Linux system is restarted, the DHCP service will stop, so I want to set the DHCP service to start with the system.

#Chkconfig-- List dhcpd check the DHCPD startup status. The default value is 0123456.

# Chkconfig -- level 345 on dhcpd set 345 to start at startup

Note :#Ntsysv(Use the space key to select dhcpd, only for the current startup level)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.