Po instalaci operačního systému na každém uzlu pro architekturu, kterou chcete zavést, musíte nastavit síťová rozhraní. Doporučujeme Vám zakázat jakékoli nástroje pro automatickou správu sítí a ručně si upravit odpovídající soubory s nastavením ve vaší distribuci. Pro další informace o nastavení sítě ve vaš distribuci si přečtěte dokumentaci .
All nodes require Internet access for administrative purposes such as package installation, security updates, DNS, and NTP. In most cases, nodes should obtain Internet access through the management network interface. To highlight the importance of network separation, the example architectures use private address space for the management network and assume that the physical network infrastructure provides Internet access via NAT or other methods. The example architectures use routable IP address space for the provider (external) network and assume that the physical network infrastructure provides direct Internet access.
In the provider networks architecture, all instances attach directly to the provider network. In the self-service (private) networks architecture, instances can attach to a self-service or provider network. Self-service networks can reside entirely within OpenStack or provide some level of external network access using NAT through the provider network.
Ukázková architektura předpokládá využití následujících sítí:
Správa na 10.0.0.0/24 s bránou 10.0.0.1
This network requires a gateway to provide Internet access to all nodes for administrative purposes such as package installation, security updates, DNS, and NTP.
Provider on 203.0.113.0/24 with gateway 203.0.113.1
Tato síť vyžaduje bránu poskytující přístup k internetu pro instance ve vašem prostředí OpenStack.
Tyto rozsahy a brány můžete změnit tak, aby odpovídali vaši konkrétní síťové architektuře.
Network interface names vary by distribution. Traditionally,
interfaces use eth
followed by a sequential number. To cover all
variations, this guide refers to the first interface as the
interface with the lowest number and the second interface as the
interface with the highest number.
Unless you intend to use the exact configuration provided in this
example architecture, you must modify the networks in this procedure to
match your environment. Each node must resolve the other nodes by
name in addition to IP address. For example, the controller
name must
resolve to 10.0.0.11
, the IP address of the management interface on
the controller node.
Varování
Nastavování síťových rozhraní přeruší spojení k síti. Pro tyto kroky doporučujeme použít místní terminál.
Poznámka
Your distribution enables a restrictive firewall by default. During the installation process, certain steps will fail unless you alter or disable the firewall. For more information about securing your environment, refer to the OpenStack Security Guide.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.