解决Xshell无法连接虚拟机CentOS7问题
[root@localhost ~]# nmcli device connect ens33[root@localhost ~]# nmcli connection modify ens33 ipv4.addresses 192.168.91.32 ipv4.gateway 192.168.91.2 ipv4.dns 8.8.8.8 ipv4.method manual[root@local...
·
[root@localhost ~]# nmcli device connect ens33
[root@localhost ~]# nmcli connection modify ens33 ipv4.addresses 192.168.91.32 ipv4.gateway 192.168.91.2 ipv4.dns 8.8.8.8 ipv4.method manual
[root@localhost ~]# systemctl restart network
[root@localhost ~]# nmcli device connect ens33
出现下列问题。无法使用xshell进行连接
[root@localhost ~]# systemctl restart sshd
[root@localhost ~]# systemctl restart network
[root@localhost ~]# nmcli device connect ens33
还有一种可能,子网掩码不一致
nmcli connection mod ens33 ipv4.address 192.168.91.32/24
进行子网掩码设置
更多推荐
已为社区贡献1条内容
所有评论(0)