[DEFAULT]

core_plugin = ml2
service_plugins = router
allow_overlapping_ips = true

○ In the [DEFAULT] section, configure RabbitMQ message queue access:
[DEFAULT]

transport_url = rabbit://openstack:openstack123@dbs.flex.net

○ In the [DEFAULT] and [keystone_authtoken] sections, configure Identity service access:
[DEFAULT]

auth_strategy = keystone

[keystone_authtoken]
# ...
www_authenticate_uri = http://stack.flex.net:5000
auth_url = http://stack.flex.net:5000
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = neutron123
注意:注釋或移除在[keystone_authtoken]區域中其它選項.

○ In the [DEFAULT] and [nova] sections, configure Networking to notify Compute of network topology changes:
[DEFAULT]

notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true

[nova]
# ...
auth_url = http://stack.flex.net:5000
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = nova123

○ In the [oslo_concurrency] section, configure the lock path:
[oslo_concurrency]

lock_path = /var/lib/neutron/tmp
3. Configure the Modular Layer 2 (ML2) plug-in
The ML2 plug-in uses the Linux bridge mechanism to build layer-2 (bridging and switching) virtual networking infrastructure for instances.
Edit the /etc/neutron/plugins/ml2/ml2_conf.ini file and complete the following actions:

○ In the [ml2] section, enable flat, VLAN, and VXLAN networks:
[ml2]

type_drivers = flat,vlan,vxlan

○ In the [ml2] section, enable VXLAN self-service networks:
[ml2]

tenant_network_types = vxlan

○ In the [ml2] section, enable the Linux bridge and layer-2 population mechanisms:
[ml2]

mechanism_drivers = linuxbridge,l2population
注意:配置ML2插件后, 從type_drivers移除這個選項會導致數據庫不一致并且Linux bridge只支持VXLAN overlay network.

○ In the [ml2] section, enable the port security extension driver:
[ml2]

extension_drivers = port_security

○ In the [ml2_type_flat] section, configure the provider virtual network as a flat network:
[ml2_type_flat]

flat_networks = provider

○ In the [ml2_type_vxlan] section, configure the VXLAN network identifier range for self-service networks:
[ml2_type_vxlan]

vni_ranges = 1:1000

○ In the [securitygroup] section, enable ipset to increase efficiency of security group rules:
[securitygroup]

enable_ipset = true
4. Configure the Linux bridge agent
The Linux bridge agent builds layer-2 (bridging and switching) virtual networking infrastructure for instances and handles security groups.
Edit the /etc/neutron/plugins/ml2/linuxbridge_agent.ini file and complete the following actions:

○ In the [linux_bridge] section, map the provider virtual network to the provider physical network interface:
[linux_bridge]
physical_interface_mappings = provider:external:eth2

Replace PROVIDER_INTERFACE_NAME with the name of the underlying provider physical network interface.

○ In the [vxlan] section, enable VXLAN overlay networks, configure the IP address of the physical network interface that handles overlay networks, and enable layer-2 population:
[vxlan]
enable_vxlan = true
local_ip = OVERLAY_INTERFACE_IP_ADDRESS
l2_population = true

Replace OVERLAY_INTERFACE_IP_ADDRESS with the IP address of the underlying physical network interface that handles overlay networks. The example architecture uses the management interface to tunnel traffic to the other nodes. Therefore, replace OVERLAY_INTERFACE_IP_ADDRESS with the management IP address of the controller node. See Host networking for more information.

○ In the [securitygroup] section, enable security groups and configure the Linux bridge iptables firewall driver:
[securitygroup]

enable_security_group = true
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

○ Ensure your Linux operating system kernel supports network bridge filters by verifying all the following sysctl values are set to 1:
net.bridge.bridge-nf-call-iptables
net.bridge.bridge-nf-call-ip6tables

To enable networking bridge support, typically the br_netfilter kernel module needs to be loaded. Check your operating system’s documentation for additional details on enabling this module.
5. Configure the layer-3 agent
The Layer-3 (L3) agent provides routing and NAT services for self-service virtual networks.
Edit the /etc/neutron/l3_agent.ini file and complete the following actions:

○ In the [DEFAULT] section, configure the Linux bridge interface driver and external network bridge:
[DEFAULT]

interface_driver = linuxbridge
6. Configure the DHCP agent
The DHCP agent provides DHCP services for virtual networks.
Edit the /etc/neutron/dhcp_agent.ini file and complete the following actions:

○ In the [DEFAULT] section, configure the Linux bridge interface driver, dnsmasq DHCP driver, and enable isolated metadata so instances on provider networks can access metadata over the network:
[DEFAULT]

interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true
完成后返回網絡配置

更多關于云服務器域名注冊,虛擬主機的問題,請訪問三五互聯官網:m.shinetop.cn

贊(0)
聲明:本網站發布的內容(圖片、視頻和文字)以原創、轉載和分享網絡內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。郵箱:3140448839@qq.com。本站原創內容未經允許不得轉載,或轉載時需注明出處:三五互聯知識庫 » OpenStack stein安裝(九)network option2

登錄

找回密碼

注冊

主站蜘蛛池模板: 不卡一区二区国产精品| 精品精品亚洲高清a毛片| 曲阜市| 美女午夜福利视频一区二区| 亚洲爆乳WWW无码专区| 一区二区中文字幕av| 肉大捧一进一出免费视频| 91精品国产午夜福利| 蜜桃成熟色综合久久av| 亚洲免费的福利片| 三人成全免费观看电视剧高清| 亚洲精品国产免费av| 欧美极品少妇×xxxbbb| 91人妻熟妇在线视频| 久久人妻无码一区二区三区av| 人妻少妇不满足中文字幕| 亚洲精品成a人在线观看| 国产精品女在线观看| 国产成人黄色自拍小视频| 久9视频这里只有精品| 精品国产午夜福利在线观看| 116美女极品a级毛片| 亚洲AV无码东方伊甸园| 亚洲综合成人av在线| 国产美女裸身网站免费观看视频| 麻豆国产传媒精品视频| 不卡一区二区国产在线| 国产在线观看91精品亚瑟| 丁香五月婷激情综合第九色| 人妻av无码系列一区二区三区| 潮喷失禁大喷水av无码| 中文字幕无码免费不卡视频| 精品国产精品午夜福利| 男女性高爱潮免费网站| 精品久久久久无码| 亚洲国产成人综合自在线| 蜜桃草视频免费在线观看| 萨迦县| 国产精品自拍视频免费看| 中文字幕人妻互换av久久| 亚洲国产精品一二三四五|