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] Re: Xen bridge no longer working

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Xen bridge no longer working
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Fri, 9 Jul 2010 22:46:44 +0200
Delivery-date: Fri, 09 Jul 2010 13:48:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=RHx6frvMAtcQ4ZMYWR/xqhh4XidQYOlky6FCyoImL1c=; b=qAcOqZlzYivQ82uW9TOzcF2yOaICMs2SnDYBAueci+NkqJXuX05QpTkpGknt86ANLh AHV3MMD+OmgTSsHPa7MphOCFeLa6/aVb+mEsxCZLGwL7tNcjNhDAz99DvDOWlyZhWj0q lKZc2vRLUgiOcPzmeyrygtnmEHVwqxUbeRtIs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=iiuY//WF4AASD/xps1jzYo9L/u5tGR58fTO1AXQAI/IsZ/sqKzf/9q0/n/RRWOdPJa dqv6pl5WSz+qDZC+XzSm1N9qmngk2STYiaa4acuvbURPi3rJOGzp3htPS/rm/yBcHqLc 6p0WpXH7NKQzporV2CuuaMj0ZR3n241f6HScw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilBvrJzMyZ3HgpK4x6pGYq3MVySSHe3rKMtZhYi@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTilBvrJzMyZ3HgpK4x6pGYq3MVySSHe3rKMtZhYi@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Good news folks!

I found the problem.
During an update, the file /etc/xen/scripts/network-bridge has been replaced with
the "original" one.
I had to modify that file according to this how-to: http://www.gentoo-wiki.info/Xen
#!/bin/sh

rc_expr='/etc/init.d/net.xenbr[0-9]'

for xenbr in $( echo ${rc_expr} )
do
if [ "${xenbr}" == "${rc_expr}" ]
then
echo "xen bridge: no bridge configuration found"
exit 0
else
${xenbr} $@
fi
done
Thanks a lot

--
Flavio

On 9 July 2010 18:20, Flavio <fbcyborg@xxxxxxxxx> wrote:
Hello everybody,

Here again with a Xenbr0 bridge problem
I'm a Gentoo user, xen-sources-2.6.34 and I always used the bridge from eth0 to xenbr0.
Here's what I get at boot time:
* Bringing up interface eth0
*     null
[...]
* Starting Xen control daemon ...

And the bridge doesn't come up.

The normal behaviour should be that the Xenbr0 bridge comes up automatically, but it doesn't anymore.
Here's my network configuration file (/etc/conf.d/net):

config_eth0=( "null" )

bridge_xenbr0="eth0"

brctl_xenbr0=(
 "setfd 0"
 "stp off"
)

config_xenbr0=(
   "dhcp"
)

I don't understand why, the bridge doesn't come up.

This is the output of the ifconfig command:
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5232 (5.1 KiB)  TX bytes:5232 (5.1 KiB)

peth0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::260:97ff:fe20:464b/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:98 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5880 (5.7 KiB)  TX bytes:1234 (1.2 KiB)
          Interrupt:17 Base address:0xec00

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::260:97ff:fe20:464b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:94 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4314 (4.2 KiB)  TX bytes:468 (468.0 B)

Can somebody help me to understand why the xenbr0 bridge no longer comes up?


--
Flavio

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