diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-20 15:39:18 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-20 15:41:27 +0200 |
commit | 8a091a690faa26da004e3b05bfc96f5602032c62 (patch) | |
tree | 46e511903346e7caa8ad3ddb12604dc07f1f9216 | |
parent | d1cac9d7be97e7c6ae8d28047c4a3e59a7929db1 (diff) | |
download | pingu-8a091a690faa26da004e3b05bfc96f5602032c62.tar.bz2 pingu-8a091a690faa26da004e3b05bfc96f5602032c62.tar.xz |
pingu.conf: add example for 'ping' keyword in interface context
-rw-r--r-- | pingu.conf | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 { |