Skip to content

Commit 824e13d

Browse files
author
Shikha Jhala
committed
CNV-21839: MTU configuration
1 parent eda1722 commit 824e13d

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/vm_networking/virt-using-the-default-pod-network-with-virt.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="virt-jumbo-frames-vm-pod-nw_{context}"]
7+
= About jumbo frames support
8+
9+
When using the OVN-Kubernetes CNI plugin, you can send unfragmented jumbo frame packets between two virtual machines (VMs) that are connected on the default pod network. Jumbo frames have a maximum transmission unit (MTU) value greater than 1500 bytes.
10+
11+
The VM automatically gets the MTU value of the cluster network, set by the cluster administrator, in one of the following ways:
12+
13+
* `libvirt`: If the guest OS has the latest version of the VirtIO driver that can interpret incoming data via a Peripheral Component Interconnect (PCI) config register in the emulated device.
14+
15+
* DHCP: If the guest DHCP client can read the MTU value from the DHCP server response.
16+
17+
[NOTE]
18+
====
19+
For Windows VMs that do not have a VirtIO driver, you must set the MTU manually by using `netsh` or a similar tool. This is because the Windows DHCP client does not read the MTU value.
20+
====

virt/virtual_machines/vm_networking/virt-using-the-default-pod-network-with-virt.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can connect a virtual machine to the default internal pod network by configuring its network interface to use the `masquerade` binding mode
9+
You can connect a virtual machine to the default internal pod network by configuring its network interface to use the `masquerade` binding mode.
1010

1111
include::modules/virt-configuring-masquerade-mode-cli.adoc[leveloffset=+1]
1212

1313
include::modules/virt-configuring-masquerade-mode-dual-stack.adoc[leveloffset=+1]
14+
15+
include::modules/virt-jumbo-frames-vm-pod-nw.adoc[leveloffset=+1]
16+
17+
[role="_additional-resources"]
18+
.Additional resources
19+
* xref:../../../networking/changing-cluster-network-mtu.adoc#changing-cluster-network-mtu[Changing the MTU for the cluster network]
20+
* xref:../../../scalability_and_performance/optimizing-networking.adoc#optimizing-mtu_optimizing-networking[Optimizing the MTU for your network]

0 commit comments

Comments
 (0)