Gentoo Archives: gentoo-amd64

From: felix@×××××××.com
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Udev rules and Ethernet assignments
Date: Sat, 16 Sep 2006 07:29:55
Message-Id: 20060916072830.GA22415@crowfix.com
1 I have a box with 5 ethernet ports -- or 4, if you don't count the
2 firewire ethernet which I don't have any use for anyway.
3
4 Each boot, they come up with different assignments to the eth?
5 interfaces. It's annoying swapping cables until things start talking
6 to the right networks again.
7
8 This is my /etc/udev/rules.d/10-net.rules file:
9
10 # Onboard Gigabit
11 KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C6", NAME="eth0"
12
13 # Onboard Gigabit
14 KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C7", NAME="eth1"
15
16 # Onboard 100Mbps
17 KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:3B", NAME="eth2"
18
19 # PCI card gigabit
20 KERNEL=="eth*", SYSFS{address}=="00:E0:4C:69:0C:2C", NAME="eth3"
21
22 # PCI card firewire
23 KERNEL=="eth*", SYSFS{address}=="00-11-06-66-45-55-56-5A-00-00-00-00-00-00-00-00", NAME="eth4"
24
25 Should this assign things properly? It doesn't, so I suppose the
26 answer is no, but how should I do it then?
27
28 --
29 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
30 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
31 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
32 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
33 --
34 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Udev rules and Ethernet assignments Simon Stelling <blubb@g.o>
Re: [gentoo-amd64] Udev rules and Ethernet assignments "Kevin F. Quinn" <kevquinn@g.o>
Re: [gentoo-amd64] Udev rules and Ethernet assignments Pawel Kraszewski <Gentoo@××××××××××.net>