x64 xen bridge configured but no br0 and no internet connection

Hi,

I have installed opensuse 11.4 xen on a HP ML115 G5 AMD Opteron server, which previously hosted a fully working opensuse 11.3 xen. The problem seems to be that br0 is not showing as a bridge device in network settings. When I first installed opensuse 11.4 networking was available via dhcp,
I then installed the xen tools and answered the prompt to create a bridge, it was only when I re-booted the system that I lost my network connection.

Going back into network settings I compared the settings to an existing working opensuse 11.3 xen install that I have and noticed that br0 is not showing as a bridge device in network settings so cannot be selected, in fact no bridged devices are shown.

Can you help?

Kind regards
Dennis

Hi all,

I found the problem, BRIDGE_PORTS=’’ was set to an empty string, once I changed the empty quotes to ‘eth0’ and re-booted everything was fine and I had my bridged network fully working.

This looks like a bug

opennebula01:~ # cat /etc/sysconfig/network/ifcfg-br0
BOOTPROTO=‘static’
BRIDGE=‘yes’
BRIDGE_FORWARDDELAY=‘0’
BRIDGE_PORTS=‘eth0
BRIDGE_STP=‘off’
BROADCAST=’’
ETHTOOL_OPTIONS=’’
IPADDR=‘192.168.1.41/24’
MTU=’’
NETMASK=’’
NETWORK=’’
REMOTE_IPADDR=’’
STARTMODE=‘auto’
USERCONTROL=‘no’
NAME=’’
PREFIXLEN=‘24’
opennebula01:~

Regards
Dennis

Thanks for sharing. Why not report it to the openSUSE developers ?

Best regards,
Greg

I solved the problem by setting the interface eth0 (with yast) to start at boot
instead that on nfsroot. This is an option on the “General” tab in the NIC
configuration. The setting in /etc/sysconfig/network/ifcfg-eth0 is changed
accordingly by yast to STARTMODE=“auto”.
After that, xen-tools installation runs smoothly and the network is set up
correctly, with no manual intervention.

Thank you for that simple solution. I, too, was trying to setup KVM virtualisation, but “ifconfig” would not show any “br0”. After changing STARTMODE to “auto” and restarting the network, “br0” suddenly appeared.

Interesting solution, but I must have missed something. I’ll say that I used this in Redhat/Centos and it automatically set up the bridge for me…So I’m still trying to figure this out. I am using 11.4, the 32 bit version and I have the Xen kernel booted. After getting numerous errors when trying to configure a Xen vm indicating it could not find a bridge, I went into the network settings and manually created one. I thought it would work then, but it hasn’t. I tried editing ifcfg-br0 as described in this thread but then I get no network connection through eth0. It complains of dns issues (it can’t find any hostnames I try accessing).

In Redhat, I notice doing an ifconfig I see eth0, lo, peth0, vif0.0, virbr0 and xenbr0 interfaces. virbr0 is what is assigned a private ip address. I am also curious how you determined what address to give the br0 interface. Is this for NAT purposes? I would like to create VMs that have their own ip address. Thank you for your post.