[fedora-virt] Network configuration for qemu+kvm

Mark McLoughlin markmc at redhat.com
Wed Aug 19 10:15:06 UTC 2009


On Tue, 2009-08-18 at 17:52 -0400, Gene Czarcinski wrote:
> On Sunday 16 August 2009 23:35:07 Dale Bewley wrote:
> > http://www.libvirt.org/formatdomain.html#elementsNICS
> > http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging
> 
> Dale ... first, I want to thank you for providing these URLs as this is the 
> type of information I have been looking for.
> 
> I do not usually like changing the subject for a reply but I am taking this 
> thread in a somewhat different direction.
> 
> Here are some questions for anyone on this mailing list:
> 
> 1. Is the documentation cited in the above URLs currently valid for Fedora 11 
> and Fedora 11 + preview?  Virtualization on Fedora is a fast moving work in 
> progress.  Thus, documentation does not usually keep up with the reality of 
> the code.  If there are differences, can someone point me to documentation 
> about these differences.

If there are differences, they should be documented in those docs.

Honestly, the best way to get documentation fixed is to send a patch or
edit the wiki.

> 3.  Looking at http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging 
> I conclude that to get bridged networking I will need a separate bridge device 
> for every guest that could run concurrently.  While this could be done, it is 
> also a bit of a pain to keep track of which guest is using which bridged 
> interface.

Nope, that's not true - set up e.g. br0 as described in the doc and then
for each guest do:

  <interface type='bridge'>
    <mac address='...'/>
    <source bridge='br0'/>
  </interface>

each guest will have a tap interface added to the bridge

Cheers,
Mark.




More information about the virt mailing list