<html><body>
<p><font size="2" face="sans-serif">Hi,</font><br>
<br>
<font size="2" face="sans-serif">In your screen shot I see the IP is still on eth2 port. When you add the eth2 to br-ex OVS bridge, you need to move the IP of eth2 to br-ex for the connectivity to work.</font><br>
<br>
<font size="2" face="sans-serif">Regards,</font><br>
<font size="2" face="sans-serif">Akash</font><br>
<br>
<img width="16" height="16" src="cid:1__=EABBF451DF895A8B8f9e8a93df938@in.ibm.com" border="0" alt="Inactive hide details for "applyhhj" ---09/16/2015 07:43:47 AM---Hi Everyone, I am now configuring openvswitch for openstack cl"><font size="2" color="#424282" face="sans-serif">"applyhhj" ---09/16/2015 07:43:47 AM---Hi Everyone, I am now configuring openvswitch for openstack cloud. I have a network node in the clou</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">"applyhhj" <applyhhj@163.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">"openstack" <openstack@lists.openstack.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">09/16/2015 07:43 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] help openvswitch network configuration problems</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<ul style="padding-left: 9pt"><font size="3" color="#000011" face="serif"> </font><br>
<font size="3" face="Calibri">Hi Everyone,</font><br>
<font size="3" face="Calibri">I am now configuring openvswitch for openstack cloud. I have a network node in the cloud and it has 3 network cards. When I did as the Openstack Install Guidance said to add port eth2, which is the interface that connects to the internet in dhcp mode, to the external bridge br-ex, the whole network node become disconnected from the internet. </font><br>
<font size="3" face="Calibri">Here is the network interface file:</font><br>
<font size="3" face="Calibri"> </font><br>
<font size="3" face="Calibri"><b># interfaces(5) file used by ifup(8) and ifdown(8)</b></font><br>
<font size="3" face="Calibri"><b>auto lo</b></font><br>
<font size="3" face="Calibri"><b>iface lo inet loopback</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri"><b># management interface</b></font><br>
<font size="3" face="Calibri"><b>auto eth0</b></font><br>
<font size="3" face="Calibri"><b>iface eth0 inet static</b></font><br>
<font size="3" face="Calibri"><b>address 10.0.0.21</b></font><br>
<font size="3" face="Calibri"><b>netmask 255.255.255.0</b></font><br>
<font size="3" face="Calibri"><b>#gateway 10.0.0.1</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri"><b># tunnels interface</b></font><br>
<font size="3" face="Calibri"><b>auto eth1</b></font><br>
<font size="3" face="Calibri"><b>iface eth1 inet static</b></font><br>
<font size="3" face="Calibri"><b>address 10.0.1.21</b></font><br>
<font size="3" face="Calibri"><b>netmask 255.255.255.0</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri"><b># external network interface</b></font><br>
<font size="3" face="Calibri"><b>auto eth2</b></font><br>
<font size="3" face="Calibri"><b>iface eth2 inet dhcp</b></font><br>
<font size="3" face="Calibri"><b> up ip link set dev $IFACE up</b></font><br>
<font size="3" face="Calibri"><b> down ip link set dev $IFACE down</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri">After add eth2 to br-ex, ifconfig presents the following configuration:</font><br>
<font size="3" face="serif"> </font><img src="cid:2__=EABBF451DF895A8B8f9e8a93df938@in.ibm.com" width="662" height="191"><br>
<font size="2" face="serif"> </font><br>
<img src="cid:3__=EABBF451DF895A8B8f9e8a93df938@in.ibm.com" width="679" height="150"><br>
<font size="3" color="#FF0000" face="Calibri">Note: A lot of drop in bridge.</font><br>
<font size="3" face="Calibri"> </font><br>
<font size="3" face="Calibri">Openvswitch configuration:</font><br>
<font size="3" face="Calibri"> </font><br>
<font size="3" face="Calibri"><b># ovs-vsctl show</b></font><br>
<font size="3" face="Calibri"><b>40981b45-f9ed-478c-8e25-288598238dc3</b></font><br>
<font size="3" face="Calibri"><b> Bridge br-ex</b></font><br>
<font size="3" face="Calibri"><b> Port phy-br-ex</b></font><br>
<font size="3" face="Calibri"><b> Interface phy-br-ex</b></font><br>
<font size="3" face="Calibri"><b> type: patch</b></font><br>
<font size="3" face="Calibri"><b> options: {peer=int-br-ex}</b></font><br>
<font size="3" face="Calibri"><b> Port br-ex</b></font><br>
<font size="3" face="Calibri"><b> Interface br-ex</b></font><br>
<font size="3" face="Calibri"><b> type: internal</b></font><br>
<font size="3" face="Calibri"><b> Port "eth2"</b></font><br>
<font size="3" face="Calibri"><b> Interface "eth2"</b></font><br>
<font size="3" face="Calibri"><b> Bridge br-int</b></font><br>
<font size="3" face="Calibri"><b> fail_mode: secure</b></font><br>
<font size="3" face="Calibri"><b> Port int-br-ex</b></font><br>
<font size="3" face="Calibri"><b> Interface int-br-ex</b></font><br>
<font size="3" face="Calibri"><b> type: patch</b></font><br>
<font size="3" face="Calibri"><b> options: {peer=phy-br-ex}</b></font><br>
<font size="3" face="Calibri"><b> Port br-int</b></font><br>
<font size="3" face="Calibri"><b> Interface br-int</b></font><br>
<font size="3" face="Calibri"><b> type: internal</b></font><br>
<font size="3" face="Calibri"><b> Port patch-tun</b></font><br>
<font size="3" face="Calibri"><b> Interface patch-tun</b></font><br>
<font size="3" face="Calibri"><b> type: patch</b></font><br>
<font size="3" face="Calibri"><b> options: {peer=patch-int}</b></font><br>
<font size="3" face="Calibri"><b> Bridge br-tun</b></font><br>
<font size="3" face="Calibri"><b> fail_mode: secure</b></font><br>
<font size="3" face="Calibri"><b> Port br-tun</b></font><br>
<font size="3" face="Calibri"><b> Interface br-tun</b></font><br>
<font size="3" face="Calibri"><b> type: internal</b></font><br>
<font size="3" face="Calibri"><b> Port patch-int</b></font><br>
<font size="3" face="Calibri"><b> Interface patch-int</b></font><br>
<font size="3" face="Calibri"><b> type: patch</b></font><br>
<font size="3" face="Calibri"><b> options: {peer=patch-tun}</b></font><br>
<font size="3" face="Calibri"><b>ovs_version: "2.3.2"</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri"><b># ovs-ofctl show br-ex</b></font><br>
<font size="3" face="Calibri"><b>OFPT_FEATURES_REPLY (xid=0x2): dpid:00006c0b8442b1b5</b></font><br>
<font size="3" face="Calibri"><b>n_tables:254, n_buffers:256</b></font><br>
<font size="3" face="Calibri"><b>capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP</b></font><br>
<font size="3" face="Calibri"><b>actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE</b></font><br>
<font size="3" face="Calibri"><b> 1(phy-br-ex): addr: a mac addr</b></font><br>
<font size="3" face="Calibri"><b> config: 0</b></font><br>
<font size="3" face="Calibri"><b> state: 0</b></font><br>
<font size="3" face="Calibri"><b> speed: 0 Mbps now, 0 Mbps max</b></font><br>
<font size="3" face="Calibri"><b> 2(eth2): addr: mac of eth2</b></font><br>
<font size="3" face="Calibri"><b> config: 0</b></font><br>
<font size="3" face="Calibri"><b> state: 0</b></font><br>
<font size="3" face="Calibri"><b> current: 1GB-FD COPPER AUTO_NEG</b></font><br>
<font size="3" face="Calibri"><b> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG</b></font><br>
<font size="3" face="Calibri"><b> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG</b></font><br>
<font size="3" face="Calibri"><b> speed: 1000 Mbps now, 1000 Mbps max</b></font><br>
<font size="3" face="Calibri"><b> LOCAL(br-ex): addr: mac of eth2</b></font><br>
<font size="3" face="Calibri"><b> config: 0</b></font><br>
<font size="3" face="Calibri"><b> state: 0</b></font><br>
<font size="3" face="Calibri"><b> speed: 0 Mbps now, 0 Mbps max</b></font><br>
<font size="3" face="Calibri"><b>OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0</b></font><br>
<font size="3" face="Calibri"><b> </b></font><br>
<font size="3" face="Calibri"><b># ovs-vsctl br-exists br-ex</b></font><br>
<font size="3" face="Calibri">Shows noting</font><br>
<font size="2" face="serif"> </font><br>
<font size="3" face="Calibri">If I remove eth2 from br-ex, then everything goes well.</font><br>
<font size="3" face="Calibri">By the way I use NAT to connect all other node in the cloud to the internet, but even if I cancel NAT noting changes. And also I have enabled ipv4 forwarding.</font><br>
<font size="3" face="Calibri">Any suggestion is warmly welcomed! Thank you very much!!</font><br>
<font size="2" face="serif"> </font><br>
<font size="3" face="Calibri">Regards</font><br>
<font size="3" face="Calibri">hjh!</font>
<p><font size="2" face="Verdana"> </font><br>
<font size="2" color="#C0C0C0" face="Verdana">2015-09-16</font><br>
<hr width="100%" size="2" align="left" id="SignNameHR"><br>
<font size="2" color="#C0C0C0" face="Verdana">applyhhj</font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</ul>
</body></html>