[Rdo-list] RDO + floating IPs

Tomas Sedovic tsedovic at redhat.com
Tue May 26 13:54:36 UTC 2015

Hey everyone,

I tried to get RDO set up with floating IP addresses, but I'm running 
into problems I'm not sure how to debug (not that familiar with 
networking and Neutron).

I followed these guides on a clean Fedora 21 x86_64 server:


This on a baremetal box in a network outside of my control but in which 
there are 5 extra IP addresses assigned to me. It's quite possible that 
I'm missing something or doing something wrong, so here's exactly what I 

yum update -y && reboot
systemctl disable NetworkManager
systemctl enable network
systemctl stop NetworkManager && ifdown enp0s25 && systemctl start network

yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
yum install -y openstack-packstack
yum-config-manager --disable openstack-kilo
yum-config-manager --enable openstack-kilo-testing
setenforce 0

packstack --allinone --provision-all-in-one-ovs-bridge=n 
--os-heat-install=y --os-ceilometer-install=y

That succeeded, so I added a keypair and made sure the "default" 
security group allows all traffic.

So next onto the neutron stuff:

source /root/keystonerc_admin
neutron net-create mynetwork --router:external

(got a new network with type vxlan and id 

For the subnet I need the CIDR, gateway and the floating IP range. I'm 
not sure if I'm getting these right:

* CIDR: `ip addr`, find my network interface (enp0s25), get it's inet 
* Gateway: `ip route | grep default`  -> default via dev 
* And these 5 IP addresses are assigned to me:

neutron subnet-create mynetwork --name mysubnet 
--enable_dhcp=False --allocation_pool 
start=,end= --gateway

(this creates a subnet with id 2e3d6966-a659-454c-8c38-d98ed3f105e5)

neutron router-create myrouter

(this creates a router with id fced82e6-9917-4053-a286-02838d0325fc)

neutron router-gateway-set fced82e6-9917-4053-a286-02838d0325fc 

(myrouter id and mynetwork id)

neutron floatingip-create mynetwork

With all that out of the way, I created another network+subnet for my 
VMs and added a myrouter's interface to it. Then I launched a cirros VM 
into that network and associated a floating IP from "mynetwork".

The VM had some trouble with cloud-init:

Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending select for
Lease of obtained, lease time 86400
cirros-ds 'net' up at 0.66
failed 1/20: up 0.66. request failed
failed 2/20: up 5.67. request failed
failed 3/20: up 8.67. request failed
failed 4/20: up 11.67. request failed

once all 20 requests failed, it got to a login screen, but I could not 
ping or SSH into it:

# ping
PING ( 56(84) bytes of data.
 From icmp_seq=1 Destination Host Unreachable
 From icmp_seq=2 Destination Host Unreachable
 From icmp_seq=3 Destination Host Unreachable
 From icmp_seq=4 Destination Host Unreachable

# ssh cirros at
ssh: connect to host port 22: No route to host

Does anyone have any idea what I may be doing wrong?


More information about the dev mailing list