linux 静态IP配置[does not seem to be present]
step1:更改ifcfg-ethX
vi /etc/sysconfig/network-scripts/ifcfg-eth0

更改内容:
BOOTPROTO=static #DHCP服务 static启用静态IP地址,dhcp开启、none禁止
IPADDER=192.168.10.44 #IP地址设置
NETMASK=255.255.255.0 #子网掩码
GATEWAY=192.168.10.255 #网关设置
#注意删除UUID
step2:重启网络服务
service network restart

【Q】does not seem to be present
解决办法:删除70-persistent-net.rules后reboot重启
rm -rf /etc/udev/rules.d/70-persistent-net.rules

浙公网安备 33010602011771号