diff --git a/modules/configuration-ovnk-network-plugin-json-object.adoc b/modules/configuration-ovnk-network-plugin-json-object.adoc index 2e0792c1fd6b..04ae04eb1599 100644 --- a/modules/configuration-ovnk-network-plugin-json-object.adoc +++ b/modules/configuration-ovnk-network-plugin-json-object.adoc @@ -47,7 +47,7 @@ When omitted, the logical switch implementing the network only provides layer 2 |`mtu` |`string` | -The maximum transmission unit (MTU). The default value, `1300`, is automatically set by the kernel. +The maximum transmission unit (MTU). If you do not set a value, the Cluster Network Operator (CNO) sets a default MTU value by calculating the difference among the underlay MTU of the primary network interface, the overlay MTU of the pod network, such as the Geneve (Generic Network Virtualization Encapsulation), and byte capacity of any enabled features, such as IPsec. |`netAttachDefName` |`string` diff --git a/modules/configuring-localnet-switched-topology.adoc b/modules/configuring-localnet-switched-topology.adoc index c4f367229f64..c0c2d6f90618 100644 --- a/modules/configuring-localnet-switched-topology.adoc +++ b/modules/configuring-localnet-switched-topology.adoc @@ -48,7 +48,7 @@ spec: <4> The name of the OVS bridge on the node. This value is required only if you specify `state: present`. <5> The state for the mapping. Must be either `present` to add the bridge or `absent` to remove the bridge. The default value is `present`. + -The following JSON example configures a localnet secondary network that is named `localnet1`: +The following JSON example configures a localnet secondary network that is named `localnet1`. Note that the value for the `mtu` parameter must match the MTU value that was set for the secondary network interface that is mapped to the `br-ex` bridge interface. + [source,json] ---- @@ -108,7 +108,7 @@ spec: <7> Specifies the name of the OVS bridge on the node. The value is required only when `state: present` is set. <8> Specifies the state of the mapping. Valid values are `present` to add the bridge or `absent` to remove the bridge. The default value is `present`. + -The following JSON example configures a localnet secondary network that is named `localnet2`: +The following JSON example configures a localnet secondary network that is named `localnet2`. Note that the value for the `mtu` parameter must match the MTU value that was set for the `eth1` secondary network interface. + [source,json] ---- diff --git a/modules/virt-creating-layer2-nad-cli.adoc b/modules/virt-creating-layer2-nad-cli.adoc index 1ec0710a718c..3b2ce3ce1df4 100644 --- a/modules/virt-creating-layer2-nad-cli.adoc +++ b/modules/virt-creating-layer2-nad-cli.adoc @@ -38,7 +38,7 @@ spec: <2> The name of the network. This attribute is not namespaced. For example, you can have a network named `l2-network` referenced from two different `NetworkAttachmentDefinition` objects that exist in two different namespaces. This feature is useful to connect VMs in different namespaces. <3> The name of the CNI plug-in to be configured. The required value is `ovn-k8s-cni-overlay`. <4> The topological configuration for the network. The required value is `layer2`. -<5> Optional: The maximum transmission unit (MTU) value. The default value is automatically set by the kernel. +<5> Optional: The maximum transmission unit (MTU) value. If you do not set a value, the Cluster Network Operator (CNO) sets a default MTU value by calculating the difference among the underlay MTU of the primary network interface, the overlay MTU of the pod network, such as the Geneve (Generic Network Virtualization Encapsulation), and byte capacity of any enabled features, such as IPsec. <6> The value of the `namespace` and `name` fields in the `metadata` stanza of the `NetworkAttachmentDefinition` object. + [NOTE]