Let's resolve this problem.
Edit this file:
/etc/udev/rules.d/70-persistent-net.rules The content of this file is shown below:
# PCI device 0x14e4:0x164c (bnx2) (custom name provided by external tool) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="00:11:22:33:44:55", ATTR{type}=="1", KERNEL=="eth", NAME="eth0" # PCI device 0x8086:0x10d6 (igb) (custom name provided by external tool) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="aa:bb:cc:dd:ee:ff", ATTR{type}=="1", KERNEL=="eth", NAME="eth1"
Just set the device name as the output "ifconfig -a" accordingly.
沒有留言:
張貼留言
艾倫搜尋企業級的Open Source Solutions,提供簡易好上手的教學文件。