连接网路与Xshell
cd /etc/sysconfig/network-scripts/
[[email protected] network-scripts]# vim ifcfg-ens33

ONBOOT是指明在系dao统启动时是否**网卡
设置静态IP 注意与虚拟网络编辑器中的 IP段对段、网关对应

ONBOOT=yes(相当于启动这个网卡的开关,表示开)
CentOS7 连接网路与连接Xshell
CentOS7 连接网路与连接Xshell

设置完成后进行重新启动 网络服务:service network restart 进行连接。网关IP(G) :192.168.247.2(不要设置成:192.168.247.1因为这个问题纠结了30分钟)

相关文章:

  • 2021-12-17
  • 2021-06-10
  • 2022-12-23
  • 2021-05-05
  • 2021-11-12
  • 2017-12-03
  • 2021-05-27
  • 2022-02-06
猜你喜欢
  • 2021-04-21
  • 2022-03-01
  • 2022-12-23
  • 2021-08-29
  • 2021-07-27
  • 2021-05-13
  • 2021-11-16
相关资源
相似解决方案