recurring kron commands

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2011 10:39 AM - edited 03-04-2019 12:36 PM
I want to have one of my routers send out a ping every 5 minutes or so, what's the best way to automate that? I'm looking at the kron scheduler now and I've at least gotten the kron job created but the scheduling is still not where I want it. What I'm after spcificaly is this; ping 10.10.1.12 source 10.10.2.12.
Maybe I should be looking at more of an ip sla but I'm not sure I can specify the source address of the pings. This will be going over an ipsec vpn, thanks.
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2011 10:50 AM
You are correct, IP SLA is the right tool
ip sla monitor 1
type echo protocol ipIcmpEcho 10.10.1.12 source-ipaddr 10.10.2.12
frequency 300
ip sla monitor schedule 1 start-time now
