<html><body>
<p><font size="2" face="sans-serif">Hi Dhvanan,</font><br>
<br>
<font size="2" face="sans-serif">Couple of changes are needed in the ifcfg-br-ex file. Please check the changes I made in below.</font><br>
<br>
<font size="2" face="Arial"><b>ifcfg-br-ex</b></font><br>
<font size="2" face="Arial">DEVICE=br-ex</font><br>
<font size="2" face="Arial">BOOTPROTO=static</font><br>
<font size="2" face="Arial">IPADDR=<your workstation IP address> e.g 10.16.37.221</font><br>
<font size="2" face="Arial">NETMASK=255.255.255.0</font><br>
<font size="2" face="Arial">DNS1=<your n/w DNS1> e.g 10.16.25.13</font><br>
<font size="2" face="Arial">DNS2=<your n/w DNS2> e.g 10.16.25.15<br>
BROADCAST=10.16.37.255<br>
GATEWAY=10.16.37.1<br>
NM_CONTROLLED="no"<br>
DEFROUTE=yes<br>
IPV4_FAILURE_FATAL="yes"<br>
IPV6INIT=no<br>
ONBOOT=yes<br>
TYPE=</font><font size="2" color="#FF0000" face="Arial">OVSBridge</font><font size="2" face="Arial"><br>
</font><font size="2" color="#FF0000" face="Arial"><s>OVS_BRIDGE=br-ex</s></font><font size="2" face="Arial"><br>
DEVICETYPE=ovs</font><br>
<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__=EABBF40ADF88D6D98f9e8a93df938@in.ibm.com" border="0" alt="Inactive hide details for Dhvanan Shah ---08/04/2015 07:19:09 PM---Hi, I have deployed Kilo using Packstack on CentOS , but I a"><font size="2" color="#424282" face="sans-serif">Dhvanan Shah ---08/04/2015 07:19:09 PM---Hi, I have deployed Kilo using Packstack on CentOS , but I am having troubles</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Dhvanan Shah <dhvanan@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">openstack@lists.openstack.org</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">08/04/2015 07:19 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] External network Issues</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi,</font><br>
<br>
<font size="3" face="serif">I have deployed Kilo using Packstack on CentOS , but I am having troubles accessing the VM's that I spawn , through the public IP's that they are assigned to them. </font><br>
<br>
<font size="3" face="serif">I created my network as follows:</font><br>
<br>
<font size="2" face="Arial"><b>CREATE NETWORK FOR OPENSTACK</b></font>
<ul style="padding-left: 18pt"><font size="2" face="sans-serif">1. </font><font size="2" face="Arial">a. neutron router-gateway-clear router1 (neutron router-gateway-list)<br>
b. neutron subnet-delete public_subnet<br>
c. neutron net-delete public<br>
d. neutron router-interface-delete router1 private_subnet<br>
e. neutron subnet-delete private_subnet<br>
f. neutron net-delete private<br>
g. neutron router-delete router1</font><br>
<font size="2" face="sans-serif">2. </font><font size="2" face="Arial">a. neutron router-create router1<br>
b. neutron net-create private<br>
c. neutron subnet-create --name private_subnet private </font><a href="http://192.168.0.0/16"><font size="2" color="#0000FF" face="Arial"><u>192.168.0.0/16</u></font></a><font size="2" face="Arial"> --allocation-pool start=192.168.0.0,end=192.168.255.250<br>
d. neutron router-interface-add router1 private_subnet</font><br>
<font size="2" face="sans-serif">3. </font><font size="2" face="Arial">a. neutron net-create public --router:external=True //(neutron net-create public --router:external)<br>
b. neutron subnet-create public </font><a href="http://10.16.37.0/24"><font size="2" color="#0000FF" face="Arial"><u>10.16.37.0/24</u></font></a><font size="2" face="Arial"> <set for your n/w> --name public_subnet --enable_dhcp=False --allocation-pool start=10.16.37.230,end=10.16.37.250 <make sure that it will not conflict with other IP address> --gateway=10.16.37.1 <your n/w gateway><br>
c. neutron router-gateway-set router1 public</font></ul>
<br>
<br>
<font size="2" face="Arial">Also I made changes in the ifcfg-br-ex file and ifcfg-<my network> file in </font><font size="2" face="Arial"><b>/etc/sysconfig/network-scripts.</b></font><br>
<br>
<font size="2" face="Arial">The Changes were as follows:</font><br>
<br>
<font size="2" face="Arial"><b>ifcfg-br-ex</b></font><br>
<font size="2" face="Arial">DEVICE=br-ex</font><br>
<font size="2" face="Arial">BOOTPROTO=static</font><br>
<font size="2" face="Arial">IPADDR=<your workstation IP address> e.g 10.16.37.221</font><br>
<font size="2" face="Arial">NETMASK=255.255.255.0</font><br>
<font size="2" face="Arial">DNS1=<your n/w DNS1> e.g 10.16.25.13</font><br>
<font size="2" face="Arial">DNS2=<your n/w DNS2> e.g 10.16.25.15<br>
BROADCAST=10.16.37.255<br>
GATEWAY=10.16.37.1<br>
NM_CONTROLLED="no"<br>
DEFROUTE=yes<br>
IPV4_FAILURE_FATAL="yes"<br>
IPV6INIT=no<br>
ONBOOT=yes<br>
TYPE=OVSIntPort<br>
OVS_BRIDGE=br-ex<br>
DEVICETYPE=ovs</font><br>
<br>
<font size="2" face="Arial"><b>ifcfg-p2p1</b></font><br>
<font size="2" face="Arial">DEVICE=p2p1 <change with your device name></font><br>
<font size="2" face="Arial"># HWADDR=00:22:15:63:E4:E2</font><br>
<font size="2" face="Arial">ONBOOT="yes"</font><br>
<font size="2" face="Arial">TYPE="OVSPort"</font><br>
<font size="2" face="Arial">DEVICETYPE="ovs"</font><br>
<font size="2" face="Arial">OVS_BRIDGE=br-ex</font><br>
<font size="2" face="Arial">NM_CONTROLLED=no</font><br>
<font size="2" face="Arial">IPV6INIT=no</font>
<p><br>
<br>
<font size="3" face="serif">There is also a proxy in the network and so for that, I installed by "</font><font size="2" face="Arial"><b>packstack --allinone --provision-demo=n --provision-all-in-one-ovs-bridge=n</b></font><font size="2" face="Arial">".</font><br>
<br>
<font size="2" face="Arial">Could someone suggest me a reason as to why i might be facing issues or probably where I can look to debug this issue.</font><br>
<br>
<font size="2" face="Arial">Thanks,</font><br>
<font size="2" face="Arial">Dhvanan Shah</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>
</body></html>