Prioritize eth0 Route Over WLAN
You can prioritise the eth0 route over the WLAN route. Perform the following steps:
Modify the
/etc/systemd/network/99-dhcp-en.networkfile and add the following content:[DHCP] RouteMetric=512Restart
systemd-networkd.