步骤一:

虚拟机中的网络设置配置为桥接模式:

vmware 下centos7配置网络

步骤二:

注:本人配置的为非静态IP,ip为自动获取

vi /etc/sysconfig/network-scripts/ifcfg-eth0

配置内容如下:

TYPE=Ethernet
BOOTPROTO=dhcp
ONBOOT=yes

步骤三:

重启 service network restart

 

问题集锦:

1、 查看IP时报错:ifconfig command not found

  参考资料:https://my.oschina.net/u/1428349/blog/288708

为防止链接失效特截图留档:

vmware 下centos7配置网络 

 

相关文章:

  • 2021-06-02
  • 2021-12-07
  • 2021-04-02
  • 2021-05-08
  • 2021-08-14
  • 2021-07-23
  • 2021-06-16
  • 2021-08-19
猜你喜欢
  • 2021-04-15
  • 2021-06-28
  • 2022-12-23
  • 2021-11-19
  • 2022-01-12
  • 2021-11-19
  • 2021-06-15
相关资源
相似解决方案