分享

Juno neutron 创建多个外网

akqzx 发表于 2015-8-27 10:00:26 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 4 11953
Hi
环境为Juno,DVR,租户网络用vxlan,外部网络用vlan
当只有一个外部网络IP段的时候,实例绑定浮动IP之后是可以正常使用的
我看到kilo版本的信息,按照kilo的修改方法修改之后就出现:
当我添加第二个外部网络IP段(不同vlan)之后,实例绑定浮动IP之后无法ping通路由IP,我本地可以ping通路由ip,
To configure the Layer-3 (L3) agent
The Layer-3 (L3) agent provides routing services for virtual networks.
Edit the /etc/neutron/l3_agent.ini file and complete the following actions:
In the [DEFAULT] section, configure the interface driver, external network bridge, and enable deletion of defunct router namespaces:

[mw_shl_code=bash,true][DEFAULT]
...
nterface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
external_network_bridge =
outer_delete_namespaces = True[/mw_shl_code]


The external_network_bridge option intentionally lacks a value to enable multiple external networks on a single agent.


Juno版本单个l3 agent 支持多个外部IP段,而且只有一个NIC可以用于外部网络
请问有谁配置过的吗?谢谢
74019A3F-3D3A-446F-BCE3-953DC394FE46.png

已有(4)人评论

跳转到指定楼层
Alkaloid0515 发表于 2015-8-27 11:07:58
最好按照Juno的办法。
回复

使用道具 举报

akqzx 发表于 2015-8-27 11:14:05
我现在的配置:
root@network:~# cat /etc/neutron/l3_agent.ini |grep -v "^#"
[DEFAULT]
verbose = True
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
external_network_bridge =
router_delete_namespaces = True
agent_mode = dvr_snat

root@network:~# cat /etc/neutron/plugins/ml2/ml2_conf.ini |grep -v "^#"
[ml2]
tenant_network_types = vxlan
type_drivers = local,flat,vlan,gre,vxlan
mechanism_drivers = openvswitch,l2population

[ml2_type_flat]

[ml2_type_vlan]
network_vlan_ranges = external:610:650

[ml2_type_gre]

[ml2_type_vxlan]
vni_ranges = 65537:69999
vxlan_group = 239.1.1.1

[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]
local_ip = 10.10.1.21
bridge_mappings = external:br-ex

[agent]
l2population = True
enable_distributed_routing = True
arp_responder = True
tunnel_types = vxlan
回复

使用道具 举报

akqzx 发表于 2015-8-27 11:15:12
Alkaloid0515 发表于 2015-8-27 11:07
最好按照Juno的办法。

我没找到Juno版本的对应的配置修改
回复

使用道具 举报

Alkaloid0515 发表于 2015-8-27 16:15:22
akqzx 发表于 2015-8-27 11:15
我没找到Juno版本的对应的配置修改

你把kilo的列出来看下。

他们都是一致的
这里有Juno的所有文档

http://docs.openstack.org/juno/
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条