# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# Ensure slave interfaces have no configuration
auto eno1
iface eno1 inet manual
bond-master bond0
auto eno2
iface eno2 inet manual
bond-master bond0
auto eno3
iface eno3 inet manual
bond-master bond0
auto eno4
iface eno4 inet manual
bond-master bond0
# Bond master configuration
auto bond0
iface bond0 inet manual
# address 192.168.178.52
# netmask 255.255.255.0
# gateway 192.168.178.1
# dns-nameservers 8.8.8.8
# dns-nameservers 1.1.1.1
# Bond options
bond-slaves eno1 eno2 eno3 eno4
bond-mode 5
bond-miimon 200
bond-primary eno1
# Create bridge on Bonding bond0
auto br0
iface br0 inet static
address 192.168.178.52
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 8.8.8.8
dns-nameservers 1.1.1.1
# If the resolvconf package is installed, you should not edit
# the resolv.conf configuration file manually. Set name server here
#dns-nameservers 192.168.2.254
# If you have muliple interfaces such as eth0 and eth1
# bridge_ports eth0 eth1
bridge_ports bond0
bridge_stp off # disable Spanning Tree Protocol
bridge_waitport 0 # no delay before a port becomes available
bridge_fd 0 # no forwarding delay
Created
July 27, 2026 16:24
-
-
Save AysadKozanoglu/c5e0f72f254da8a54e7c70f47ff6b6fd to your computer and use it in GitHub Desktop.
debian 12 bookworm bonding mode 5 with bridge
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment