From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Fri, 27 Aug 2010 16:35:50 +0000 Subject: Do not create persistent name rules for KVM network interfaces Message-Id: <20100827163550.GA30688@bongo.bofh.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="CE+1k2dSO48ffgeK" List-Id: To: linux-hotplug@vger.kernel.org --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -- ciao, Marco --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=blacklist_kvm_macs Do not create persistent name rules for KVM network interfaces. The virtual interfaces created by KVM are stable, 54:52:00 is the MAC-48 range of KVM: http://www.coffer.com/mac_find/?string=545200 . --- a/extras/rule_generator/75-persistent-net-generator.rules +++ b/extras/rule_generator/75-persistent-net-generator.rules @@ -29,6 +29,9 @@ ENV{MATCHADDR}="$attr{address}" # match interface type ENV{MATCHIFTYPE}="$attr{type}" +# ignore KVM virtual interfaces +ENV{MATCHADDR}=="54:52:00:*", GOTO="persistent_net_generator_end" + # These vendors are known to violate the local MAC address assignment scheme # Interlan, DEC (UNIBUS or QBUS), Apollo, Cisco, Racal-Datacom ENV{MATCHADDR}=="02:07:01:*", GOTO="globally_administered_whitelist" --CE+1k2dSO48ffgeK--