You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Configuring host network interfaces for dual port NIC
8
8
9
-
Before installation, you can set the `networkConfig` configuration setting in the `install-config.yaml` file to configure host network interfaces using NMState to support dual port NIC.
9
+
Before installation, you can set the `networkConfig` configuration setting in the `install-config.yaml` file to configure host network interfaces by using NMState to support dual port NIC.
10
10
11
11
:FeatureName: Support for Day 1 operations associated with enabling NIC partitioning for SR-IOV devices
Errors in the YAML syntax might result in a failure to apply the network configuration. Additionally, maintaining the validated YAML syntax is useful when applying changes using Kubernetes NMState after deployment or when expanding the cluster.
27
+
Errors in the YAML syntax might result in a failure to apply the network configuration. Additionally, maintaining the validated YAML syntax is useful when applying changes by using Kubernetes NMState after deployment or when expanding the cluster.
28
28
====
29
29
30
30
.Procedure
@@ -109,19 +109,20 @@ Errors in the YAML syntax might result in a failure to apply the network configu
109
109
enabled: true
110
110
ipv6:
111
111
enabled: false
112
-
dns-resolver:
113
-
config:
114
-
server:
115
-
- 10.11.5.160
116
-
- 10.2.70.215
117
-
routes:
118
-
config:
119
-
- destination: 0.0.0.0/0
120
-
next-hop-address: 10.19.17.254
121
-
next-hop-interface: bond0 <14>
122
-
table-id: 254
112
+
dns-resolver:
113
+
config:
114
+
server:
115
+
- 10.11.5.160
116
+
- 10.2.70.215
117
+
routes:
118
+
config:
119
+
- destination: 0.0.0.0/0
120
+
next-hop-address: 10.19.17.254
121
+
next-hop-interface: bond0 <14>
122
+
table-id: 254
123
+
123
124
----
124
-
<1> The `networkConfig` field contains information about the network configuration of the host, with subfields including `interfaces`, `dns-resolver`, and `routes`.
125
+
<1> The `networkConfig` field has information about the network configuration of the host, with subfields including `interfaces`, `dns-resolver`, and `routes`.
125
126
<2> The `interfaces` field is an array of network interfaces defined for the host.
126
127
<3> The name of the interface.
127
128
<4> The type of interface. This example creates a ethernet interface.
@@ -134,11 +135,11 @@ Errors in the YAML syntax might result in a failure to apply the network configu
134
135
* Intel NICs do not support the `min-tx-rate` parameter. For more information, see link:https://bugzilla.redhat.com/show_bug.cgi?id=1772847[*BZ#1772847*].
135
136
<10> Sets a maximum transmission rate, in Mbps, for the VF. This sample value sets a rate of 200 Mbps.
136
137
<11> Sets the desired bond mode.
137
-
<12> Sets the preferred port of the bonding interface. The primary device is the first of the bonding interfaces to be used and is not abandoned unless it fails. This setting is particularly useful when one NIC in the bonding interface is faster and, therefore, able to handle a bigger load. This setting is only valid when the bonding interface is in active-backup mode (mode 1) and balance-tlb (mode 5).
138
+
<12> Sets the preferred port of the bonding interface. The bond uses the primary device as the first device of the bonding interfaces. The bond does not abandon the primary device interface unless it fails. This setting is particularly useful when one NIC in the bonding interface is faster and, therefore, able to handle a bigger load. This setting is only valid when the bonding interface is in active-backup mode (mode 1) and balance-tlb (mode 5).
138
139
<13> Sets a static IP address for the bond interface. This is the node IP address.
139
140
<14> Sets `bond0` as the gateway for the default route.
140
141
+
141
142
[IMPORTANT]
142
143
====
143
-
After deploying the cluster, you cannot modify the `networkConfig` configuration setting of `install-config.yaml` file to make changes to the host network interface. Use the Kubernetes NMState Operator to make changes to the host network interface after deployment.
144
+
After deploying the cluster, you cannot change the `networkConfig` configuration setting of the `install-config.yaml` file to make changes to the host network interface. Use the Kubernetes NMState Operator to make changes to the host network interface after deployment.
0 commit comments