brctl addbr br0
ifconfig br0 192.168.2.20 netmask255.255.255.0
brctl stp br0 off
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig br0 up
route add default gw 192.168.2.1
ifconfig eth0 0.0.0.0 up
ifconfig wlan0 0.0.0.0 up
Linux-brctl-bridge-utils桥接
发布时间 2023-11-09 17:06:23作者: starc再起航