centos7 桥接配置

cd /etc/sysconfig/network-scripts/

名字可能各不同,一般出现在第一个位置

vim ifcfg-ens33

然后重启

systemctl restart network.service     重启network

nmcli connection show  显示当前连接的网

猜你喜欢

转载自www.cnblogs.com/liuq1991/p/9034956.html