Linux CentOS 7

Vmware 为Nat模式 可以直接使用物理机网络(如果不行则centos的网段改为物理机同一网段)

在连接Xshell 5 时需将
防火墙关闭:service iptables stop
永久关闭防火墙:chkconfig iptables off

VMware的网络模式改为桥接 重启centos service network restart

网络配置路径:vi /etc/sysconfig/network-scripts/ifcfg-enXXX

猜你喜欢

转载自blog.csdn.net/weixin_42557264/article/details/84196288