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
For the OVN-Kubernetes network plugin, two or three connection manager profiles are returned.
122
-
123
-
* If the previous command returns only two profiles, then you must use a default NetworkManager connection configuration as a template.
124
-
* If the previous command returns three profiles, use the profile that is not named `ovs-if-phys0` or `ovs-port-phys0` as a template for the following modifications.
125
-
--
126
-
127
-
... To get the file name of the NetworkManager connection configuration for the primary network interface, enter the following command:
128
-
+
129
-
[source,terminal]
130
-
----
131
-
$ oc debug node/<node_name> -- chroot /host nmcli -g UUID,FILENAME c show | grep <uuid> | cut -d: -f2
132
-
----
133
-
+
134
-
--
135
-
where:
136
-
137
-
`<node_name>`:: Specifies the name of a node in your cluster.
138
-
`<uuid>`:: Specifies the UUID of the NetworkManager connection profile.
`<node_name>`:: Specifies the name of a node in your cluster.
158
-
`<profile_path>`:: Specifies the file system path of the NetworkManager connection from the previous step.
159
-
--
94
+
... Create the following NetworkManager configuration in the `<interface>-mtu.conf` file:
160
95
+
161
96
.Example NetworkManager connection configuration
162
97
[source,ini]
163
98
----
164
-
[connection]
165
-
id=Wired connection 1
166
-
uuid=3e96a02b-xxxx-xxxx-ad5d-61db28678130
167
-
type=ethernet
168
-
autoconnect-priority=-999
169
-
interface-name=enp1s0
170
-
permissions=
171
-
timestamp=1644109633
172
-
173
-
[ethernet]
174
-
mac-address-blacklist=
175
-
176
-
[ipv4]
177
-
dns-search=
178
-
method=auto
179
-
180
-
[ipv6]
181
-
addr-gen-mode=stable-privacy
182
-
dns-search=
183
-
method=auto
184
-
185
-
[proxy]
186
-
187
-
[.nmmeta]
188
-
nm-generated=true
99
+
[connection-<interface>-mtu]
100
+
match-device=interface-name:<interface>
101
+
ethernet.mtu=<mtu>
189
102
----
190
-
191
-
... Edit the NetworkManager configuration file saved in the `config.nmconnection` file from the previous step:
192
103
+
193
104
--
194
-
**** Set the following values:
195
-
***** `802-3-ethernet.mtu`: Specify the MTU for the primary network interface of the system.
196
-
***** `connection.interface-name`: Optional: Specify the network interface name that this configuration applies to.
197
-
***** `connection.autoconnect-priority`: Optional: Consider specifying an integer priority value above `0` to ensure this profile is used over other profiles for the same interface. If you are using the OVN-Kubernetes network plugin, this value must be less than `100`.
198
-
**** Remove the `connection.uuid` field.
199
-
**** Change the following values:
200
-
***** `connection.id`: Optional: Specify a different NetworkManager connection profile name.
105
+
where:
106
+
107
+
`<mtu>`:: Specifies the new hardware MTU value.
108
+
`<interface>`:: Specifies the primary network interface name.
201
109
--
202
-
+
203
-
.Example NetworkManager connection configuration
204
-
[source,ini]
205
-
----
206
-
[connection]
207
-
id=Primary network interface
208
-
type=ethernet
209
-
autoconnect-priority=10
210
-
interface-name=enp1s0
211
-
[802-3-ethernet]
212
-
mtu=8051
213
-
----
214
110
215
111
... Create two `MachineConfig` objects, one for the control plane nodes and another for the worker nodes in your cluster:
216
112
217
113
.... Create the following Butane config in the `control-plane-interface.bu` file:
0 commit comments