Hi! I tried to switch the XEN toolstack from xm to xl, but discovered that my DomU was without network access. Versions and configurations: Dom0 and DomU kernel: self-compiled 3.3.6 Dom0 and DomU distribution: Debian testing XEN version: 4.1.2 /etc/network/interfaces in Dom0 contains two bridge configurations: xenbr0 with the physical interface eth0 and xenbr1 with eth1. The network configuration of the DomU has the line: vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'', ''mac=00:16:3e:00:00:12, bridge=xenbr1'' ] /etc/xen/xl.conf contains the line: vifscript="vif-bridge" DomU boots without problems, but doesn’t have network access. „brctl show” shows that the vif interfaces of DomU are not attached to the bridge. I don’t see anything in the logs that the vif-bridge script is called, but I don’t see error messages as well. Switching back to xm solves the problem for now. Any hints to solve this problem are welcome. Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: stse@fsing.rootsland.net | | Public Keys: http://fsing.rootsland.net/~stse/keys.html | _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Mon, 2012-05-21 at 16:50 +0100, Stephan Seitz wrote:> Hi! > > I tried to switch the XEN toolstack from xm to xl, but discovered that my > DomU was without network access. > > Versions and configurations: > > Dom0 and DomU kernel: self-compiled 3.3.6 > Dom0 and DomU distribution: Debian testing > XEN version: 4.1.2 > > /etc/network/interfaces in Dom0 contains two bridge configurations: > xenbr0 with the physical interface eth0 and xenbr1 with eth1. > > The network configuration of the DomU has the line: > vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0', 'mac=00:16:3e:00:00:12, > bridge=xenbr1' ]Can you try dropping the " " before the bridge= in both places. At one point there was a bug which meant the whitespace was significant (so in this case the key would be " bridge" instead of "bridge" -- and thinking about it now I'm not convinced it was ever fixed... Ian.> /etc/xen/xl.conf contains the line: > vifscript="vif-bridge" > > DomU boots without problems, but doesn’t have network access. „brctl > show” shows that the vif interfaces of DomU are not attached to the > bridge. I don’t see anything in the logs that the vif-bridge script is > called, but I don’t see error messages as well. > > Switching back to xm solves the problem for now. > > Any hints to solve this problem are welcome. > > Shade and sweet water! > > Stephan >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi, Ian! Thanks for your reply! On Mon, May 21, 2012 at 05:33:59PM +0100, Ian Campbell wrote:>> The network configuration of the DomU has the line: >> vif = [ ''mac=00:16:3e:00:00:11, bridge=xenbr0'', ''mac=00:16:3e:00:00:12, >> bridge=xenbr1'' ] >Can you try dropping the " " before the bridge= in both places. At oneI dropped the spaces, the line reads now: vif = [ ''mac=00:16:3e:00:00:11,bridge=xenbr0'', ''mac=00:16:3e:00:00:12,bridge=xenbr1'' ] But this change doesn’t solve my problem. With xl the vif interfaces are not attached to the existing bridges. If I add the vif interfaces manually to the bridges after the DomU start, network within DomU doesn’t work either. So it seems that xl is having other problems as well. I think I will stay with the working xm solution for now and wait for newer XEN releases. Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: stse@fsing.rootsland.net | | Public Keys: http://fsing.rootsland.net/~stse/keys.html | _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users