Details about Linux DHCP Service backup

Source: Internet
Author: User

For DHCP, its IP management function has always been favored by administrators. So here we will introduce the Linux DHCP Service backup content. Next, let's analyze the settings.

Linux DHCP Service backup

In a large-scale LAN, network management generally uses DHCP servers to uniformly allocate TCP/IP configuration information to clients. However, the sky is unpredictable. Human misoperations or other factors may cause configuration errors or loss of the DHCP server. What should I do?

Manual recovery is very troublesome and requires a lot of work. At the same time, the DHCP server may contain multiple scopes, in addition, each scope contains different IP address segments, Gateway Addresses, DNS servers, and other parameters. Therefore, you need to always back up the configuration information. Once a problem occurs, you can restore it.

The DHCP server has built-in backup and restoration functions, and the operation is very simple. In the DHCP Console window, right-click the "DHCP server name" option (see figure) and select "backup" in the pop-up menu ", in the "Browse folder" dialog box, specify the storage path of the backup file and click "OK" to back up the configuration information.

If the DHCP configuration information is damaged and needs to be restored, right-click the "DHCP server name" option and select "Restore" in the pop-up menu to specify the path of the backup file, after you click "OK", the system will stop the DHCP service and restart the service to restore the DHCP configuration information.

Linux DHCP service configuration

First, you need to know what the DHCP server is doing? It is a legendary server that automatically obtains IP addresses from clients!

Step 1: Open the drive into the RHEL4-i386-AS-disc4

Step 2: mount/dev/cdrom/media/cdrom/| mount/dev/cdrom/mnt

Step 3: Go to the directory cd/mnt/RedHat/RPMS/

Step 4: Install rpm-ivh dhcp

Step 5: Copy a dhcpd sample cp/usr/share/doc/dhcp-3.0.1/dhcpd. conf. sample/etc/dhcpd. conf

Step 6: Edit DHCPD. CONF

Step 7: Configure the server's netconfig

Step 8: Start DHCPD restart netconfig

Here we will explain how to back up, restore, and configure the Linux DHCP service. Hope to help you.

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.