I'm relatively new to RouterOS and in preparation of switching to FTTH end of this year I recently switched from my DSL providers "AVM FritzBox" to a nice Mikrotik hEX S. The old AVM FritzBox is configured to allow PPOE passthrough (to act as a kind of DSL modem) and Mikrotik now does all the PPPOE connection and routing stuff. DSL Provider is 1&1 here in Germany.
All works quite well... internet connectivity, firewall, portforwarding, ... except the PPPE reconnect script that runs every night.
The problem is: It reconnects every night, but not every night the internet conectivity is back after PPPOE is connected...
My reconnect script:
Code: Select all
:log info "PPPOEreconnect: starting disconnect"
/interface pppoe-client disable [find name="pppoe-out1"]
:log info "PPPOEreconnect: waiting ..."
:delay 10
:log info "PPPOEreconnect: starting connect"
/interface pppoe-client enable [find name="pppoe-out1"]
The log from this night where the internet connectivity was not given after reconnect:
After the reconnect you see my dynamic dns update script trying to send an update with the new IP (anonymized it with 'xxx').Mar 27 03:00:00 router.lan script,info PPPOEreconnect: starting disconnect
Mar 27 03:00:00 router.lan pppoe,ppp,info pppoe-out1: terminating... - administrator request
Mar 27 03:00:00 router.lan pppoe,ppp,info pppoe-out1: disabled
Mar 27 03:00:00 router.lan system,info device changed by admin
Mar 27 03:00:00 router.lan script,info PPPOEreconnect: waiting ...
Mar 27 03:00:10 router.lan script,info PPPOEreconnect: starting connect
Mar 27 03:00:11 router.lan pppoe,ppp,info pppoe-out1: initializing...
Mar 27 03:00:11 router.lan pppoe,ppp,info pppoe-out1: connecting...
Mar 27 03:00:11 router.lan system,info device changed by admin
Mar 27 03:00:11 router.lan pppoe,ppp,info pppoe-out1: authenticated
Mar 27 03:00:11 router.lan pppoe,ppp,info pppoe-out1: connected
Mar 27 03:00:11 router.lan interface,info pppoe-out1 detect UNKNOWN
Mar 27 03:00:17 router.lan interface,info pppoe-out1 detect INTERNET
Mar 27 03:00:24 router.lan script,info DDNS: IP-DDNS = 93.222.86.xxx
Mar 27 03:00:24 router.lan script,info DDNS: IP-Curent = 93.197.209.xx
Mar 27 03:00:24 router.lan script,info DDNS: Update IP needed, Sending UPDATE...!
The DDNS script fails sending the update every time. But PPPOE claims it has a new IP and that it is connected.
I'm a bit lost now. Rebooting the whole router fixes the problem. But that's only a temporary solution.
I currently have no idea what happend and why I cannot send any packet to the internet. Even a simple ping to a known IP (1.1.1.1 f.i.) is not working.
What puzzles me most: It's just an disable/pause/enable of the PPPOE connection ... So how and why should it break... sometimes?!
I created an supout.rif before doing the reboot (if that helps?!).
Can anyone give me a hint on what could be wrong?
br,
Alex