Show Table of Contents
8.3. 创建额外的浮动 IP 地址网络
只要满足以下条件,浮动 IP 网络可以使用任何网桥,而不只局限于
br-ex:
- 在网络环境文件中,
NeutronExternalNetworkBridge被设置为"''"。 - 在部署的过程中已映射了额外的网桥。例如,把一个名为
br-floating的新网桥映射到floating物理网络:$ openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e ~/templates/network-environment.yaml --neutron-bridge-mappings datacenter:br-ex,floating:br-floating
在创建 Overcloud 后创建浮动 IP 网络:
$ neutron net-create ext-net --router:external --provider:physical_network floating --provider:network_type vlan --provider:segmentation_id 105 $ neutron subnet-create --name ext-subnet --enable_dhcp=False --allocation-pool start=10.1.2.51,end=10.1.2.250 --gateway 10.1.2.1 ext-net 10.1.2.0/24

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.