neutron subnet-create --name public_subnet --enable_dhcp=False
--allocation-pool=start=10.10.179.230,end=10.10.179.250 --gateway=10.10.183.254
external_network 10.10.176.0/21<http://10.10.176.0/21>
Syntax error highlighted red
neutron subnet-create --name public_subnet --enable_dhcp=False --allocation-pool
start=10.10.179.230,end=10.10.179.250 --gateway=10.10.183.254 external_network
10.10.176.0/21<http://10.10.176.0/21>
<
http://10.10.176.0/21>
<
http://10.10.176.0/21>
Address: 10.10.176.0 00001010.00001010.10110000.00000000
<
http://10.10.176.0/21>
Netmask: 255.255.248.0 1 11111111.11111111.11111000.00000000
<
http://10.10.176.0/21>
Wildcard: 0.0.7.255 00000000.00000000.00000111.11111111
<
http://10.10.176.0/21>
Network Address: 10.10.176.0/21 00001010.00001010.10110000.00000000
<
http://10.10.176.0/21>
Broadcast Address: 10.10.183.255
00001010.00001010.10110111.11111111<http://10.10.176.0/21>
First host: 10.10.176.1
00001010.00001010.10110000.00000001
<
http://10.10.176.0/21>
Last host: 10.10.183.254 00001010.00001010.10110111.11111110
<
http://10.10.176.0/21>
Total host count: 2046 <
http://10.10.176.0/21>
________________________________
From: rdo-list-bounces(a)redhat.com <rdo-list-bounces(a)redhat.com> on behalf of Jamie
Duncan <jduncan(a)redhat.com>
Sent: Friday, January 8, 2016 9:05 PM
To: rdo-list(a)redhat.com
Subject: [Rdo-list] Confusion with Floating IPs in RDO Liberty Packstack 3-node setup
I have a 3-node setup using packstack. It went smoothly with no issues.
I created a public subnet with the following command.
neutron subnet-create --name public_subnet --enable_dhcp=False
--allocation-pool=start=10.10.179.230,end=10.10.179.250 --gateway=10.10.183.254
external_network 10.10.176.0/21<http://10.10.176.0/21>
So I should have about 18 usable IP addresses. Perfect.
But I only have 2.
[root@dell-r430-13 ~(keystone_atomic)]# neutron floatingip-list
+--------------------------------------+------------------+---------------------+---------+
| id | fixed_ip_address | floating_ip_address | port_id
|
+--------------------------------------+------------------+---------------------+---------+
| 1c94a153-20d4-43cd-b8c2-4d259975e043 | | 10.10.179.235 |
|
| ad4e0089-2d4d-46dd-a0f2-21b6c854398d | | 10.10.179.232 |
|
+--------------------------------------+------------------+---------------------+---------+
I had to create the floating IPs manually with a for loop.
It wasn't hard. I'm just wondering what I did wrong, or if that's something
I've just somehow missed every other time.