/etc/dhcpcd.conf file is missing on debian 12 bookworm OS for Raspberrypi.
To find the current metrics, use route -n
To find the network interface names use nmcli connection show
Then use the connection name of the connection you want to make the default route and set its connection metric to a higher number than others:
nmcli connection edit "Wired connection 1"
set ipv4.route-metric 102
save
quit
No comments:
Post a Comment