develog

[Ubuntu 20.04] route metric 설정 본문

카테고리 없음

[Ubuntu 20.04] route metric 설정

냐옴 2022. 6. 20. 17:16

 

$ sudo vi /etc/netplan/00-installer-config.yaml

 

gateway4 를 입력하면 metric 이 0으로 지정되서 주석처리한다

routes 항목에서 default gateway 의 metric 을 별도로 지정한다

 

route 내역을 확인한다

 

https://varun2-6.medium.com/ubuntu-20-04-a-short-guide-to-network-routes-and-metrics-df096a7d3ba

 

Ubuntu 20.04 — A short guide to network routes and metrics

Setting static IP’s on Ubuntu based systems can be tricky. Especially if there are multiple interfaces involved. Here is a short guide to…

varun2-6.medium.com

 

Comments