相關資訊
本類常用軟件
-
福建農村信用社手機銀行客戶端下載下載量:584212
-
Windows優化大師下載量:419776
-
90美女秀(視頻聊天軟件)下載量:366966
-
廣西農村信用社手機銀行客戶端下載下載量:365708
-
快播手機版下載量:325899
ifconfig -a 發現有三個網卡: eth0 eth1 eth2。
vi /etc/udev/rules.d/70-persistent-net.rules
把沒用的網卡(8139too)信息刪除或注釋掉,再修改新網卡(r8169)參數NAME="eth2"
例子:
[root@smalarm rules.d]# cat 70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x1502 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="f8:b1:56:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8139 (8139too)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4d:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"