Ask Your Question
0

external network configuration on icehouse ver.

asked 2014-08-05 01:56:03 -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
1

answered 2014-08-06 07:19:35 -0500

Michael Steffens gravatar image

You don't mention what exactly the failure is. But if you have set up external and private (tenant) network according to the example in the installation guide, the external network belong to admin tenant while the private network should be owned by non-admin tenant.

A non-admin user can't attach instances directly to the external network then, but only to his tenant network.

edit flag offensive delete link more

Comments

The failure was that I could not communicate VM (was assigned floating IP) from HOST. and I tried to do as your comment. Thank you for your answer!

thna gravatar imagethna ( 2014-08-10 21:16:39 -0500 )edit

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 01:53:03 -0500

Seen: 233 times

Last updated: Aug 06 '14