在newton 集群中创建单个网卡的VM,vm获取到多个IP地址

提问于 2016-10-18 04:48:03 -0500

farway 图像

hi,all: 今天使用了3台管理节点,3台网络节点,3台计算节点部署了openstack newton集群。Neutron服务模块信息如下: [root@os01 ~]# neutron agent-list +--------------------------------------+--------------------+------------------+-------------------+-------+----------------+---------------------------+ | id | agent_type | host | availability_zone | alive | admin_state_up | binary | +--------------------------------------+--------------------+------------------+-------------------+-------+----------------+---------------------------+ | 03d8c4d0-147a-49a1-b1df-ff1bd897f334 | DHCP agent | http://net02.cloud.com | nova | :-) | True | neutron-dhcp-agent | | 19175a61-49ff-4644-ab59-34c6aefebdcf | DHCP agent | http://net01.cloud.com | nova | :-) | True | neutron-dhcp-agent | | 2671e2c9-759d-4238-9714-d19741f1eb33 | Metadata agent | http://net02.cloud.com | | :-) | True | neutron-metadata-agent | | 2e77b41d-1379-41bc-bc90-860e4bde1869 | Linux bridge agent | http://net01.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 360e6ead-7cfe-4fcb-8a2a-3a00bae4655c | L3 agent | http://net03.cloud.com | nova | :-) | True | neutron-l3-agent | | 442f79b5-b37e-49e9-8953-d02f5e98d9d4 | Linux bridge agent | http://net03.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 50530840-2ecb-4bbf-b349-e967294c922f | L3 agent | http://net01.cloud.com | nova | :-) | True | neutron-l3-agent | | 5771decf-4817-4c1f-8f4b-d6f4d926e8e4 | Linux bridge agent | http://node01.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 6dbfa34a-fb84-46b3-847f-0e7eccfb0713 | DHCP agent | http://net03.cloud.com | nova | :-) | True | neutron-dhcp-agent | | 71508ecc-58e2-4751-9912-922a8d857a71 | Linux bridge agent | http://net02.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 7d352473-125b-4dcb-90c9-ce4a1d238204 | Metadata agent | http://net01.cloud.com | | :-) | True | neutron-metadata-agent | | 805af56f-9fc3-479c-9250-e0ab31a65748 | Linux bridge agent | http://node02.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 87f87d97-45bf-48eb-995b-64f05c1315eb | Linux bridge agent | http://node03.cloud.com | | :-) | True | neutron-linuxbridge-agent | | 8cf08873-3aa8-4756-84d0-67fad031217a | Metadata agent | http://net03.cloud.com | | :-) | True | neutron-metadata-agent | | b3bfd07c-9899-4ef9-af5b-c9f200127434 | L3 agent | http://net02.cloud.com | nova | :-) | True | neutron-l3-agent | +--------------------------------------+--------------------+------------------+-------------------+-------+----------------+---------------------------+

创建内部网络,并启用DHCP功能,之后创建VM,发现vm获取到了多个IP地址(有的主机获取到了1个,有的获取到了多个),如下链接所示:http://pan.baidu.com/s/1eS9LB38,请问如何操作才能限制vm只能获取一个IP?

edit retag flag offensive close merge delete