1 |
gentoo-amd64@l.g.o wrote: |
2 |
> I have a box with 5 ethernet ports -- or 4, if you don't count the |
3 |
> firewire ethernet which I don't have any use for anyway. |
4 |
> |
5 |
> Each boot, they come up with different assignments to the eth? |
6 |
> interfaces. It's annoying swapping cables until things start talking |
7 |
> to the right networks again. |
8 |
> |
9 |
> This is my /etc/udev/rules.d/10-net.rules file: |
10 |
> |
11 |
> # Onboard Gigabit |
12 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C6", NAME="eth0" |
13 |
> |
14 |
> # Onboard Gigabit |
15 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C7", NAME="eth1" |
16 |
> |
17 |
> # Onboard 100Mbps |
18 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:3B", NAME="eth2" |
19 |
> |
20 |
> # PCI card gigabit |
21 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:4C:69:0C:2C", NAME="eth3" |
22 |
> |
23 |
> # PCI card firewire |
24 |
> KERNEL=="eth*", |
25 |
SYSFS{address}=="00-11-06-66-45-55-56-5A-00-00-00-00-00-00-00-00", NAME="eth4" |
26 |
> |
27 |
> Should this assign things properly? It doesn't, so I suppose the |
28 |
> answer is no, but how should I do it then? |
29 |
|
30 |
KERNEL="eth*", SYSFS{address}="00:0C:F6:17:15:07", NAME="eth0"## sitecom 1Gb |
31 |
pcmcia |
32 |
KERNEL="eth*", SYSFS{address}="08:00:46:BF:6D:31", NAME="eth2"## intel onboard |
33 |
KERNEL="eth*", SYSFS{address}="00:50:5B:00:03:C8", NAME="eth1"## kaweth usb |
34 |
|
35 |
this works for me at least and the MAC-adr. shuold be in uppercase... |
36 |
|
37 |
Juergen |
38 |
|
39 |
-- |
40 |
gentoo-amd64@g.o mailing list |