Ubuntu Netplan bond drops SSH when Ethernet becomes primary
26 LTS is using Netplan to combine Ethernet and Wi-Fi into one bond0 connection. The goal is to use Ethernet enp7s0 as the main link and fall back to Wi-Fi wlp6s0 when Ethernet is unplugged. The bond0 connection has the fixed address 192.168.29.50/24, the default gateway 192.168.29.1, and DNS servers 1.1.1.1 and 1.0.0.1.
The bonding mode is , with enp7s0 set as the primary link. In practice, plugging in Ethernet makes the server switch to Ethernet, but SSH and ping from the Mac stop working. Unplugging Ethernet makes the server switch back to Wi-Fi, and SSH starts working again.
The also shows a possible name mismatch: the bond uses enp7s0, while the Ethernet section lists enp780.
Key points
- 26 LTS is using Netplan to bond Ethernet and Wi-Fi.
- Ethernet enp7s0 is meant to be primary, with Wi-Fi wlp6s0 as backup.
- Plugging in Ethernet switches the link, but SSH and ping from the Mac fail.
- Unplugging Ethernet restores Wi-Fi and SSH access.
- The config may contain an name mismatch between enp7s0 and enp780.