[Openstack] External network Issues
Dhvanan Shah
dhvanan at gmail.com
Wed Aug 5 16:12:28 UTC 2015
Hi,
Yes, IP forwarding is enabled.
Regards,
Dhvanan Shah
On Wed, Aug 5, 2015 at 9:55 AM, nithish B <bestofnithish at gmail.com> wrote:
> Hi,
> Is IP Forwarding enabled on your host?
>
> Regards,
> Nitish B.
>
> On Tue, Aug 4, 2015 at 7:15 PM, Dhvanan Shah <dhvanan at gmail.com> wrote:
>
>> Hi,
>>
>> 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.
>>
>> I created my network as follows:
>>
>> CREATE NETWORK FOR OPENSTACK
>>
>> 1.
>>
>> a. neutron router-gateway-clear router1 (neutron router-gateway-list)
>> b. neutron subnet-delete public_subnet
>> c. neutron net-delete public
>> d. neutron router-interface-delete router1 private_subnet
>> e. neutron subnet-delete private_subnet
>> f. neutron net-delete private
>> g. neutron router-delete router1
>> 2.
>>
>> a. neutron router-create router1
>> b. neutron net-create private
>> c. neutron subnet-create --name private_subnet private 192.168.0.0/16
>> --allocation-pool start=192.168.0.0,end=192.168.255.250
>> d. neutron router-interface-add router1 private_subnet
>> 3.
>>
>> a. neutron net-create public --router:external=True //(neutron
>> net-create public --router:external)
>> b. neutron subnet-create public 10.16.37.0/24 <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>
>> c. neutron router-gateway-set router1 public
>>
>>
>> Also I made changes in the ifcfg-br-ex file and ifcfg-<my network> file
>> in /etc/sysconfig/network-scripts.
>>
>> The Changes were as follows:
>>
>> ifcfg-br-ex
>> DEVICE=br-ex
>> BOOTPROTO=static
>> IPADDR=<your workstation IP address> e.g 10.16.37.221
>> NETMASK=255.255.255.0
>> DNS1=<your n/w DNS1> e.g 10.16.25.13
>> DNS2=<your n/w DNS2> e.g 10.16.25.15
>> BROADCAST=10.16.37.255
>> GATEWAY=10.16.37.1
>> NM_CONTROLLED="no"
>> DEFROUTE=yes
>> IPV4_FAILURE_FATAL="yes"
>> IPV6INIT=no
>> ONBOOT=yes
>> TYPE=OVSIntPort
>> OVS_BRIDGE=br-ex
>> DEVICETYPE=ovs
>>
>> *ifcfg-p2p1*
>>
>> DEVICE=p2p1 <change with your device name>
>>
>> # HWADDR=00:22:15:63:E4:E2
>>
>> ONBOOT="yes"
>>
>> TYPE="OVSPort"
>>
>> DEVICETYPE="ovs"
>>
>> OVS_BRIDGE=br-ex
>>
>> NM_CONTROLLED=no
>>
>> IPV6INIT=no
>>
>>
>> There is also a proxy in the network and so for that, I installed by "packstack
>> --allinone --*provision-demo=n --provision-all-in-one-ovs-bridge=n*".
>>
>> Could someone suggest me a reason as to why i might be facing issues or
>> probably where I can look to debug this issue.
>>
>> Thanks,
>> Dhvanan Shah
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150805/c4b646e6/attachment.html>
More information about the Openstack
mailing list