[Pkg-xen-devel] Bridged networking in a Debian Xen dom0

Thomas Schwinge tschwinge at gnu.org
Fri Dec 19 18:15:31 UTC 2008


Hello!

On Wed, Dec 17, 2008 at 04:36:14PM +0100, Henning Sprang wrote:
> 2008/12/15 Amit Agarwal <kahnoie at gmail.com>:
> > Also is it good to configure /etc/network/interfaces as
> > auto lo
> > iface lo inet loopback
> >
> > auto xenbr0
> > iface xenbr0 inet static
> > address 192.168.0.100
> > netmask 255.255.255.0
> > gateway 192.168.0.1
> > bridge_ports eth0
> > bridge_maxwait 0
> 
> That's the way it is often done in debian.
> It has the advantage of not doing all the complicated things that the
> upstream xen bridge script does.
> It has the disadvantage that, when you restart the networking on dom0,
> all guests lose their bridge...

That's why I wrote a patch for Debian's bridge-utils that even was
included sometime later and allows for the following, avoiding exactly
this last-mentioned problem:

    auto br0
    iface br0 inet dhcp
    	bridge_ports regex (eth|vif).* noregex

(See bridge-utils' documentation.)  Perhaps this should be mentioned in
the Debian Xen documentation?


Regards,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081219/0ee7f8ee/attachment.pgp 


More information about the Pkg-xen-devel mailing list