I am very happy with my new MikroTik RB4011iGS+RM, I have only one problem that I can't figure out how to solve.
I live in Italy, and I have an FTTH connection with Open Fiber, so the fiber cable comes to my home, it's terminated, through a patch cable it's connected to an ONT (Nokia), and then goes straight to the MikroTik ether1-port via standard ethernet cable.
The provider gave me three parameters in order to set up the internet connection, and they are username, password and VLAN ID, because the connection coming from the ONT is tagged.
I have created the VLAN item, and then the pppoe-client item.
Code: Select all
/interface vlan
add interface=ether1 name=vlan-openfiber vlan-id=835
/interface pppoe-client
add add-default-route=yes disabled=no interface=vlan-openfiber name=pppoe-bbbell password=XXXXX user=YYYYY
My gigabit connection works like a charm, but the problem is that, when I unplug and then re-plug ethernet cable connecting ONT to Mikrotik-ether1 or (properly, via Winbox) reboot/shutdown the router, the connection won't work again. Even when I update the firmware, after the reboot same problem.
To work around this problem, now, after I reboot and so I don't have a working internet connection, I export the configuration (/export file=monday), then I reset (through Winbox System > Reset configuration without default configuration), and then I import the previous configuration (/import file-name=monday.rsc).
Everything will start to work again, but I want to understand why this problem occurs and how to avoid it.
When I unplug the internet cable without powering off / rebooting, this is the log:
Code: Select all
10:30:53 interface,info ether1 link down # unplug ether1
10:30:53 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:30:53 pppoe,ppp,info pppoe-bbbell: disconnected
10:30:53 pppoe,ppp,info pppoe-bbbell: initializing...
10:30:53 pppoe,ppp,info pppoe-bbbell: connecting...
10:30:53 pppoe,ppp,info pppoe-bbbell: terminating...
10:30:53 pppoe,ppp,info pppoe-bbbell: disconnected
10:30:53 pppoe,ppp,info pppoe-bbbell: initializing...
10:30:53 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:03 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:03 pppoe,ppp,info pppoe-bbbell: disconnected
10:31:03 pppoe,ppp,info pppoe-bbbell: initializing...
10:31:03 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:13 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:13 pppoe,ppp,info pppoe-bbbell: disconnected
10:31:13 pppoe,ppp,info pppoe-bbbell: initializing...
10:31:13 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:23 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:23 pppoe,ppp,info pppoe-bbbell: disconnected
10:31:24 pppoe,ppp,info pppoe-bbbell: initializing...
10:31:24 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:34 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:34 pppoe,ppp,info pppoe-bbbell: disconnected
10:31:35 pppoe,ppp,info pppoe-bbbell: initializing...
10:31:35 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:44 system,info,account user admin logged in from 192.168.20.20 via winbox # login via Inbox
10:31:45 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:45 pppoe,ppp,info pppoe-bbbell: disconnected
10:31:46 system,info,account user admin logged in from 192.168.20.20 via telnet # open terminal to test ping to 1.1.1.1
10:31:48 pppoe,ppp,info pppoe-bbbell: initializing...
10:31:48 pppoe,ppp,info pppoe-bbbell: connecting...
10:31:59 pppoe,ppp,info pppoe-bbbell: terminating... - disconnected
10:31:59 pppoe,ppp,info pppoe-bbbell: disconnected
10:32:03 interface,info ether1 link up (speed 1G, full duplex) # re-plug ether1
10:32:05 pppoe,ppp,info pppoe-bbbell: initializing...
10:32:05 pppoe,ppp,info pppoe-bbbell: connecting...
10:32:05 pppoe,ppp,info pppoe-bbbell: authenticated # router can reach pppoe-server and authenticate
10:32:43 pppoe,ppp,info pppoe-bbbell: terminating...
10:32:43 pppoe,ppp,info pppoe-bbbell: disconnected
10:32:43 pppoe,ppp,info pppoe-bbbell: initializing...
10:32:43 pppoe,ppp,info pppoe-bbbell: connecting...
10:32:43 pppoe,ppp,info pppoe-bbbell: authenticated
10:33:44 pppoe,ppp,info pppoe-bbbell: terminating...
10:33:44 pppoe,ppp,info pppoe-bbbell: disconnected
10:33:44 pppoe,ppp,info pppoe-bbbell: initializing...
10:33:44 pppoe,ppp,info pppoe-bbbell: connecting...
10:33:44 pppoe,ppp,info pppoe-bbbell: authenticated
10:34:44 pppoe,ppp,info pppoe-bbbell: terminating...
10:34:44 pppoe,ppp,info pppoe-bbbell: disconnected
10:34:44 pppoe,ppp,info pppoe-bbbell: initializing...
10:34:44 pppoe,ppp,info pppoe-bbbell: connecting...
10:34:44 pppoe,ppp,info pppoe-bbbell: authenticated
There you are screenshot from VLAN item and PPPoE item => https://imgur.com/a/rSblRon
The only thing that changes, is the Status in the pppoe-client item. When everything is working it says Status: connected, after I reboot [and internet does not working] it says Status: link established.
I really hope to solve this unfortunate problem.
Thanks in advance and have a nice day! :)