Simon Hobson wrote:
In Debian, the config file is /etc/udev/rules.d/z25_persistent-net.rules which contains lines like :SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:03:47:aa:bb:cc", NAME="ethext"It sure beats "port roulette" when your ethernet devices come up with pseudo random naming !
There's also support for assigning interfaces by MAC address in Shorewall. In /etc/shorewall/params:
NETIF=$(find_interface_by_mac 11:22:33:44:55:66)
then use $NETIF. Not much need for that any more since most distros now
provide stable interface naming automatically.
-Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
