Community discussions

MikroTik App
 
mikechale
just joined
Topic Author
Posts: 11
Joined: Tue Apr 25, 2017 2:32 am

PPPoe reconnect script?

Fri May 26, 2017 2:27 am

Please help me, I want the mikrotik router PPPoe to reconnect (disconnect/connect) every day to obtain new ip address in internet...
Can somebody show me a script for? may use a scheduler?
 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: PPPoe reconnect script?

Fri May 26, 2017 11:41 am

You can use a scheduler to run once at day with this script

/interface pppoe-client disable pppoe-client-WAN
:delay 2s
/interface pppoe-client enable pppoe-client-WAN

where "pppoe-client-WAN" is your client interface name
Regards.

Who is online

Users browsing this forum: No registered users and 25 guests