Skip to main content

Network bridge without IP address on Debian

·107 words·1 min
Feature image: network
Table of Contents
This blog post is already over 10 years old. External links are probably invalid.

There are Xen setups where it is necessary to set up a network bridge without an IP address. Instead of working with Xen’s own scripts (network-script more-network-bridges), you can configure the bridge using Debian tools. All you need to do is install the bridge-utils. Works with Debian Lenny and Squeeze.

Bridge Config #

Setup eth2 als Bridge: /etc/network/interfaces

auto br2
iface br2 inet manual
      bridge_maxwait 5
      bridge_ports eth2

Xen Config #

Xen domain “myxen”, configuration in /etc/xen/:

[...]
vif = [ 'bridge=br2' ]
[..]

The IP address is then configured directly in the Xen domain.