配置 L2 Population - 每天5分钟玩转 OpenStack(114)
前面我们学习了L2 Population 的原理,今天讨论如何在 Neutron 中配置和启用此特性。 目前 L2 Population 支持 VXLAN with Linux bridge 和 VXLAN/GRE with OVS。 可以通过以下配置启用 L2 Population。 在 /etc/neutron/plugins/ml2/ml2_conf.ini 设置 l2population mechanism driver。 mechanism_drivers = linuxbridge,l2population 同时在 [VXLAN] 中配置 enable L2 Population。 L2 Population 生效后,创建的 vxlan-100 会多一个 Proxy ARP 功能。 查看控制节点上的 forwarding database,可以看到 VTEP 保存了 cirros-vm2 的 port 信息。 cirros-vm2 的 MAC 为 fa:16:3e:1d:23:a3。 VTEP IP 为 166.66.16.11。 当需要与 cirros-vm2 通信时,控...