Ethernet
-
[Ubuntu 18.04] Wireless, Wired의 인터넷 연결 우선순위 변경Study/Linux 2020. 3. 16. 23:33
Install ifmetric $ sudo apt install ifmetric Print metrics usind route $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.0 0.0.0.0 UG 100 0 0 eth0 0.0.0.0 192.168.1.0 0.0.0.0 UG 600 0 0 wlan0 Set lower metric on wlan0 $ sudo ifmetric wlan0 60 Check routing table $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric R..