[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]