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] network interface and vlans

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network interface and vlans
From: "Janko Harej" <janko.harej@xxxxxxxxx>
Date: Fri, 14 Sep 2007 11:12:26 +0100
Delivery-date: Fri, 14 Sep 2007 03:12:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=nYiwjWOsn5HmNCi3O0Bj0OnHqqLOR+1rOBIczcFIXDo=; b=T/c7LGq9vJMYvaPpUuAf7Zlxc4iXu3GQTXOD3CewQPDfrLyOGqlWP1HAKekPFdiJHipWQIIbQQWkAmhnRiUiqgXHzVu8EW/rFgVEKYg+g0HMwSxBjXvjbtA/CIdsel6aFBLIAud/qxkG2a4bv9YFda7bjMFN7IdjYSyTe41wt/M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mPwsUStCSkKht/Taw9OkGbKgbP6HC6Lzu+e24z2csGzKU9KeFLHlCCXSx4F6zm2FPxksq4j2HNItEBDlDJIxsSjU+SQnUNwqsi1bk+GstXd6Smxp6k4ABx5v18y4ui7Tyb5EvLMH28emzLIz2TZSgHjPQvsAaqg/MEEKQbOQ5oU=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I've configured dom0 sistem to use vlans. So I have

eth0, vlan2, vlan3

and bridges xenbr0, xenbr2, xenbr3

then I've configured domU to use xenbrX

Problem: everytime I boot domU I get different network interface in domU

Exampe:
 - first boot - I have eth0 - nonworking and eth2 - working
 - second boot of same machine - I get eth0 nonworking and eth4 - I can configure it to work
 - third boot of same machine - I get eth0 nonworking and eth5 - I can configure it to work

I use SLES 10 SP1 on dom0 and domU.

I use /etc/xen/scripts/network-bridge to create xenbr0 and my script to create other bridges

skript is called: create_bridge vlan_number

 bridge="xenbr${bridge}"
 vlan=$1
 vlan="vlan${vlan}"
 echo creating ${bridge}
 brctl addbr ${bridge}
 brctl stp ${bridge} off
 brctl setfd ${bridge} 0
 brctl addif ${bridge} ${vlan}
 ip link set ${bridge} up

So my question is - how to configure network interfaces in domU to automaticly bring up networking?

Thanks and bye

--
Janko
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>