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@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
It''s always a good idea to backup any script that you edited. When you update there is a chance the anything that you edit relate tow the package will be overwritten. I''m glad you was able to figure out the issue. :) Flavio-11 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@lists.xensource.com > http://lists.xensource.com/xen-users >-- View this message in context: http://old.nabble.com/Xen-bridge-no-longer-working-tp29119798p29127395.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users