udev/network question
Frantisek Hanzlik
franta at hanzlici.cz
Mon Sep 16 21:15:09 UTC 2013
Gary Artim wrote:
> so something like:
>
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="xx:xx:xx:xx:xx:3c", ATTR{type}=="1", KERNEL=="eth*",
> NAME="net0"
Yes, exactly, this rule will name interface with MAC address
"xx:xx:xx:xx:xx:3c" as "net0"
> altering any iptables rules to match....?
When Your /etc/sysconfig/iptables rules had "eth0" in --in-interface/
--out-interface parameters, then You must manually rename it to net0
too.
More information about the users
mailing list