Centos7如何固定IP,连接上Xshell

Centos7装了之后怎么固定IP?

IP怎么和掩码对应?

找出自己现实中的IP的作用是什么?

怎么关闭防火墙?

你可以看我的博客:

1 VM虚拟机 Centos7设置静态IP和NAT访问:https://blog.csdn.net/qq_15769939/article/details/112848700

2 VM虚拟机 Centos7在NAT模式下访问互联网:https://blog.csdn.net/qq_15769939/article/details/113248317

3 CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

    停止firewall

    systemctl stop firewalld.service
    

      禁止firewall开机启动

      systemctl disable firewalld.service