Detailed graphic and text explanation of network card configuration in Linux system

巴扎黑
Release: 2017-08-09 15:32:28
Original
1546 people have browsed it

This article mainly introduces the Linux system network card setting tutorial, which has certain reference value. Interested friends can refer to it

Due to the cloning of the virtual machine, it was found that the cloned machine was not the same as the one being cloned. The MAC addresses of the clone machines are the same. Now I will introduce the configuration steps of the network card in Linux. The Linux I use is CentOS release 6.9 (Final)

1. The root user edits /etc/udev/rules.d /70-persistent-net.rules file, find the network card with duplicate mac address and delete it (here is eth0). Remember the mac address of the newly generated network card eth1, which will be used later. Save and exit

# vi /etc/udev/rules.d/70-persistent-net.rules

2. Edit /etc/sysconfig/network-scripts /ifcfg-eth0, change the HWADDR address to the newly generated mac address 00:50:56:36:16:72

# vi /etc/sysconfig/network-scripts/ifcfg -eth0

3. Restart the system to make the previous modifications take effect

# reboot

The above is the detailed content of Detailed graphic and text explanation of network card configuration in Linux system. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!