Linux平台修改网卡名称

临时修改

ip link set eth0 down
ip link set eth0 name en192
ip link set en192 up

永久生效
修改/usr/lib/udev/rules.d/60-net.rules,替换为以下内容,MAC地址和网卡名称根据实际情况修改

ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:50:56:8e:3f:a7", NAME="en192"

来源:https://unix.stackexchange.com/questions/205010/centos-7-rename-network-interface-without-rebooting/