summaryrefslogtreecommitdiff
path: root/conf.d/network.Linux
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2009-12-19 08:03:35 +0000
committerRoy Marples <roy@marples.name>2009-12-19 08:03:35 +0000
commit2c0a71172d06a9d1e737c775fc40c3989e959902 (patch)
treec43168c15b7e1fe913cc6b972d558e20ba02f5ed /conf.d/network.Linux
parentcbafcd078df7a9f48abba949f312625e0d68fb43 (diff)
downloadopenrc-2c0a71172d06a9d1e737c775fc40c3989e959902.tar.gz
openrc-2c0a71172d06a9d1e737c775fc40c3989e959902.tar.bz2
openrc-2c0a71172d06a9d1e737c775fc40c3989e959902.tar.xz
default route commands on Linux now require gw or via (iproute2).
Diffstat (limited to 'conf.d/network.Linux')
-rw-r--r--conf.d/network.Linux9
1 files changed, 7 insertions, 2 deletions
diff --git a/conf.d/network.Linux b/conf.d/network.Linux
index bda4ac0..f57ec91 100644
--- a/conf.d/network.Linux
+++ b/conf.d/network.Linux
@@ -1,11 +1,16 @@
+
+# You can assign a default route
+#defaultroute="gw 192.168.0.1"
+#defaultroute6="gw 2001:a:b:c"
+
# ifconfig under Linux is not that powerful and doesn't easily handle
# multiple addresses
# 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"
-#defaultiproute6="2001:a:b:c"
+#defaultiproute="via 192.168.0.1"
+#defaultiproute6="via 2001:a:b:c"
# ip doesn't handle MTU like ifconfig, but we can do it like so
#ifup_eth0="ip link set \$int mtu 1500"