problem with setting up Xen networking
Werner Schram
wrschram at gmail.com
Mon Feb 1 08:39:07 UTC 2010
>
> > /etc/xen/mx1:
> > # -*- mode: python; -*-
> > root = "/dev/hda1 ro"
> > kernel = "/boot/vmlinuz-2.6.26-2-xen-686"
> > ramdisk = "/boot/initrd.img-2.6.26-2-xen-686"
> > memory = 128
> > name = "mx1"
> > vif = ['bridge=xenbr0']
> > disk =
> > ['phy:/dev/mapper/castor-mx1,hda1,w','phy:/dev/mapper/castor-swap_2,hda2,w']
> > ip="192.168.2.101"
> > netmask="255.255.255.0"
> > gateway="192.168.2.1"
> > hostname = "mx1"
> > root = "/dev/hda1 ro"
> > #extra = "3"
> > extra = "console=hvc0 xencons=tty"
> >
> Perhaps interesting to know:
>
> # brctl show
> bridge name bridge id STP enabled interfaces
> eth0 8000.003048db3100 no peth0
> vif3.0
>
> I was expecting to see a xenbr0 bridge there, not eth0.
>
I personally prefer to manage my bridges manually via
/etc/network/interfaces, every virtualization platform has its own
bridge management system, which doesn't always work well with your
distributions network configuration. I find it strange that your
bridge is added to the eth0 bridge in your case, as you specificly
added it to xenbr0 (which wasn't created). I remember seeing the
eth0-peth0 type of bridge before, but I can't remember how that got
created. My guess is that it is a misconfiguration in your
xend-config.sxp.
Anyway, your xen managed bridge configuration is in
/etc/xen/xend-config.sxp. There should a line like:
(network-script 'network-bridge bridge=mybridge')
My advice would be to disable that line and configure a bridge in
/etc/network/interfaces, but if you post that line, maybe we can work
out what is wrong.
Werner
More information about the ubuntu-users
mailing list