1.创建网桥
sudo brctl addr br0(网桥名称)
2.brctl: command not found
yum install cunctl bridge-utils
3.设置ip和子网掩码
sudo ifconfig br0(网桥名称) 192.168.31.45 netmask 255.255.255.0(网关)
2024-01-31 10:30:28
sudo brctl addr br0(网桥名称)
yum install cunctl bridge-utils
sudo ifconfig br0(网桥名称) 192.168.31.45 netmask 255.255.255.0(网关)