linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Do not create persistent name rules for KVM network interfaces
@ 2010-08-27 16:35 Marco d'Itri
  2010-09-02  6:45 ` Martin Pitt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marco d'Itri @ 2010-08-27 16:35 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 17 bytes --]


-- 
ciao,
Marco

[-- Attachment #2: blacklist_kvm_macs --]
[-- Type: text/plain, Size: 747 bytes --]

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"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-03 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27 16:35 Do not create persistent name rules for KVM network interfaces Marco d'Itri
2010-09-02  6:45 ` Martin Pitt
2010-09-02  8:32 ` Marco d'Itri
2010-09-02  9:14 ` Martin Pitt
2010-09-02 19:00 ` Jim Paris
2010-09-03 12:11 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).