Ubuntu 22.04: NIC interface name changes after kernel driver update, networkd service fails to bring up ens3
Environment
Ubuntu 22.04 LTS host (bare-metal Dell R740), two Intel X710 dual-port 10Gb NICs, running kernel 5.15.0-80-generic; netplan YAML config references interface name 'ens3' and systemd-networkd manages links.
Symptoms
After installing a vendor-provided NIC driver package and rebooting, the server's management VLAN lost connectivity. Services depending on the 'ens3' interface (DHCP client, monitoring agent) failed to start.
Observations
dmesg shows the Intel driver probing new firmware and registering ports at different PCI addresses; journalctl -u systemd-networkd reports 'link ens3: not found'; ip link output shows interfaces named 'ens7' and 'ens8' instead of 'ens3'; /etc/netplan/01-netcfg.yaml still references 'ens3'. No duplicate MACs visible on the local switch; switch shows link down/up events only for the server's physical ports at reboot time.
Already attempted
Verified netplan YAML; ran 'sudo netplan try' (no change). Created a temporary udev rule matching original MAC to 'ens3' and rebooted — rule not applied (udevadm test showed different device path). Reinstalled earlier kernel package and booted old kernel (5.15.0-76) — same names persisted. Ran 'udevadm info' on the new interfaces and compared ID_PATH values.
Question
How can I restore the previous predictable interface names (ens3) reliably across reboots after the driver update, and what caused the name change so services stop referencing the expected name?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Virtualization21% match
ESXi guest VM stops receiving external TCP traffic after host kernel hotpatch — vmxnet3 RX stalls while interface stays up
Open0 answers - Linux21% match
Ubuntu 22.04 host suspend/resume breaks LXD container veth interfaces — containers lose external network
Open0 answers - Linux20% match
Linux kernel logs NETDEV WATCHDOG and igb driver drops packets after enabling GRO on high-throughput gateway
Open1 answer - Linux20% match
Broadcom STA/WL driver drops Wi‑Fi association after suspend on Linux laptop
Open0 answers - Linux20% match
Ubuntu 22.04: Docker containers intermittently lose DNS after host switches to systemd-resolved stub resolver during network changes
Solved1 answer