本地连接虚拟机linuxhttps://www.cnblogs.com/linjiaxin/p/6476480.html注意:如果我们想要虚拟机也能访问到外网,那么,我们就使用桥接模式,然后网关地址设置为和本地一致。