Differences between version 6 and previous revision of FailoverInternetConnection.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Wednesday, January 12, 2005 12:18:47 am | by EeroVolotinen | Revert |
Older page: | version 5 | Last edited on Wednesday, January 12, 2005 12:18:07 am | by EeroVolotinen | Revert |
@@ -101,9 +101,9 @@
If this is correct I only need to set 2 gateway cards and enter something like that:
# route add default gw 192.168.1.2 dev eth0 metric 0
# route add default gw 192.168.2.2 dev eth1 metric 10
-# echo 300 > /proc/sys/net/ipv4/route/gc_timeout sysctl net.ipv4.route.gc_timeout = 300
+# echo 300 > /proc/sys/net/ipv4/route/gc_timeout or
sysctl net.ipv4.route.gc_timeout = 300
Usually best way is to put sysctl settings to /etc/sysctl.conf
and kernel automagically monitors lines and uses better? I haven't tested this not yet, but