Bug 581110 - virbr0 gets a new MAC each start of VM causing new network in Vista/W2k8/W7
Summary: virbr0 gets a new MAC each start of VM causing new network in Vista/W2k8/W7
Keywords:
Status: CLOSED DUPLICATE of bug 560994
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-10 08:55 UTC by Kurt Huwig
Modified: 2010-04-12 08:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-12 08:54:43 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.