[Pkg-xen-devel] Xen status in lenny?

Paul van der Vlis paul at vandervlis.nl
Wed Oct 8 09:43:59 UTC 2008

Laurent Léonard schreef:
> Le mardi 07 octobre 2008 à 16:33, Paul van der Vlis a écrit :
>> Laurent Léonard schreef:
>>> You have to add a xenbr0 bridge in your network configuration
>>> (/etc/network/intefaces) :
>>> iface xenbr0 inet [dhcp|static]
>> I have tried it, and did a /etc/init.d/networking restart.
>> No error, no device. Is it possible to do this by hand?
>>> The Xen daemon will use it to bridge network connections of virtual
>>> machines, it's the default xend configuration in Debian.
>> Before with Etch the bridge came automatically after editting
>> /etc/xen/xend.config.sxp but this does not work anymore for me.
>> Maybe special: I don't have an eth0, only an eth1.
>> With regards,
>> Paul van der Vlis.
> Try this : 
> - Edit /etc/network/interfaces
> - Delete the line(s) related to your network interface eth1
> "iface eth1 inet [dhcp|static]" and parameters
> - Add the lines related to the Xen network bridge
> iface xenbr0 inet [dhcp|static]
> 	bridge_ports eth1
> and add additional parameters if you are using static IP configuration

I have a static configuration. This is wat I've tested:

iface xenbr0 inet static
       bridge_ports eth1

With xenbr0 and without eth1 I have no SSH anymore. This is not nice
because it is a server in a datacenter. But I have also a bad working
remote console. I see this error:
xenbr0: ERROR while getting interface flags: Wrong device

When I have an eth1 and I start xenbr0 I see this:
Configuring network interfaces...[   18.279269] xenbr0: Dropping
NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Waiting for xenbr0 to get ready (MAXWAIT is 32 seconds).
And the connection is gone too.

> - /etc/init.d/networking restart
> - Give me the output of ifconfig
> You probably used the xend network script "network-bridge" with Etch. 

Yes, I did. I have removed this line:
(network-script 'network-bridge netdev=eth1')
Do I need to remove both network-script and network-bridge?

> The xend 
> network scripts are considered by Debian maintainers like a hack that try 
> to "guess" what the network configuration should be, based on what it 
> actually is. 

You can configure it.

> The best way to configure Xen is to have a correct network 
> configuration in the first place. 

Thanks for your help to get it working again.

Met vriendelijke groet,
Paul van der Vlis.


More information about the Pkg-xen-devel mailing list