neutron_ping不通

在controller node上ping 172.18.7.80这个ip。ping不通。和网关有关系吗?网关应该设成谁的ip,我是设置成物理机的网关地址254的。controller,compute,network: 我这三台机器都是172.18.7.0/24网段的# neutron subnet-create ext-net --name ext-subnet --allocation-pool sta...显示全部
在controller node上ping 172.18.7.80这个ip。ping不通。和网关有关系吗?网关应该设成谁的ip,我是设置成物理机的网关地址254的。controller,compute,network: 我这三台机器都是172.18.7.0/24网段的



# neutron subnet-create ext-net --name ext-subnet --allocation-pool start=172.18.7.80,end=172.18.7.99 --disable-dhcp --gateway 172.18.7.254  172.18.7.0/24

Created a new subnet:




# neutron subnet-create demo-net --name demo-subnet --gateway 192.168.1.1 192.168.1.0/24

Created a new subnet:


# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| ac83d4a1-b7ac-4f03-8fcd-2aba6d2fd508 | demo-net | b093c956-8992-4611-ae72-8bbd92e47ba9 192.168.1.0/24 |
| bb8f3838-4812-4560-b1b2-85ea8ac7c82d | ext-net  | 6c502614-dc96-4d81-8665-a00a02b8e03f 172.18.7.0/24  |



  # neutron subnet-list
+--------------------------------------+-------------+----------------+--------------------------------------------------+
| id                                   | name        | cidr           | allocation_pools                                 |
+--------------------------------------+-------------+----------------+--------------------------------------------------+
| b093c956-8992-4611-ae72-8bbd92e47ba9 | demo-subnet | 192.168.1.0/24 | {"start": "192.168.1.2", "end": "192.168.1.254"} |
| d12fc071-aa87-49d9-a8cc-105cbefb1496 | ext-subnet  | 172.18.7.0/24  | {"start": "172.18.7.80", "end": "172.18.7.99"}   |


#  neutron router-list
+--------------------------------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| id                                   | name        | external_gateway_info                                                                                                                                                                   | distributed | ha    |
+--------------------------------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| 63ac0210-d597-4b27-8809-64a374526d35 | demo-router | {"network_id": "bb8f3838-4812-4560-b1b2-85ea8ac7c82d", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "d12fc071-aa87-49d9-a8cc-105cbefb1496", "ip_address": "172.18.7.80"}]} | False       | False |
+--------------------------------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+收起
参与13

查看其它 10 个回答jjqiu92的回答

jjqiu92jjqiu92系统工程师jjqiu
谁能帮我回答下?谢谢了。没人顶,我自己顶。
系统集成 · 2015-04-24
浏览3122

回答者

jjqiu92
系统工程师jjqiu

jjqiu92 最近回答过的问题

回答状态

  • 发布时间:2015-04-24
  • 关注会员:2 人
  • 回答浏览:3122
  • X社区推广