No.1: ip addr
No.1: vi /etc/default/grub
No.2: net.ifnames=0 biosdevname=0
No.1: grub2-mkconfig -o /boot/grub2/grub.cfg
No.1: ip addr
No.1: vi /etc/sysconfig/network-scripts/ifcfg-
No.1: mv /etc/sysconfig/network-scripts/ifcfg-eno1 /etc/sysconfig/network-scripts/ifcfg-eth0 eno1 是原網卡檔名 eth0 是新網卡檔名
No.1: vi /etc/sysconfig/network-scripts/ifcfg-eth0
No.1: BOOTPROTO=none No.3: NAME=eth0 No.4: DEVICE=eth0 No.5: ONBOOT=yes
No.1: vi /etc/sysconfig/network-scripts/ifcfg-eth1
No.1: /etc/init.d/network restart