2024-04-26

network metric priority



1. 변경할 인터페이스
2. 그것의 gateway와 metric값 취득
3. 변경.(nmcli변경후 재부팅 또는 ip명령으로 기존값 제거)

nmcli con mod <con> ipv4.route-metric <new value>
ip route del default via <gateway ip> metric <old value>

nmcli con mod eth0 ipv4.route-metric 102
ip route del default via 192.168.222.1 metric 100

댓글 없음:

댓글 쓰기

How to Convert EUC-KR Source Code to UTF-8

How to Convert EUC-KR Source Code to UTF-8 I found old STM32 firmware code. The files were in EUC-KR encoding. This is an old Korean text f...