PDA

View Full Version : Openvswitch setting /etc/sysconfig/network/ifcfg-br-ex



lapac1750
17-Jun-2015, 07:21
Hi masters,

I would install openstack kilo multi-node in SLE 12, and I have encountered problem when I prepare the settings for ovs in Network node.

There are two ifcfg modification needed for the openvswitch for the openstack external netwoking using,
ifcfg-br-ex, ifcfg-eth0(which nic to be used external for VM instance).

I set the /etc/sysconfig/network/ifcfg-br-ex follow the forum thread that can only one be found about ovs.
# https://forums.opensuse.org/showthread.php/497652-OpenVswitch-how-do-I-assign-ip-address-to-ovs-bridge

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
BRIDGE='yes'
BRIDGE_PORTS= 'eth0 br-ex'
IPADDR='192.168.2.51'
MTU=''
NAME=''
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
#DHCLIENT_SET_DEFAULT_ROUTE='yes'
ONBOOT='yes'



and set /etc/sysconfig/network/ifcfg-eth0

BOOTPROTO='none'
#BROADCAST=''
#ETHTOOL_OPTIONS=''
#IPADDR='192.168.2.51'
#MTU=''
#NAME=''
#NETMASK='255.255.255.0'
#NETWORK=''
#REMOTE_IPADDR=''
STARTMODE='auto'
#DHCLIENT_SET_DEFAULT_ROUTE='yes'
#ONBOOT='yes'


But it not work after service network restart, can't ping other IP in same subnet.

I had tried another setting the official document provide but not work too, I think it is because of missing part parameters.
# https://en.opensuse.org/Portal:Wicked/OpenvSwitch

And also search in mailing list of ovs official site, no solution found.
# http://openvswitch.org/pipermail/discuss/2014-October/015350.html

I have some experience of openstack kilo deploying in RHEL(SL, Centos)7, but suse's ifcfg-br-ex seems not like RHEL's.


Please share the correct ifcfg setting, or some reference.


We are extremely grateful for any reply.

Automatic reply
22-Jun-2015, 05:30
lapac1750,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com