Linux下怎样改变eth0,eth1,eth2,eth3所对应的物理网卡

Linux下怎样改变eth0,eth1,eth2,eth3所对应的物理网卡


发布日期: 1970-01-01 更新日期: 2015-02-02 编辑:giser 浏览次数: 8741

标签:

摘要: 如果用的是Gentoo或Debian, 可以修改这个文件 /etc/udev/rules.d/70-persistent-net.rules This file was automatically generated by the /lib/udev/wri...

如果用的是Gentoo或Debian, 可以修改这个文件 /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"

关注公众号
获取免费资源

随机推荐


Copyright © Since 2014. 开源地理空间基金会中文分会 吉ICP备05002032号

Powered by TorCMS

OSGeo 中国中心 邮件列表

问题讨论 : 要订阅或者退订列表,请点击 订阅

发言 : 请写信给: osgeo-china@lists.osgeo.org