[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] 3.0.2 seems not to create bridge



seems to work now :)

debian:~# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.0030485c0f58       no              vif_lb1
                                                       vif_www
                                                       eth0

i have networking on my DomU's :D

the bridge now has an ip to connect to when i need to manage Dom0. Eth0 and eth1 are both ip-less interfaces.

a big thanx

From: Bjoern Metzdorf <bm@xxxxxxxxxxxxxxxxxxxxxxx>
To: Harm Weites <harmweites@xxxxxxxxxxx>
CC: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 3.0.2 seems not to create bridge
Date: Fri, 13 Oct 2006 10:53:23 +0200
MIME-Version: 1.0
Received: from lists.xensource.com ([217.147.82.229]) by bay0-mc11-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri, 13 Oct 2006 01:54:10 -0700 Received: from localhost ([127.0.0.1] helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1GYIo2-0000i0-3u; Fri, 13 Oct 2006 08:54:14 +0000 Received: from [192.168.0.10] (helo=lists.xensource.com)by host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1GYInh-0000PB-LOfor xen-users@xxxxxxxxxxxxxxxxxxx; Fri, 13 Oct 2006 08:53:53 +0000 Received: from mx1.turtle-entertainment.de ([193.41.200.25] helo=mail1.gnw.de)by lists.xensource.com with esmtp (Exim 4.50) id 1GYIle-0004q4-HZfor xen-users@xxxxxxxxxxxxxxxxxxx; Fri, 13 Oct 2006 08:51:47 +0000 Received: from 85.14.195.125.static.rdns-uclo.net ([85.14.195.125]helo=localhost) by mail1.gnw.de with esmtpa (Exim 4.50)id 1GYIn5-0005oW-P5; Fri, 13 Oct 2006 10:53:15 +0200 Received: from [212.6.194.97] (helo=[212.6.194.97])by localhost with asmtp (Exim 3.22 #7 (Debian))id 1GYInO-0007lg-00; Fri, 13 Oct 2006 10:53:34 +0200
X-Message-Info: LsUYwwHHNt0q63jKwNMGVzkzVcgANiJkWFZMWaJ9sqI=
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
References: <BAY110-F29C5833F16CB94761DAA22C00A0@xxxxxxx>
X-SA-Exim-Connect-IP: 193.41.200.25
X-SA-Exim-Mail-From: bm@xxxxxxxxxxxxxxxxxxxxxxx
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on (none)
X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.0
X-SA-Exim-Version: 4.2.1 (built Mon, 27 Mar 2006 13:42:28 +0200)
X-SA-Exim-Scanned: Yes (on lists.xensource.com)
X-BeenThere: xen-users@xxxxxxxxxxxxxxxxxxx
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Xen user discussion <xen-users.lists.xensource.com>
List-Unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
List-Post: <mailto:xen-users@xxxxxxxxxxxxxxxxxxx>
List-Help: <mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=help>
List-Subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@xxxxxxxxxxxxxxxxxxx?subject=subscribe>
Errors-To: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Return-Path: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
X-OriginalArrivalTime: 13 Oct 2006 08:54:11.0272 (UTC) FILETIME=[26AFFC80:01C6EEA5]


Harm Weites wrote:
hm, the iproute package is installed so i have the IP tools. Looking at the README.debian tells me networking isnt done automatically just like you said (the file was in a different dir though) How do i create the bridge by hand ? Since there is no peth0... I can create it with "brctl addbr xenbr0", but then "brctl show" only lists a bridge with no interfaces. (after /etc/init.d/xend restart)

relevant config parts:
(xend-config.sxp)
[...]
(network-script network-bridge)
(vif-script vif-bridge)
[...]

Change network-script back to network-dummy and add this to your /etc/network/interfaces:

---------------------------------
auto eth0
iface eth0 inet manual

auto xenbr0
iface xenbr0 inet static
        bridge-ports eth0
        address 10.0.0.2
        netmask 255.255.255.0
        gateway 10.0.0.1
---------------------------------

The standard vif-script will use the bridge xenbr0 to add virtual interfaces.

Make sure package bridge-utils is installed and reboot or restart networking.

Regards,
Bjoern

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.