Ask Your Question
0

Networking for lab built with RDO allinone

asked 2015-03-09 08:38:23 -0600

LVLAaron gravatar image

updated 2015-03-09 21:46:37 -0600

I'm working on a lab that lives in a flat network (192.168.11.0/24) and have built an OpenStack installation using RDO. ( https://openstack.redhat.com/Quickstart )

I need to get the networking configured so I can access my instances. I'd prefer to give my instances one of the 192.168.11.x IP addresses if possible.

EDIT: Rebuilt from scratch and followed everything in this guide: https://openstack.redhat.com/Neutron_with_existing_external_network (https://openstack.redhat.com/Neutron_...)

I end up with no routers, which makes sense, and one network. When viewing the network, this is what I've got: """http://i.imgur.com/JFLRa3W.jpg"""

I spun up a Cirros instance, assigned a static IP, and assigned a floating IP from within the openstack gui. I can't get to my guest instance from anywhere.... and the guest can't get anywhere. I CAN ping the 192.168.11.211 compute:nova address from my workstation... so I've got that.

I need more karma to properly post the image, but the URL is visible... Sorry about that.

edit retag flag offensive close merge delete

Comments

Have you taken a look at https://openstack.redhat.com/Neutron_... ? That should have most of what you need.

larsks gravatar imagelarsks ( 2015-03-09 12:34:49 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-03-09 21:07:11 -0600

LVLAaron gravatar image

I have. Rebuilt, and edited question based on new findings.

edit flag offensive delete link more
0

answered 2015-03-10 02:58:32 -0600

dbaxps gravatar image
1. Create public network matching 192.168.11.0/24 with gateway matching your real gateway.
2. Create private network and neutron router.
3. Create interface to private and gateway to external network at neutron router
4. Implement security rules as required.

Update network ifcfg-* files with IPs ( of course )

[root@juno1 network-scripts(keystone_admin)]# cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="192.168.1.127"
NETMASK="255.255.255.0"
DNS1="83.221.202.254"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

For your interface name ( of course )

[root@juno1 network-scripts(keystone_admin)]# cat ifcfg-enp2s0
DEVICE="enp2s0"
# HWADDR=00:22:15:63:E4:E2
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Enble service network && disable NetworkManager
Then reboot box.

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: 2015-03-09 08:38:23 -0600

Seen: 106 times

Last updated: Mar 10 '15