Ask Your Question

External network configuration on devstack.

asked 2014-08-05 02:01:00 -0500

thna gravatar image

Hello! I'm trying to install openstack on single host node using devstack. So, I configured public network and private network then made subnet for each network. And attached the router to interconnect both subnet.

my host environment like below OS: Ubuntu 14.04 Kernel version: 3.13.0-32-generic Devstack git branch: Master branch

  • br-ex has network interface (eth0) which is connected to public network. #neutron net-create public --shared --router:external=True

#neutron subnet-create --name public-subnet --gateway PUBLIC_GW_IP --allocation-pool start=IP_OF_FIRST,end=IP_OF_LAST public PUBLIC_IP_RANGE --dns_nameservers list=true

#neutron net-create private

#neutron subnet-create --name private private --dns_nameservers list=true

#neutron router-create public-router

#neutron router-gateway-set public-router public

#neutron router-interface-add public-router private

Currently, I can reach to (private subnet gateway) and public interface (which is attached on public-subnet, it has public ip-address.) But, I could not connect VM to External network (for instance host-ip-address (public)).

Can you give me any comment?? Thanks!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-29 17:17:44 -0500

kkoushik gravatar image

The following works for me:

neutron net-create external --shared --provider:network_type flat --provider:physical_network br-ex --router:external=True neutron subnet-create external --allocation-pool start=,end=

plus <private subnet="" configs="" +="" add="" router="" +="" attach="" gateways="" interfaces="">

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-05 02:01:00 -0500

Seen: 2,065 times

Last updated: Aug 05 '14