Ask Your Question
0

How to OpenStack RDO single node single nic on none DHCP network

asked 2015-03-10 09:46:53 -0500

maTu gravatar image

Hey everyone,

I really like the concept of OpenStack and the RDO allinone installer. But I have a big problem with routing here.

I installed the standard demo user and admin user. After that I can login to the dashboard and I add images, instances etc. But when I try to connect to the VMs internally it does not work. I tried already many tutorials, network card configs etc. By the way I even can't ping them :O

My details:

Centos7 1x NIC 32GB RAM 120GB SSD

Further more the following network card:

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HWADDR=AA:AA:AA:AA:AA:AA
IPADDR=192.168.0.2
NETMASK=255.255.255.255
SCOPE="peer 192.168.0.1"
IPV6INIT=yes
IPV6ADDR=2a01:4f8:151:7292::2/64
IPV6_DEFAULTGW=fe80::1
IPV6_DEFAULTDEV=eth0

Plus a route_eth0

ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=192.168.0.1

Does anybody know how to configure the "internal" network?

edit retag flag offensive close merge delete

Comments

You will not be able to access the internal vms unless you have a floating IP attache to them, and an IP on you phyiscal system on the same netowrk.

There is a good tutorial for setting up the networking here https://openstack.redhat.com/Neutron_...

jdexter gravatar imagejdexter ( 2015-03-12 13:05:39 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-17 15:13:17 -0500

dbaxps gravatar image

updated 2015-03-17 15:24:11 -0500

You can do it via horizon . View http://bderzhavets.blogspot.com/2015/...
or via CLI:-

  $ . keystonerc_demo
  $ neutron net-create int
  Created a new network:
  +----------------+--------------------------------------+
  | Field          | Value                                |
  +----------------+--------------------------------------+
  | admin_state_up | True                                 |
  | id             | 1a4157a6-5cf2-46e3-bdea-1533c8f54cdf |
  | name           | int                                  |
  | shared         | False                                |
  | status         | ACTIVE                               |
  | subnets        |                                      |
  | tenant_id      | 2c845a6ad20e45ccb0b045cee27a9661     |
  +----------------+--------------------------------------+

  $ neutron subnet-create int 30.0.0.0/24 --dns_nameservers list=true 8.8.8.8

  Created a new subnet:
  +------------------+--------------------------------------------+
  | Field            | Value                                      |
  +------------------+--------------------------------------------+
  | allocation_pools | {"start": "30.0.0.2", "end": "30.0.0.254"} |
  | cidr             | 30.0.0.0/24                                |
  | dns_nameservers  | 8.8.8.8                              |
  | enable_dhcp      | True                                       |
  | gateway_ip       | 30.0.0.1                                   |
  | host_routes      |                                            |
  | id               | 04b95f13-cc77-4f9a-8206-7f6ed183461d       |
  | ip_version       | 4                                          |
  | name             |                                            |
  | network_id       | 1a4157a6-5cf2-46e3-bdea-1533c8f54cdf       |
  | tenant_id        | 2c845a6ad20e45ccb0b045cee27a9661           |
  +------------------+--------------------------------------------+
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

2 followers

Stats

Asked: 2015-03-10 09:46:53 -0500

Seen: 260 times

Last updated: Mar 17 '15