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.