we have Raspberry Pi CM4 with Ubuntu. On board ethernet adapter (eth0) is connected to internet and USB to ethernet adapter (eth1) connected a device with a static ip.
When we plug the eth1 internet connection goes away.
Here is our netplan yaml;
Network:
Version: 2
ethernets:
eth0:
dhcp4: true
eth1:
dhcp4: false
addresses: [192.168.5.15/24]
gateway4: 192.168.5.1
Thanks for helps.