Data Interface and MTU Planning¶
Each compute worker needs one or more data interfaces to carry VM traffic. These are separate from the platform interfaces you already configured during StarlingX installation. Data interfaces connect compute workers to your data networks and ultimately to your VMs.
Before configuring data interfaces, determine:
How to bond data NICs for link redundancy (see Data NIC Bonding)
What MTU size to set on each network segment (see MTU for Data Networks)
Data NIC Bonding¶
Bonding provides link redundancy for data interfaces. The following table describes the available bonding modes.
Mode |
Behavior |
Switch Requirement |
|---|---|---|
Active-backup |
One port active, failover on link loss |
None |
LACP (802.3ad) |
All ports active, hash-based load balancing |
Switch must support LACP |
MTU for Data Networks¶
The MTU determines the maximum packet size on each network segment. Setting it correctly avoids silent packet drops and ensures encapsulated traffic (VXLAN) is not fragmented.
Segment |
MTU |
Notes |
|---|---|---|
Data network (VLAN) |
1500 or 9000 |
Jumbo frames recommended for throughput. Requires end-to-end support. |
Data network (VXLAN over IPv4) |
Round up by ~100 (for example, 1600 for a 1500 network), or 9000 |
A VXLAN frame is 54 bytes longer than the MTU over IPv4. Size the data interface above the data network MTU. |
Data network (VXLAN over IPv6) |
Round up by ~100 (for example, 1600 for a 1500 network), or 9000 |
A VXLAN frame is 74 bytes longer than the MTU over IPv6 (20 bytes more than IPv4). Dual-stack networks must size for IPv6. |
VM interfaces (on VXLAN) |
Reduced from the data network MTU |
Reduce by 50 bytes (IPv4) or 70 bytes (IPv6) relative to the data network MTU. |
MTU Constraints¶
Physical interface MTU must equal or exceed the largest MTU of any data network it carries. If it does not, oversized packets are silently dropped.
Switch ports must match or exceed the host interface MTU. A mismatch causes intermittent connectivity failures that are difficult to diagnose.
For VXLAN, the entire L3 path between compute workers must support the configured MTU. A single undersized device in the path fragments or drops encapsulated traffic.
Test MTU end-to-end before deploying VMs. Use ping with the do-not-fragment flag to verify the path supports your configured size.
To configure data interfaces on compute workers, see Configure Data Interfaces.