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

RE: [Xen-users] Dedicate Nic's to DomU's

To: Hans Pfeil <HPfeil@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Dedicate Nic's to DomU's
From: augusto lopes <nhanonme@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2008 16:14:07 -0300 (ART)
Delivery-date: Thu, 12 Jun 2008 12:15:19 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=MSgAh2j/tdj313ARMOFqtnWvWHc3PWD3YWZ7z19BtMT6+hPtHcNPQjuFUJv1Ft+Bd++pILJUnRsm30N/malq5tXVCEDihYIOwPfVLHnhwQq+SRe9SLZzqjBEv820CRjwhJf5Cug9WQyjYfNRcwjVrhvBvAXv9sIvqbQFoe+SXJg=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <484D2DE7.6010.00BD.0@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi there,

I am not sure whether this issue is solved or not, but I kind of found some relevant information when trying something similar and facing troubles.
Having read the tutorial and the blog, I came to understand alot about creating and configuring bridges on xen virtual environment. Just follow this link: http://www.debian-administration.org/articles/470

good luck

Augusto Lopes

Hans Pfeil <HPfeil@xxxxxxx> escreveu:
Joe, thanks so much. I hate to be a bother. I really appreciate your time and efforts. I started @ 1 because I thought what would Dom0 use? I thought if I configured 0 it would mess up the host, don't know. We are running Xen 3.0 on Novell's SLES10.1 Here are the outputs:

:~ # brctl show
bridge name bridge id STP enabled interfaces
:~ #

:~ # sh /etc/xen/scripts/multi-network-bridge
/etc/xen/scripts/multi-network-bridge: line 3: /etc/xen/scripts: is a directory
/etc/xen/scripts/multi-network-bridge: line 5: /network-bridge: No such file or directory
:~ #

-Hans


>>> "Joseph L. Casale" 6/9/2008 12:51 PM >>>
multi-network-bridge
I am not sure it matters, but your vifnuym starts @ 1?

Config looks right...

type:
#brctl show
:)

ifconfig shows an issue :)
Your missing the vifs, the renamed physical device that the bridge in question uses.
Whats is the output from this:

#sh /etc/xen/scripts/multi-network-bridge

Your bridges done appear to have been made! What version of xen on what distro?
jlc

________________________________________
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Hans Pfeil [HPfeil@xxxxxxx]
Sent: Monday, June 09, 2008 11:42 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Dedicate Nic's to DomU's

Joe, yep I did make the file executable. (didn't know I had to until this morning. A guy here at work showed me. But it still didn't work) I deduce that it's not working because when I open the virt manager and click "run" to start the virt server it automatically goes to pause. It just sits there in pause mode. When I change everything back, all is well.
Here is copy of the outputs you asked for. Also, here are some of the other files that I have. I've attached the xend-config.spx file.

# cat /etc/xen/scripts/multi-network-bridge
#!/bin/sh
dir=$(/etc/xen/scripts "$0")
"$dir/network-bridge" "$@" vifnum=1 bridge=xenbr1 netdev=eth1

Here is the config file for the virtual guest server:

ostype="oes2l"
name="XXXXXX"
memory=1024
vcpus=1
uuid="a1ee16a1-cd9b-2493-60cb-77aea298d8fa"



localtime=0
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda2:/boot/vmlinuz-xenpae,/boot/initrd-xenpae"
extra="TERM=xterm "
disk=[ 'file:/var/lib/xen/images/Harrier/disk0,xvda,w', ]
vif=[ 'bridge=eth1, mac=00:16:3e:6f:e6:6a', ]
vfb=["type=vnc,vncunused=1"]


Usage: brctl [commands]
commands:
addbr add bridge
delbr delete bridge
addif add interface to bridge
delif delete interface from bridge
setageing


Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users