Wednesday, 19 March 2014

net_persistent_names net bindings like eth0


net_persistent_names net bindings like eth0,

lxapp0408:/etc/udev/rules.d # cat 30-net_persistent_names.rules 
# This rules are autogenerated from /lib/udev/rename_netiface.
# But you can modify them, but make sure that you don't use an
interface name
# twice. Also add such interface name rules only in this rules file.
Otherwise
# rename_netiface will create wrong rules for new interfaces.
# It is safe to delete a rule, as long as you did not disable
automatic rule
# generation. Only if all interfaces get a rule the renaming will
work
# flawlessly. See also /etc/udev/rules.d/31-net_create_names.rules.
# 
# Read
/usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names
for
# further information.
#
# Use only a-z, A-Z and 0-9 for interface names!
#
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:1a:64:59:98:68",
IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:1a:64:59:98:6a",
IMPORT="/lib/udev/rename_netiface %k eth1"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1e:a4",
IMPORT="/lib/udev/rename_netiface %k eth6"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1e:a5",
IMPORT="/lib/udev/rename_netiface %k eth7"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1f:52",
IMPORT="/lib/udev/rename_netiface %k eth2"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1f:53",
IMPORT="/lib/udev/rename_netiface %k eth3"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1f:2c",
IMPORT="/lib/udev/rename_netiface %k eth4"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a8:1f:2d",
IMPORT="/lib/udev/rename_netiface %k eth5"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a7:8e:ca",
IMPORT="/lib/udev/rename_netiface %k eth8"
SUBSYSTEM=="net", ACTION=="add",
SYSFS{address}=="00:14:5e:a7:8e:cb",
IMPORT="/lib/udev/rename_netiface %k eth9"

No comments:

Post a Comment