修改网卡配置
vim /etc/sysconfig/network-scripts/ifcfg-xxx
service network restart
无ifconfig解决方法:
Centos:
yum provides ifconfig
yum whatprovides ifconfig
Ubuntu:
apt-get update
apt install net-tools # ifconfig
apt install iputils-ping # ping
vim /etc/sysconfig/network-scripts/ifcfg-xxx
service network restart
yum provides ifconfig
yum whatprovides ifconfig
apt-get update
apt install net-tools # ifconfig
apt install iputils-ping # ping
本文标题:网卡相关配置
本文链接:https://www.haomeiwen.com/subject/sjdxyqtx.html
网友评论