| Последняя версияСледующая версия справа и слева |
ubuntu:ethernet-detect [2010/04/08 15:42] – создано artur | ubuntu:ethernet-detect [2010/09/08 16:11] – artur |
---|
| |
В /etc/udev/rules.d/70-persistent-net.rules перечислены все устройства. eth* привязываются по MAC адресу. | В /etc/udev/rules.d/70-persistent-net.rules перечислены все устройства. eth* привязываются по MAC адресу. |
| |
| |
| <code># 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 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:02:03", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" |
| |
| # PCI device 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:02:05", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" |
| |
| # PCI device 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:02:09", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" |
| |
| # PCI device 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:02:0b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3" |
| |
| # PCI device 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:0f:13", ATTR{type}=="1", KERNEL=="eth*", NAME="eth4" |
| |
| # PCI device 0x1011:0x0009 (tulip) |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:64:0f:16", ATTR{type}=="1", KERNEL=="eth*", NAME="eth5"</code> |
| |