Volba sítě 2: Samoobslužné sítě

Volba sítě 2: Samoobslužné sítě

Nastavte součásti sítí na uzlu výpočtu.

Nastavení Linux agenta přemostění

The Linux bridge agent builds layer-2 (bridging and switching) virtual networking infrastructure for instances and handles security groups.

  • Upravte soubor /etc/neutron/plugins/ml2/linuxbridge_agent.ini a proveďte následující úkony:

    • In the [linux_bridge] section, map the provider virtual network to the provider physical network interface:

      [linux_bridge]
      physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME
      

      Replace PROVIDER_INTERFACE_NAME with the name of the underlying provider physical network interface. See Vytváření sítě hostitele for more information.

    • V části [vxlan] povoltete překryvné sítě VXLAN, nastavte IP adresy rozhraní fyzické sítě, které spravují překryvné sítě a povolte zaplnění layer-2:

      [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 Vytváření sítě hostitele for more information.

    • V části [securitygroup] povolte bezpečnostní skupiny a nastavte ovladač brány firewall :term:`iptables`pro přemostění Linux:

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

Návrat na Nastavení sítě výpočetního uzlu.

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.