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

[Xen-users] Re: Xen bridge no longer working


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Flavio <fbcyborg@xxxxxxxxx>
  • Date: Fri, 9 Jul 2010 22:46:44 +0200
  • Delivery-date: Fri, 09 Jul 2010 13:48:30 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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