Вариант сети 2: Сети самообслуживания

Вариант сети 2: Сети самообслуживания

Настройте сетевые компоненты на управляющем узле.

Настройте Linux Bridge агента

Linux bridge agent создает layer-2 (bridging and switching) виртуальную сетевую инфраструктуру для инстансов и регулирует группы безопасности.

  • Отредактируйте файл /etc/neutron/plugins/ml2/linuxbridge_agent.ini и выполните следующие действия:

    • В разделе [linux_bridge] соотнесите виртуальную сеть провайдера и физический сетевой интерфейс провайдера:

      [linux_bridge]
      physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME
      

      Замените PROVIDER_INTERFACE_NAME именем физического сетевого интерфейса провайдера. Смотрите Сеть узлов для более подробной информации.

    • 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 compute node. See Сеть узлов for more information.

    • В разделе [securitygroup] включите группы безопасности и настройте драйвер брандмауэра Linux bridge iptables:

      [securitygroup]
      # ...
      enable_security_group = true
      firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
      

Вернитесь к Настройки сети вычислительного узла.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.