Skip to content

Commit 458bfb6

Browse files
author
Shubha Narayanan
committed
Multiple NICs configuration
1 parent fcbdf08 commit 458bfb6

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed

installing/installing_vsphere/ipi/installing-vsphere-installer-provisioned-network-customizations.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ include::modules/ipi-install-modifying-install-config-for-dual-stack-network.ado
6161

6262
include::modules/configuring-vsphere-regions-zones.adoc[leveloffset=+2]
6363

64+
// Specifying multiple NICS
65+
include::modules/installation-vsphere-multiple-nics.adoc[leveloffset=+2]
66+
67+
[role="_additional-resources"]
68+
.Additional resources
69+
70+
* xref:../../../installing/installing_vsphere/installation-config-parameters-vsphere.adoc#installation-configuration-parameters-network_installation-config-parameters-vsphere[Network configuration parameters]
71+
6472
// Network configuration phases
6573
include::modules/nw-network-config.adoc[leveloffset=+1]
6674

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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+
----

modules/nw-network-config.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Phase 1:: You can customize the following network-related fields in the `install
2424
* `networking.clusterNetwork`
2525
* `networking.serviceNetwork`
2626
* `networking.machineNetwork`
27+
* `nodeNetworking`
2728
+
2829
For more information, see "Installation configuration parameters".
2930
+

0 commit comments

Comments
 (0)