1.实现虚拟机访问外部网络

centos7双卡网络设置

2.实现虚拟机之间的相互访问

centos7双卡网络设置

此时用xshell连接centos7

ifconfig 查看网络地址:

centos7双卡网络设置

enp0s3为访问外部网络地址;enp0s8为主机与虚拟机访问使用的地址。

centos7双卡网络设置

相关文章: