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

Re: [Xen-users] Getting the bridged network running on Debian Squeeze with Xen 4.0.1

Take a look at the xen beginners guide on the wiki. It covers networking and this problem in particular.

On Feb 29, 2012 11:05 PM, "Simon Hobson" <linux@xxxxxxxxxxxxxxxx> wrote:
Taschik, Daniel wrote:

On the Host, my xend-configuration.sxp looks like this:

(vif-script vif-bridge)
(network-script 'network-bridge bridge=eth0')

OK, stop right there, comment out network-script. The Xen supplied scripts are not needed now and are to all intents deprecated in favour of Host OS facilities. Debian in particular make sit an absolute doddle to set up the bridge. All you need in /etc/network/interfaces is something like this :

auto eth0
iface eth0 inet static
 bridge_ports peth0
 address 192.168.x.y
 gateway 192.168.x.z

And I've used /etc/udev/rules.d/70-persistent-net.rules to set the name of the physical interface to peth0. You don't have to do this, you can use any name for the bridge, and any name for the physical NIC.

That *really* is all you need to create a bridge in Debian these days !

I'd try that first and see if it changes anything. If not then there's something else going on. I'm running 4.0.1 & Debian Squeeze both at home and work, i686 and AMD64.

One other thing I'd try is not specifying any IP addressing when creating the guest. That ought to bypass any iptables stuff being set up in vif-script.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.