This is excerpt from my ip route command:
192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.2 metric 100 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.14 metric 600 First interface enp1s0 (Ethernet), has metric value of 100 (higher priority/lower number of hops) and the second, wlp2s0 (WLAN) has a value 600 (lower priority). I'm using Linux kernel 4.7.2.
How are those values set in Linux? When does it happen exactly?
enp1s0is a wired interface?