如何在OpenStack中提供浮动IP池?

时间:2014-04-14 17:28:16

标签: openstack openstack-nova

在控制器上:

> nova-manage floating list
None    192.168.1.1     None    public  eth0
None    192.168.1.2     None    public  eth0
None    192.168.1.3     None    public  eth0
...

> nova floating-ip-bulk-list   (with admin credentials)
+------------+---------------+---------------+--------+-----------+
| project_id | address       | instance_uuid | pool   | interface |
+------------+---------------+---------------+--------+-----------+
| -          | 192.168.1.1   | -             | public | eth0      |
| -          | 192.168.1.2   | -             | public | eth0      |
| -          | 192.168.1.3   | -             | public | eth0      |
| -          | 192.168.1.4   | -             | public | eth0      |
...


(with admin or other user credentials on "admin" tenant or another project tenant)
> nova floating-ip-list

> nova floating-ip-pool-list

我无法弄清楚如何在公共池中制作IP,如nova-manage所示,显示正常的nova(或web)客户端,以便我可以将它们分配给实例。

1 个答案:

答案 0 :(得分:1)

设置OpenStack实例的人似乎正在使用neutron来管理网络,因此“neutron floatingip-create”似乎有效。