WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Bridge configuration

To: Users/Installers of Xen <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Bridge configuration
From: Daniel Bareiro <daniel-listas@xxxxxxx>
Date: Wed, 11 Oct 2006 15:22:11 -0300
Delivery-date: Wed, 11 Oct 2006 11:22:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: dbareiro@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Hi!

This is my first e-mail to the list. I'm newbie using Xen. I'm testing
Xen 3.0 in Debian Sarge and Debian Etch, running two domU's in both.

But I'm curious with some differences in regard to bridge configuration.
The Sarge Xen server was installed with backports repositories, excepted
the kernel and the hypervisor (I'm using the kernel and hypervisor from
Xensource tarball).

My net configuration is the following:

sirius:~# cat /etc/network/interfaces --------------> dom0
auto lo
iface lo inet loopback

auto br-xen
iface br-xen inet static
 address 192.168.1.3
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 gateway 192.168.1.1
 bridge_ports eth0
 bridge_maxwait 0


sirius:~# cat /etc/xen/hermes
kernel="/boot/vmlinuz-2.6.16-xen"
ramdisk="/boot/initrd.img-2.6.16-xen"
memory=64
root="/dev/hda2 ro"
disk=['phy:/dev/vm/hermes.swap,hda1,w','phy:/dev/vm/hermes.raiz,hda2,w',
      'phy:/dev/vm/hermes.var,hda3,w']
vif=['bridge=br-xen']


hermes:~# cat /etc/network/interfaces --------------> domU
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
 address 192.168.1.4
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 gateway 192.168.1.1

In the Etch Xen server I have a full installation from Xensource tarball
with install.sh script. If I use a similar net configuration, I get a
backend error on executing xm create. Nevertheless, a comun
configuration (without bridge specification) doesn't show problems:

xenserver1:~# cat /etc/network/interfaces --------------> dom0
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
 address 10.0.0.40
 netmask 255.255.255.0
 network 10.0.0.0
 broadcast 10.0.0.255
 gateway 10.0.0.11
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 10.0.0.11
 dns-search educ.ar


xenhost1:~# cat /etc/xen/vmxen1
kernel="/boot/vmlinuz-2.6.16-xen"
ramdisk="/boot/initrd.img-2.6.16-xen"
memory=512
root="/dev/sda2 ro"
disk=['phy:/dev/vm/vmxen1.raiz,sda2,w','phy:/dev/vm/vmxen1.swap,sda1,w']
vif=['bridge=xenbr0']


vmxen1:~# cat /etc/network/interfaces ------------------> domU
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
 address 10.0.0.41
 netmask 255.255.255.0
 network 10.0.0.0.
 broadcast 10.0.0.255
 gateway 10.0.0.11
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 10.0.0.11
 dns-search educ.ar


It is because of different manner to install?

Thanks in advance.

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Bridge configuration, Daniel Bareiro <=