[email protected] wrote:
> I have a box with 5 ethernet ports -- or 4, if you don't count the
> firewire ethernet which I don't have any use for anyway.
>
> Each boot, they come up with different assignments to the eth?
> interfaces. It's annoying swapping cables until things start talking
> to the right networks again.
>
> This is my /etc/udev/rules.d/10-net.rules file:
>
> # Onboard Gigabit
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C6", NAME="eth0"
>
> # Onboard Gigabit
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C7", NAME="eth1"
>
> # Onboard 100Mbps
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:3B", NAME="eth2"
>
> # PCI card gigabit
> KERNEL=="eth*", SYSFS{address}=="00:E0:4C:69:0C:2C", NAME="eth3"
>
> # PCI card firewire
> KERNEL=="eth*",
SYSFS{address}=="00-11-06-66-45-55-56-5A-00-00-00-00-00-00-00-00", NAME="eth4"
>
> Should this assign things properly? It doesn't, so I suppose the
> answer is no, but how should I do it then?
KERNEL="eth*", SYSFS{address}="00:0C:F6:17:15:07", NAME="eth0"## sitecom 1Gb
pcmcia
KERNEL="eth*", SYSFS{address}="08:00:46:BF:6D:31", NAME="eth2"## intel onboard
KERNEL="eth*", SYSFS{address}="00:50:5B:00:03:C8", NAME="eth1"## kaweth usb
this works for me at least and the MAC-adr. shuold be in uppercase...
Juergen
--
[email protected] mailing list