[Fedora-xen] Fedora 8, qemu-kvm and networking

Richard W.M. Jones rjones at redhat.com
Mon Nov 19 11:40:25 UTC 2007


John Lagrue wrote:
> Having installed F8 and tried out the latest virt-manager, I have to say I'm
> impressed.
> 
> But........I am still utterly baffled by guest networking.
> 
> What I *want* to do is have a Windows XP guest that runs on the same network
> as my laptop, the host; in other words, the guest should be able to access
> all the network that the laptop can see. But I can't for the life of me find
> out how to do this.

I'm fairly sure this is not possible.  Guests created with virt-manager 
(ie. libvirt) will want to talk to the bridge created by libvirtd.  ie. 
They'll be started up with the following qemu -net options:

/usr/bin/qemu-kvm [...]
   -net nic,macaddr=00:16:3e:86:61:81,vlan=0
   -net tap,fd=12,script=,vlan=0

Networking is handled through a bridge (usually called virbr0) and IP 
addresses are assigned from a "private range", by default 192.168.122.X. 
  The assignment of addresses and NAT to the "outside world" is done by 
a dnsmasq process.

All of this means that the Windows guest won't be on the same network as 
the host, ie. broadcasts etc won't work.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20071119/23744373/attachment.bin>


More information about the Fedora-xen mailing list