Device br0#015 does not seem to be present, delaying initialization

Hello All,

I am new here and installed my first Open Nebule. I have followed this guide for installation:

http://docs.opennebula.org/4.12/design_and_installation/quick_starts/qs_centos7_kvm.html

The installation went fine but when it comes to bridging eth0 to br0 nothing seems to work.

Here is my bridging configuration:

eth0

DEVICE=eth0
TYPE=Ethernet
HWADDR=C8:60:00:56:B1:FD
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=br0

br0

DEVICE=br0
TYPE=Bridge
IPADDR=176.9.151.101
NETMASK=255.255.255.255
SCOPE="peer 176.9.151.97"
ONBOOT=yes
BOOTPROTO=static
NM_CONTROLLED=no
DELAY=0

When I run service network restart I am getting following error:

device br0#015 does not seem to be present, delaying initialization

eth0 or br0 does not get the IP address.

For workaround I have run and added /etc/rc.d/rc.local

ifconfig eth0 176.9.151.101 netmask 255.255.255.224 broatcast 176.9.151.127
sleep 1
ifconfig br0 176.9.151.101 netmask 255.255.255.224 broatcast 176.9.151.127
sleep 1
route add default gw 176.9.151.97 eth0
sleep 1
route add default gw 176.9.151.97 br0

As you can see I have to add IP manually.

Here is my uname:

Linux nebula1.compsan.com 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I am using Centos 6.6.

Thx in advance

This usually happens to me. I ask a question in the forum than I answer myself.

I have never able to find any mistake in configuration files. But I have found the problem why ifcfg-eth0 and ifcfg-br0 files does not get parsed properly.

I think bridge-util is a prickly SOB who does not like files edited in Notepad++ and uploaded by WinSCP. Because when I edit the ifcfg files with vi everything seems to work perfect.

So, if you have any problem in this kind, try to vi for ifcfg files.

Thanks for letting us know, I didn’t see anything wrong in the conf :slight_smile: