Check DHCP configuration files of different versions

Source: Internet
Author: User

Nowadays, there are many systems and various choices are available. However, one problem is that the same software may be compatible with different systems. Now let's take a look at the compatibility issues related to DHCP and configuration files. Because many versions of Linux have been found, DHCP client programs and DHCP servers are different in different versions. Linux provides four DHCP client procedures: pump, dhclient, dhcpxd, and dhcpcd. Understanding the server and client programs of different Linux releases is necessary for troubleshooting common errors. I have encountered incompatibility between SuSE Linux 9.1 DHCP server and Mandrake Linux 9.0 client. In this case, you must change the client program. The method is to stop the network service of the client, uninstall the original program, and install compatible programs on the server. Appendix: DHCP clients used for major Linux distributions.

Release: Red Hat Linux 9.0
Optional DHCP Client: dhclient
DHCP Client startup without/sbin/ifup
Add a configuration file to the script:
/Etc/sysconfig/network,
/Etc/sysconfig/network-scripts/ifcfg-eth0

Released: Debian Linux 3.0
Optional DHCP Client: dhclient
DHCP Client startup without/sbin/ifup
Add a configuration file to the script:
/Etc/network/interfaces,
/Etc/dhclient. conf

Release: Mandrake Linux 9.1
Optional DHCP clients: dhclient dhcpcd, dhcpxd, pump
DHCP Client startup:/sbin/ifup
Add a configuration file to the script:
/Etc/sysconfig/network,
/Etc/sysconfig/network-scripts/ifcfg-eth0,
// Etc/dhclient-eth0.conf

Release: SuSE Linux 9.1
Optional DHCP Client: dhcpcd dhclient
DHCP Client startup:/sbin/ifup-dhcp
Add a configuration file to the script:
/Etc/sysconfig/network/dhcp
/Etc/sysconfig/network/ifcfg-eth0

Note: dhcpcd is installed in my SuSE 10.0 by default. The/etc/sysconfig/network/dhcp mentioned above is the configuration file of dhcpcd.

I tried to find dhclient in five iso files, but not found, but SuSE supports dhclient./etc/sysconfig/network/config is the configuration file of dhclient, of course, dhclient can be found in rpmfind.net.

We should be familiar with the differences in network configuration files of Linux distributions.

Mandriva belongs to the Red Hat family. Despite its full personality, the configuration file is similar to the Red Hat family.

Debian's/etc/network/interfaces is unique.

SuSE and Slackware are also unique. They do not have the sysconfig folder under/etc.

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.