Proxmox LXC containers lose external network connectivity after host MTU lowered from 9000 to 1500
Environment
Proxmox VE 7 host with bonded 10Gb NICs and bridge vmbr0. Host previously configured for MTU 9000; MTU changed to 1500 at host networking layer during maintenance. LXC containers use veth connected to vmbr0 and kept their mtu settings at 9000 until container restart.
Symptoms
Containers appear up and can ping local hosts and host bridge but external TCP connections stall on large transfers. ICMP small packets generally work; web browsing times out on large objects. Host and VMs adjusted, but containers cannot reach internet reliably until container networking is restarted.
Observations
Inside containers, 'ip link show' still reports mtu 9000. Changing container mtu to 1500 restores connectivity. ethtool offload settings on host show GRO/TSO enabled. No iptables drops observed. Restarting LXC network namespace fixes only when MTU changed.
Already attempted
Rebooted host (brief outage not preferred), restarted individual LXC network, ran 'ip link set dev veth... mtu 1500' inside containers, toggled GRO/TSO off on host NICs, and re‑created veth pair for a container. Fixes are transient if container not adjusted.
Question
Why did lowering host MTU break container external connectivity and what is the safest way to reconcile MTU across host and containers without large downtime?
Verified community troubleshooting
This is classic MTU mismatch: containers were still using 9000 while you dropped the host/bridge to 1500. Update the host bridge and physical NIC MTUs first, then fix each container's interface (pct exec <id> -- ip link set eth0 mtu 1500 or pct set <id> -net0 mtu=1500) and restart networking. To diagnose, disable GRO/TSO on the host (ethtool -K <if> gro off tso off) and test large transfers; reenable after verification. If you must avoid wide restart, perform a rolling update per container. Reverting host MTU back to 9000 is the safe rollback if traffic remains disrupted.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Linux35% match
Ubuntu 22.04 host suspend/resume breaks LXD container veth interfaces — containers lose external network
Open0 answers - Virtualization32% match
KVM guests lose all network after host NIC firmware update under sustained I/O — MTU resets and guests show 1500-only traffic
Open0 answers - Linux26% match
Ubuntu 22.04: Docker containers intermittently lose DNS after host switches to systemd-resolved stub resolver during network changes
Solved1 answer - Virtualization24% match
KVM guest interface MTU drops to 1500 and large TCP transfers stall after enabling 802.1Q VLAN tagging on host bridge
Open0 answers - Networking21% match
LAN devices intermittently lose connectivity after enabling jumbo frames on mixed‑vendor switches
Open0 answers