In linux, eth0 becomes eth1 and other repairs-Linux Enterprise Application-Linux server application information. The following is a detailed description. When eth1 is changed to eth0, there are two NICs. The integrated 8139 on the motherboard is eth1, And the Intel e100 on the PCI slot is eth0. After the e100 is removed, the system Nic still displays eth1!
Hardware device identification and detection are implemented by udev in 2.6, to/etc/udev/rules. d, modify z25_persistent-net. rules: Change the mac name of the eth1 Nic to eth0. Then, modify the network configuration in the/etc/network/interfaces file and restart udev and networking.
Fisherman:/etc/udev/rules. d #/etc/init. d/udev restart
Stopping the hotplug events dispatcher: udevd.
Starting the hotplug events dispatcher: udevd.
Fisherman:/etc/udev/rules. d #/etc/init. d/networking restart
Reconfiguring network interfaces... done.
Fisherman:/etc/udev/rules. d #
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.