summaryrefslogtreecommitdiff
path: root/package/base-files/files/interfaces-dhcp
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-05 01:18:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:43 +0100
commita48246503550dfb7d818b110432f13334e211659 (patch)
tree9c068ea033d05837391cbf1719242614de0c36a4 /package/base-files/files/interfaces-dhcp
parent23f8ed031ddd26cc8b7b84cb7f0e72448c17802b (diff)
package: base-files: Add bonding support to network scripts
Also add a sample LACP configuration and while being at it, fix the documentation URL. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/base-files/files/interfaces-dhcp')
-rw-r--r--package/base-files/files/interfaces-dhcp11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/base-files/files/interfaces-dhcp b/package/base-files/files/interfaces-dhcp
index 11174c152..652101214 100644
--- a/package/base-files/files/interfaces-dhcp
+++ b/package/base-files/files/interfaces-dhcp
@@ -22,6 +22,15 @@ iface eth0 inet dhcp
# bridge-ports eth0 eth1
##
+## LACP configuration
+#auto lacp0
+#iface lacp0 inet dhcp
+# bond-ports eth0 eth1
+# bond-mode 802.3ad
+# bond-miimon 100
+# bond-lacp-rate slow
+# bond-xmit-hash-policy layer2+3
+
## pppoe configuration
#auto ppp0
#iface ppp0 inet ppp
@@ -55,4 +64,4 @@ iface eth0 inet dhcp
# wireless-passphrase xxxxxxxx
##
-# for more special cases see: http://www.openadk.org/doku.php?id=network
+# for more special cases see: https://docs.openadk.org/html/manual.html#network-configuration