|
发表于 2008-12-12 17:38:43
|
显示全部楼层
如果用的是 gentoo 可以修改这个文件 /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# PCI device 0x1022:0x2000 (pcnet32)
#SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:c7:4d:4d", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
#SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:c7:4d:57", NAME="eth1"
# PCI device 0x1106:0x3065 (via-rhine)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:ba:e4:54:42", NAME="eth0" |
|