Hi!
I need dynamical manipulation of ip static - checking link to some peer (if no ping, change peer)
for example, I have web server on 192.168.1.2
Router check ping every minute (cron?)
if ping fails, i need to reconfigure port forwarding (no ip static tcp ... , ip static tcp ..)
My question:
1. Is it possible to use cron (or some else) to run my shell script periodically?
2. How to call CLI configuration commands from Shell script?