Ask Your Question
0

br-ex not being assigned IP address automatically at boot

asked 2015-03-24 15:48:32 -0600

magmaiceman gravatar image

OpenStack Juno installed as per RDO onto a CentOS 7.0 Host. (NetworkManager disabled, network service enabled.)

Interface br-ex is not assigned any address (automatically) at boot of OpenStack host:

[root@CentOS7Host02 ~]# ifconfig br-ex
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::847e:5dff:feae:814c  prefixlen 64  scopeid 0x20<link>
        ether 86:7e:5d:ae:81:4c  txqueuelen 0  (Ethernet)
        RX packets 23  bytes 1854 (1.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 828 (828.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Here is its configuration:

[root@CentOS7Host02 ~]# cat /etc/sysconfig/network-scripts/ifcfg-br-ex
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=172.24.4.225_br_ex
NETMASK=255.255.255.240_br_ex
ONBOOT=yes

Should this not be assigning the address 172.24.4.225 automatically at boot?

Note that if I manually configure the address (i.e. via ifconfig from the command line) then all works well.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-24 23:27:01 -0600

Praveen N gravatar image

Hi,

Try with the below network script(ensure IP,Netmask,Gateway are properly specified).

vim /etc/sysconfig/network-scripts/ifcfg-br-ex

DEVICE=br-ex 
ONBOOT=yes 
DEVICETYPE=ovs 
TYPE=OVSIntPort 
OVS_BRIDGE=br-ex  
BOOTPROTO=static
NM_CONTROLLED=no 
IPADDR=172.24.4.225
NETMASK=255.255.255.240
GATEWAY=a.b.c.d
DNS1=8.8.8.8
edit flag offensive delete link more

Comments

Great, I've tried this, and it works. So far, I don't see other problem yet. After this fix, all my openstack services can be properly started after reboot.

alfred gravatar imagealfred ( 2015-04-16 02:05:35 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-24 15:48:32 -0600

Seen: 985 times

Last updated: Mar 24 '15