udev/network question

Gary Artim gartim at gmail.com
Mon Sep 16 21:21:48 UTC 2013


will give it a try, thanks!

On Mon, Sep 16, 2013 at 2:15 PM, Frantisek Hanzlik <franta at hanzlici.cz> wrote:
> 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.
>
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


More information about the users mailing list