summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-10-15 20:20:36 +0100
committerRoy Marples <roy@marples.name>2009-10-15 20:20:36 +0100
commitfdca530d4fe159e086ca0ac1d6e4f188ddcc3fad (patch)
tree061dac4c6ea9588c313eda28949a3d74fe5f460e
parentda08e3822fda548e39473b6ad4e5c18c55ca7bc0 (diff)
downloadopenrc-fdca530d4fe159e086ca0ac1d6e4f188ddcc3fad.tar.gz
openrc-fdca530d4fe159e086ca0ac1d6e4f188ddcc3fad.tar.bz2
openrc-fdca530d4fe159e086ca0ac1d6e4f188ddcc3fad.tar.xz
Address iproute2 mtu.
-rw-r--r--conf.d/network.Linux3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.d/network.Linux b/conf.d/network.Linux
index f7b796a..1b6d121 100644
--- a/conf.d/network.Linux
+++ b/conf.d/network.Linux
@@ -3,6 +3,9 @@
# On the other hand, ip (iproute2) is quite powerful and is also supported
#ip_eth0="192.168.0.10/24; 192.168.10.10/24"
+# ip doesn't handle MTU like ifconfig, but we can do it like so
+#ifup_eth0="ip link set \$int mtu 1500"
+
# Create a bonded interface
#interfaces="bond0"
#ifup_bond0="modprobe bonding; ifconfig \$int up; ifenslave \$int bge0"