1 虚拟机设置NAT模式
linux centos 7.4 配置静态 ip
2 配置网卡文件
linux centos 7.4 配置静态 ip

  • 路径: /etc/sysconfig/network-scripts/ifcfg-ens33
  • 配置内容:

3 重启网络服务:

  • service network restart

4 使用命令 ip addr 查看是否修改成功

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-10-20
  • 2021-05-06
猜你喜欢
  • 2021-08-26
  • 2021-05-25
  • 2021-12-17
  • 2021-04-01
  • 2021-08-23
相关资源
相似解决方案