VBox连接网络

1、设置连接方式

在这里插入图片描述

2、配置网络

下面的是centos8的网络配置

//桥接模式
nmcli connection show
nmcli connection modify enp0s3  connection.autoconnect yes  ipv4.method auto
nmcli connection up enp0s3 //重启网络

猜你喜欢

转载自blog.csdn.net/qq_26884501/article/details/111032411