summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2009-12-10 22:08:51 +0000
committerRoy Marples <roy@marples.name>2009-12-10 22:08:51 +0000
commit12af86395ff3726789f72e96aa1367e2e428b972 (patch)
treeab0b28bfcb0f4ea390f022ac435f8253653a277c /conf.d
parent5b3e5edda2d3cf114e298d8eb6eeb40f3b94b623 (diff)
downloadopenrc-12af86395ff3726789f72e96aa1367e2e428b972.tar.gz
openrc-12af86395ff3726789f72e96aa1367e2e428b972.tar.bz2
openrc-12af86395ff3726789f72e96aa1367e2e428b972.tar.xz
Allow ip to add the default route.
Fixes #211.
Diffstat (limited to 'conf.d')
-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 1b6d121..b945a7b 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"
+# You can also use ip to add the default route.
+#defaultiproute="192.168.0.1"
+
# ip doesn't handle MTU like ifconfig, but we can do it like so
#ifup_eth0="ip link set \$int mtu 1500"