Ask Your Question
0

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 8.8.8.8

#neutron net-create private

#neutron subnet-create --name private private 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8

#neutron router-create public-router

#neutron router-gateway-set public-router public

#neutron router-interface-add public-router private

Currently, I can reach to 10.0.0.1 (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
0

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 10.18.162.0/24 --allocation-pool start=10.18.162.65,end=10.18.162.75

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 1,678 times

Last updated: Aug 05 '14