設置網卡IP地址-ifconfig和ip命令

本文中,實驗用的網卡編號是ens37 通過ifconfig命令配置 ifconfig是net-tools中的一個工具,目前已經廢棄,不在維護了。 所以要使用ifconfig,Linux需要安裝net-tools 配置命令 查看IP地址 ifconfig 臨時修改IP地址 ifconfig eth0 192.168.1.1 netmask 255.255.0.0 ifconfig eth0 192.
相關文章
相關標籤/搜索