使用centos 6.5
我正在使用一个networking接口在单个节点上设置PackStack。
我遵循这些说明http://openstack.redhat.com/Quickstart
这工作正常,然后我到http://openstack.redhat.com/Floating_IP_range
我的networking是192.168.1.0/24我有一个接口eth0和我的网关是192.168.1.1我想在这个networking上的openstack中创build实例,并可以与同一networking上的其他机器交谈。
这是我卡住的地方。
$ neutron net-create thepublic –router:external = True创build一个新的networking:
| admin_state_up | True | | id | 28da3a02-25de-45b3-a582-8f5dc29eb864 | | 名字| thepublic | | 提供者:network_type | 本地| | 提供者:physical_network | | | provider:segmentation_id | | | 路由器:外部| True | | 共享| False | | 状态| ACTIVE | | 子网| | | tenant_id | 4acbdfa5ff02412aaa63caa99688010a |
$ neutron subnet -create thepublic 192.168.1.0/24 –name vlan –enable_dhcp False –allocation_pool start = 192.168.1.57,end = 192.168.1.62 –gateway 192.168.1.1创build一个新的子网:
| allocation_pools | {“start”:“192.168.1.57”,“end”:“192.168.1.62”} | | cidr | 192.168.1.0/24 | | dns_nameservers | | | enable_dhcp | False | | gateway_ip | 192.168.1.1 | | host_routes | | | id | a219fb59-ccc2-482f-86c4-977d715707e9 | | ip_version | 4 | | 名字| vlan | | network_id | 28da3a02-25de-45b3-a582-8f5dc29eb864 | | tenant_id | 4acbdfa5ff02412aaa63caa99688010a |
$ neutron router-gateway-set the public a219fb59-ccc2-482f-86c4-977d715707e9无法find名为“thepublic”的路由器
$ neutron router-gateway-set $ router_id $ vlan_id应该使用什么值
另一件事是我可以创build实例,但不能让这些实例连接到我的192.168.1.0/24networking。
看起来你没有真正创build一个路由器。 Openstack文档大大改进了,步骤如下: http ://docs.openstack.org/icehouse/install-guide/install/yum/content/neutron-initial-networks.html
你是在baremetal上安装它,还是在用VirtualBox试一下? 我认为你可能会遇到问题,但我猜这是可能的。
你使用VLAN,GRE?