|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * installing/installing-vsphere-installer-provisioned-network-customizations.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: PROCEDURE |
| 6 | +[id="installation-vsphere-multiple-nics_{context}"] |
| 7 | += Configuring multiple NICs |
| 8 | + |
| 9 | +For scenarios requiring multiple network interface controller (NIC), you can configure multiple network adapters per node. |
| 10 | + |
| 11 | +:FeatureName: Configuring multiple NICs |
| 12 | +include::snippets/technology-preview.adoc[] |
| 13 | + |
| 14 | +.Procedure |
| 15 | + |
| 16 | +. Specify the network adapter names in the networks section of `platform.vsphere.failureDomains[*].topology` as shown in the following `install-config.yaml` file: |
| 17 | ++ |
| 18 | +[source,yaml] |
| 19 | +---- |
| 20 | +platform: |
| 21 | + vsphere: |
| 22 | + vcenters: |
| 23 | + ... |
| 24 | + failureDomains: |
| 25 | + - name: <failure_domain_name> |
| 26 | + region: <default_region_name> |
| 27 | + zone: <default_zone_name> |
| 28 | + server: <fully_qualified_domain_name> |
| 29 | + topology: |
| 30 | + datacenter: <data_center> |
| 31 | + computeCluster: "/<data_center>/host/<cluster>" |
| 32 | + networks: # <1> |
| 33 | + - <VM_network1_name> |
| 34 | + - <VM_network2_name> |
| 35 | + - ... |
| 36 | + - <VM_network10_name> |
| 37 | +---- |
| 38 | +<1> Specifies the list of network adapters. You can specify up to 10 network adapters. |
| 39 | + |
| 40 | +. Specify at least one of the following configurations in the `install-config.yaml` file: |
| 41 | + |
| 42 | +** `networking.machineNetwork` |
| 43 | ++ |
| 44 | +.Example configuration |
| 45 | ++ |
| 46 | +[source,yaml] |
| 47 | +---- |
| 48 | +networking: |
| 49 | + ... |
| 50 | + machineNetwork: |
| 51 | + - cidr: 10.0.0.0/16 |
| 52 | + ... |
| 53 | +---- |
| 54 | ++ |
| 55 | +[NOTE] |
| 56 | +==== |
| 57 | +The `networking.machineNetwork.cidr` field must correspond to an address on the first adapter defined in `topology.networks`. |
| 58 | +==== |
| 59 | + |
| 60 | +** Add a `nodeNetworking` object to the `install-config.yaml` file and specify internal and external network subnet CIDR implementations for the object. |
| 61 | ++ |
| 62 | +.Example configuration |
| 63 | ++ |
| 64 | +[source,yaml] |
| 65 | +---- |
| 66 | +platform: |
| 67 | + vsphere: |
| 68 | + nodeNetworking: |
| 69 | + external: |
| 70 | + networkSubnetCidr: |
| 71 | + - <machine_network_cidr_ipv4> |
| 72 | + - <machine_network_cidr_ipv6> |
| 73 | + internal: |
| 74 | + networkSubnetCidr: |
| 75 | + - <machine_network_cidr_ipv4> |
| 76 | + - <machine_network_cidr_ipv6> |
| 77 | + failureDomains: |
| 78 | + - name: <failure_domain_name> |
| 79 | + region: <default_region_name> |
| 80 | +---- |
0 commit comments