sudo apt install brctl-utils
sudo /etc/init.d/networing stop
brctl addbr br0
vim /etc/networkinterface
auto br0
iface br0 inet static
address 192.168.32.46
netmask 255.255.255.0
gateway 192.168.32.1
brctl_ports enps0 #您的网卡名
bridge_stp on
bridge_fd 0
sudo ifconfig br0 up
sudo /etc/init.d/networing start