Debian配置Linux Bridge
$ apt install bridge-utils
$ brctl addbr br0
/etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp1s0
iface enp1s0 inet manual
allow-hotplug enp2s0
iface enp2s0 inet manual
allow-hotplug enp3s0
iface enp3s0 inet manual
allow-hotplug enp4s0
iface enp4s0 inet manual
auto br0
iface br0 inet static
bridge_ports enp1s0 enp2s0 enp3s0 enp4s0
address 192.168.0.10/24
gateway 192.168.0.1
https://wiki.debian.org/BridgeNetworkConnections
发表于 2020-08-30 19:26:45 并被添加「」标签,阅读量: 922 。
此处评论已关闭