VMWare虚拟机IP变成127.0.0.1怎么办

版权声明:小妖666个人笔记 https://blog.csdn.net/weixin_38883338/article/details/86321488

输入命令:dhclient -v即可

如果还不好使,可以试试下面的方法

(Cnetos7)打配置文件

vim /etc/sysconfig/network-scripts/ifcfg-ens33

打开配置文件找到ONBOOT=no 要改为ONBOOT=yes 默认是ONBOOT=no,它打意思是:是否随网络服务启动,eth0生效,如果为no,则ifconfig看不到eth0
 

猜你喜欢

转载自blog.csdn.net/weixin_38883338/article/details/86321488