From 8a091a690faa26da004e3b05bfc96f5602032c62 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 20 Aug 2013 15:39:18 +0200 Subject: pingu.conf: add example for 'ping' keyword in interface context --- pingu.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3