环境:

虚拟机:Vmware Workstation Pro 15.5

安装系统:CentOS-7-x86_64-DVD-1511

网络适配器:NAT模式

现象:

Vmware 新装centos7 ping 百度 出现 unknow host

 

 解决问题:

步骤一:

cd /etc/sysconfig/network-scrips/

步骤二: 

vim ifcfg-enxxxxxx,修改ONBOOT的值

ONBOOT=yes的意思是是否激活网卡,激活后就可以连接到外网了

Vmware 新装centos7 ping 百度 出现 unknow host

 

步骤三:重启网卡

service network restart 

 

相关文章:

  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-11-21
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-08-29
  • 2021-09-10
  • 2021-08-03
  • 2021-04-21
  • 2021-04-27
  • 2021-08-08
相关资源
相似解决方案