Bug 581110

Summary: virbr0 gets a new MAC each start of VM causing new network in Vista/W2k8/W7
Product: [Community] Virtualization Tools Reporter: Kurt Huwig <kurt>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, pbonzini, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-12 08:54:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kurt Huwig 2010-04-10 08:55:28 UTC
Description of problem:

Vista/W2k8/W7 detect the network they are in by the MAC address of the default gateway. virbr0 gets a random MAC address upon the start of the first VM. This causes these Windows OSs to detect a new network upon each boot, which is annoying and causes connectivity problems upon boot.

Version-Release number of selected component (if applicable):

0.7.0-1ubuntu13.1

How reproducible:

Every time.

Steps to Reproduce:
1. start a VM
2. enter "ifconfig virbr0" and look at the MAC address
3. stop all VMs
4. start a VM
  
Actual results:

MAC 00:00:00:00:00:00 when all VMs are closed; random MAC once the first VM is started.

Expected results:

I'd like to set a fixed MAC address for virbr0.

Additional info:

I don't know if it is a libvir problem. But I did not find an if-up script where I could set a fixed MAC address. As this is a severe problem with Vista and up, this should be handled at a higher level than the host OS.

Comment 1 Paolo Bonzini 2010-04-12 08:54:43 UTC

*** This bug has been marked as a duplicate of bug 560994 ***