• How to change the name of network card to eth0 in newly installed CentOS 7 system?


    Starting with CentOS / rhel7, the predictable naming rules became the default. With this rule, the interface name is automatically determined based on firmware, topology, and location information. Now, even if network devices are added or removed, the interface name remains fixed without re enumeration, and broken hardware can be replaced seamlessly. However, although this […]

  • The method of modifying network card EM1 to eth0 by CentOS system


    Question: Some Dell servers found that the name of the network card changed to EM1 after installing Linux operating system. terms of settlement: Modify the name of the network card to eth0. Take CentOS operating system as an example. 1: Modify system grub vi /boot/grub/grub.conf #Add after kernel parametersbiosdevname=0 kernel /vmlinuz-2.6.32-573.7.1.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 […]

  • What should I do when eth0 becomes eth1?


    Friends in the operation and maintenance industry all know that when the server has replaced the main board or network card, the network card disorder often occurs. Next, I will introduce some tips to solve the disorder order problem. 1. View the system version 2. To view the current network card status:ip addr  3. To […]

  • How does CentOS network card eth1 become eth0? How does CentOS network card eth1 become eth0


    In virtualization, the virtual machine network card cloned from the template will be named eth1. Some programs or scripts that involve the network card will write eth0 by default. At this time, there is a problem of changing eth1 to eth0. The method is as follows: #vi /etc/udev/rules.d/70-persistent-net.rules 70-persistent-net.rules still retains the contents of the old […]

  • Solution of Centos Linux System without Network Card eth0 Configuration File


    As we all know, Linux systems are generally used as servers, and in many cases, configuration files need to be modified through the character interface. For example, configuring network card IP is to modify ifcfg-eth0 under / etc. What if the configuration file is missing? Take Centos system as an example to solve the problem […]

  • FreeBSD, Debian, CentOS A Network Card Binds Multiple IP


    1. FreeBSD: Configuration/etc/rc.conf ifconfig_interface=”inet“ ifconfig_interface_alias0=”inet″ Note that interface is the device name of the network card. 2. Debian /etc/network/interfaces auto eth0 iface eth0 inet static address netmask network gateway Another IP auto eth0:1 iface eth0:1 inet static address netmask network gateway 3.CentOS: /etc/sysconfig/network-scripts/ifcfg-eth0 […]