Edit EoIP remote-address through a script

Good afternoon everyone, I have made a tunnel eoip and one of the routers have dynamic IP Internet, the problem is that every time you change the ip eoip the fall, I newbie script and like me see if I made a hand to Change the remote-address of Eoip through a script


Buenas tardes a todos , tengo hecho un tunel eoip y uno de los routers tiene ip dinamica a internet , el problema es que cada vez que cambia la ip el eoip se cae , soy nuevito en scripts y me gustraria ver si me hechan una mano para cambiar el remote-address del Eoip por medio de un script

hm… what about pptp from dynamic to static ip?

I will try, thanks