Ask Your Question
0

OpenStack SingleNode on existing Infrastructure

asked 2016-02-17 09:14:14 -0500

embedded gravatar image

We currently have one server which isn't needed for anything else, so we wanted to install an openstack single node configuration to get some hands on time. Everything is finde except for the external network access.

The Server is on an untagged vlan 50 port on the switch. So my idea was to just create the external network as following:

neutron net-create --tenant-id <ID> -provider:network_type=vlan --provider:segmentation_id=1 --router:external=true EXT
neutron subnet-create --disable-dhcp --name ext_subnet EXT <NW> --gateway <GW>

After adding the router-gw:

neutron router-gateway-set gateway_router EXT

I can see in horizon that the router allocated an IP in the external network. But i am not able to ping the OpenStack Router IP from another server in the (same) external network.

Do i need to change the switch configuration, so the port on which the server is connected is a trunk and then change the provider:segmentation_id to 50? Or do i miss something completely?

Could i use vxlan and be completely independant from the switch?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-02-17 09:26:50 -0500

dbaxps gravatar image

"Do i need to change the switch configuration, so the port on which the server is connected is a trunk and then change the provider:segmentation_id to 50?"

Why not , you may have have this port VLAN tagged 50 again. See  "AIO RDO Liberty && several external networks VLAN provider setup"

http://dbaxps.blogspot.com/2015/12/ai...
and external network provider vlan type will work for you. For instance :-

[root@ip-192-169-142-52 ~(keystone_admin]# neutron net-create vlan50  --shared --provider:network_type vlan --provider:segmentation_id  50  --provider:physical_network vlan50   --router:external
[root@ip-192-169-142-52 ~(keystone_admin]# neutron subnet-create --name sub-vlan50  --gateway 10.10.57.1 --allocation-pool start=10.10.57.100,end=10.10.57.200 vlan50  10.10.57.0/24
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: 2016-02-17 09:14:14 -0500

Seen: 35 times

Last updated: Feb 17 '16