James Cammarata wrote:
On Thu, 26 Mar 2009 15:59:08 -0400, Michael DeHaan mdehaan@redhat.com wrote:
virbr0 as created by libvirt is a private network, it's not a real
bridge.
If you want your guests to be reachable, you need to create a real bridge on your virtual hosts and use that as the --virt-bridge in
Cobbler.
Instructions are here:
https://fedorahosted.org/cobbler/wiki/VirtNetworkingSetupForUseWithKoan
Making a snippet that automatically makes a bridge for the first interface seems like a nice thing to do (or finding some way to do this with interface objects).
--Michael
FWIW, I run xen on RHEL5.2 and this is all pretty much setup for you there. The networking scripts handle the creation of the "bridge" for you, but I believe it is still up to you to setup the sysctl/iptables correctly so that natting/forwarding work. It's been a few months since I got it setup though, so I forget if I had to do any voodoo, but I have my vm's hiding quietly behind a private network here at work (the desktop team does not appreciate rogue dhcp servers breaking things...)
Yes,
xenbr0 is a real bridge.
If you have that, using xenbr0 is fine. I'll update the docs to make that clearer.
--Michael