Ubuntu linux, ifconfig指令,輸出欄位介紹
Jan 16, 2023
以上圖稍微介紹各個欄位。
前面為每個interfiace界面的代號。不同代號代表不同意思,這邊只介紹上圖。
lo 代表loopback device,也就是自己,每個人電腦上都有,固定都是127.0.0.1,所以當你架設自己的網路伺服器,你就可以透過127.0.0.1來使用(常見的localhost就是這個)。What does eno1 and lo mean
wlo1則是wirless network interface,因為上圖是用wifi連接網路,所以會有無限網路相關的interface。
flags代表此網卡相關屬性,舉例來說UP是代表這個interface會被開啟,當這個address在被設定時。(The interface is up. This flag is turned on when an address has been configured on the interface.) 詳情請看document。
mtu: 最大可以傳輸的單位。
…