??When Linux gets its Interfaces in a Knot??

??When Linux gets its Interfaces in a Knot??

I have a problem were on a reboot the interface names are not persistent. Create the file below and force the names to be associated with the MAC address of the interface.

#  /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:2b:58:8a:20:be", ATTR{type}=="1", KERNEL=="eth*", NAME="eth6"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:2b:58:8a:20:bf", ATTR{type}=="1", KERNEL=="eth*", NAME="eth7"        


要查看或添加评论,请登录

Ronald Bartels的更多文章

社区洞察

其他会员也浏览了