aboutsummaryrefslogtreecommitdiffstats
path: root/pingu.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-20 15:39:18 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-20 15:41:27 +0200
commit8a091a690faa26da004e3b05bfc96f5602032c62 (patch)
tree46e511903346e7caa8ad3ddb12604dc07f1f9216 /pingu.conf
parentd1cac9d7be97e7c6ae8d28047c4a3e59a7929db1 (diff)
downloadpingu-8a091a690faa26da004e3b05bfc96f5602032c62.tar.bz2
pingu-8a091a690faa26da004e3b05bfc96f5602032c62.tar.xz
pingu.conf: add example for 'ping' keyword in interface context
Diffstat (limited to 'pingu.conf')
-rw-r--r--pingu.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/pingu.conf b/pingu.conf
index b355b2b..776dbf0 100644
--- a/pingu.conf
+++ b/pingu.conf
@@ -15,7 +15,7 @@ interface eth1 {
# define a route table to use. If unset it will be picked auto.
# Setting this to 0 means do not manage routes for this interface
# route-table 10
-
+
# define the rule priority for policy routing
rule-priority 20000
@@ -27,6 +27,13 @@ interface eth1 {
# execute action when gateway goes down
# gateway-down-action echo "ISP via eth1 is OFFLINE"
+
+ # shorthand for setting up a ping host. this is equivalent to define
+ # a host and bind it to this interface:
+ # host 8.8.4.4 {
+ # bind-interface eth1
+ # }
+ ping 8.8.4.4
}
interface dummy0 {