[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: How do I make my NIC pick the same ETH port every time?



i think this could be done with udev rules, though i only used them to
always have the same device aliases for my external fw disks.

here you'll find out how to write udev rules:
http://reactivated.net/writing_udev_rules.html

and this is a snippet i found on a web site:

# cat /etc/udev/network.rules
KERNEL=”eth*”, SYSFS{address}=”xx:xx:xx:xx:xx:x1″, NAME=”lan1″
KERNEL=”eth*”, SYSFS{address}=”xx:xx:xx:xx:xx:x2″, NAME=”lan2″
KERNEL=”eth*”, SYSFS{address}=”xx:xx:xx:xx:xx:x3″, NAME=”wlan1″
# cd /etc/udev/rules.d/ && ln -s ../network.rules z35_network.rules

Grüße / Regards,
Oliver
--
I'm also pre-POURED pre-MEDITATED and pre-RAPHAELITE!!



Reply to: