Community discussions

MikroTik App
 
NickM
just joined
Topic Author
Posts: 1
Joined: Mon Apr 24, 2017 6:30 am

Frequent PPPoE terminations

Mon Apr 24, 2017 6:48 am

Hi,
I have a broadband connection that connects with PPPoE. The connection works most of the time, but will sometimes terminate, disconnect, initialise and reconnect in a loop for a short period.
I am using a RB750Gr3 with RouterOS v6.37.3.
/ interface pppoe-client print
Flags: X - disabled, R - running 
 0  R name="pppoe1" max-mtu=auto max-mru=auto mrru=disabled interface=ether1 
      user="xxxx" password="xxxx" profile=default keepalive-timeout=60 
      service-name="internet" ac-name="" add-default-route=no dial-on-demand=no use-peer-dns=no 
      allow=pap,chap,mschap1,mschap2

Example log:
(Not the whole log for this particular occurrence. This one lasted ~5 minutes)
mar/08 21:19:21 pppoe,ppp,info pppoe1: disconnected 
mar/08 21:19:31 pppoe,ppp,info pppoe1: initializing... 
mar/08 21:19:31 pppoe,ppp,info pppoe1: connecting... 
mar/08 21:19:41 pppoe,ppp,info pppoe1: terminating... - disconnected 
mar/08 21:19:41 pppoe,ppp,info pppoe1: disconnected 
mar/08 21:19:51 pppoe,ppp,info pppoe1: initializing... 
mar/08 21:19:51 pppoe,ppp,info pppoe1: connecting... 
mar/08 21:20:01 pppoe,ppp,info pppoe1: terminating... - disconnected 
mar/08 21:20:01 pppoe,ppp,info pppoe1: disconnected 
mar/08 21:20:11 pppoe,ppp,info pppoe1: initializing... 
mar/08 21:20:11 pppoe,ppp,info pppoe1: connecting... 
mar/08 21:20:22 pppoe,ppp,info pppoe1: terminating... - disconnected 
mar/08 21:20:22 pppoe,ppp,info pppoe1: disconnected 
mar/08 21:20:32 pppoe,ppp,info pppoe1: initializing... 
mar/08 21:20:32 pppoe,ppp,info pppoe1: connecting... 
mar/08 21:20:33 pppoe,ppp,info pppoe1: authenticated 
mar/08 21:20:33 pppoe,ppp,info pppoe1: connected
Please let me know if more information is required.
Thanks.
Last edited by NickM on Wed Apr 26, 2017 4:34 am, edited 1 time in total.
 
User avatar
mlpaul
just joined
Posts: 21
Joined: Thu Apr 20, 2017 11:02 pm
Location: Ohio, United States

Re: Frequent PPPoE terminations

Mon Apr 24, 2017 6:06 pm

I'm having this same exact issue, where the log just fills with those errors. I believe the issue is on the service provider's end, (in your case, where ever you are trying to log into). Check the connectivity on the other end of the pppoe connection to see if that is occasionally losing internet connectivity.
 
biatche
Member Candidate
Member Candidate
Posts: 128
Joined: Tue Oct 13, 2015 6:50 am

Re: Frequent PPPoE terminations

Sun Jun 25, 2017 7:59 pm

im facing this issue also.
 
maheshv
just joined
Posts: 1
Joined: Sun Jul 02, 2017 5:11 am

Re: Frequent PPPoE terminations

Sun Jul 02, 2017 5:22 am

Having same issue as well. Can someone please confirm if issue was resolved by ISP? I have raised this with my ISP and my issue is currently under investigation. It would be great if someone can please confirm.
 
User avatar
inteq
Member
Member
Posts: 429
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Frequent PPPoE terminations

Sat Mar 02, 2019 12:33 am

This topic was the 1st result so posting here.

In the same boat with my RB1100AHx4 Dude using PPPoE.
Randomly, after a clean reboot or firmware upgrade, the PPPoE connection will loop forever.
The only fix is to reboot again or disable/enable the interface connecting to the GPON.
I have never experienced such problems with any prior routers in this location. Plenty Asus routers and X86 PFSense/IPFire machines.
I let it for 10 minutes last time it happened. No luck.
I had to disable ether1 and enable it back. Instant PPPoE connection.
[admin@RB1100AHx4] > /log print
mar/02 00:11:50 system,info router rebooted 
mar/02 00:11:54 pppoe,ppp,info RDS: initializing... 
mar/02 00:11:54 pppoe,ppp,info RDS: connecting... 
mar/02 00:12:01 pppoe,ppp,info RDS: terminating... 
mar/02 00:12:02 pppoe,ppp,info RDS: disconnected 
mar/02 00:12:02 pppoe,ppp,info RDS: initializing... 
mar/02 00:12:02 pppoe,ppp,info RDS: connecting... 
mar/02 00:12:02 interface,info ether1 link up (speed 1G, full duplex) 
mar/02 00:12:02 interface,info ether2 link up (speed 1G, full duplex) 
mar/02 00:12:02 interface,info ether4 link up (speed 1G, full duplex) 
mar/02 00:12:02 interface,info ether6 link up (speed 100M, full duplex) 
mar/02 00:12:02 script,info Main connection DOWN. Enabling eth12 
mar/02 00:12:02 system,info device changed 
mar/02 00:12:10 interface,info ether12 link up (speed 1G, full duplex) 
mar/02 00:12:11 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:12:11 pppoe,ppp,info RDS: disconnected 
mar/02 00:12:11 pppoe,ppp,info RDS: initializing... 
mar/02 00:12:11 pppoe,ppp,info RDS: connecting... 
mar/02 00:12:11 system,info device changed 
mar/02 00:12:11 script,info Main connection DOWN. Enabling eth12 
mar/02 00:12:47 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:12:47 pppoe,ppp,info RDS: disconnected 
mar/02 00:12:47 system,info device changed 
mar/02 00:12:47 script,info Main connection DOWN. Enabling eth12 
mar/02 00:12:47 pppoe,ppp,info RDS: initializing... 
mar/02 00:12:47 pppoe,ppp,info RDS: connecting... 
mar/02 00:12:57 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:12:57 pppoe,ppp,info RDS: disconnected 
mar/02 00:12:57 system,info device changed 
mar/02 00:12:57 script,info Main connection DOWN. Enabling eth12 
mar/02 00:12:58 pppoe,ppp,info RDS: initializing... 
mar/02 00:12:58 pppoe,ppp,info RDS: connecting... 
mar/02 00:13:08 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:13:08 pppoe,ppp,info RDS: disconnected 
mar/02 00:13:08 system,info device changed 
mar/02 00:13:08 script,info Main connection DOWN. Enabling eth12 
mar/02 00:13:10 pppoe,ppp,info RDS: initializing... 
mar/02 00:13:10 pppoe,ppp,info RDS: connecting... 
mar/02 00:13:20 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:13:20 pppoe,ppp,info RDS: disconnected 
mar/02 00:13:20 system,info device changed 
mar/02 00:13:20 script,info Main connection DOWN. Enabling eth12 
mar/02 00:13:23 pppoe,ppp,info RDS: initializing... 
mar/02 00:13:23 pppoe,ppp,info RDS: connecting... 
mar/02 00:13:33 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:13:33 pppoe,ppp,info RDS: disconnected 
mar/02 00:13:33 system,info device changed 
mar/02 00:13:33 script,info Main connection DOWN. Enabling eth12 
mar/02 00:13:40 pppoe,ppp,info RDS: initializing... 
mar/02 00:13:40 pppoe,ppp,info RDS: connecting... 
mar/02 00:13:50 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:13:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:13:50 system,info device changed 
mar/02 00:13:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:14:00 pppoe,ppp,info RDS: initializing... 
mar/02 00:14:00 pppoe,ppp,info RDS: connecting... 
mar/02 00:14:06 interface,info ether4 link down 
mar/02 00:14:10 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:14:10 pppoe,ppp,info RDS: disconnected 
mar/02 00:14:10 system,info device changed 
mar/02 00:14:10 script,info Main connection DOWN. Enabling eth12 
mar/02 00:14:20 pppoe,ppp,info RDS: initializing... 
mar/02 00:14:20 pppoe,ppp,info RDS: connecting... 
mar/02 00:14:26 interface,info ether4 link down 
mar/02 00:14:30 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:14:30 pppoe,ppp,info RDS: disconnected 
mar/02 00:14:30 system,info device changed 
mar/02 00:14:30 script,info Main connection DOWN. Enabling eth12 
mar/02 00:14:40 pppoe,ppp,info RDS: initializing... 
mar/02 00:14:40 pppoe,ppp,info RDS: connecting... 
mar/02 00:14:50 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:14:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:14:50 system,info device changed 
mar/02 00:14:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:15:00 pppoe,ppp,info RDS: initializing... 
mar/02 00:15:00 pppoe,ppp,info RDS: connecting... 
mar/02 00:15:10 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:15:10 pppoe,ppp,info RDS: disconnected 
mar/02 00:15:10 system,info device changed 
mar/02 00:15:10 script,info Main connection DOWN. Enabling eth12 
mar/02 00:15:20 pppoe,ppp,info RDS: initializing... 
mar/02 00:15:20 pppoe,ppp,info RDS: connecting... 
mar/02 00:15:30 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:15:30 pppoe,ppp,info RDS: disconnected 
mar/02 00:15:30 system,info device changed 
mar/02 00:15:30 script,info Main connection DOWN. Enabling eth12 
mar/02 00:15:40 pppoe,ppp,info RDS: initializing... 
mar/02 00:15:40 pppoe,ppp,info RDS: connecting... 
mar/02 00:15:50 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:15:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:15:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:15:50 system,info device changed 
mar/02 00:16:00 pppoe,ppp,info RDS: initializing... 
mar/02 00:16:00 pppoe,ppp,info RDS: connecting... 
mar/02 00:16:10 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:16:10 pppoe,ppp,info RDS: disconnected 
mar/02 00:16:10 system,info device changed 
mar/02 00:16:10 script,info Main connection DOWN. Enabling eth12 
mar/02 00:16:20 pppoe,ppp,info RDS: initializing... 
mar/02 00:16:20 pppoe,ppp,info RDS: connecting... 
mar/02 00:16:30 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:16:30 pppoe,ppp,info RDS: disconnected 
mar/02 00:16:30 system,info device changed 
mar/02 00:16:30 script,info Main connection DOWN. Enabling eth12 
mar/02 00:16:40 pppoe,ppp,info RDS: initializing... 
mar/02 00:16:40 pppoe,ppp,info RDS: connecting... 
mar/02 00:16:50 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:16:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:16:50 system,info device changed 
mar/02 00:16:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:17:00 pppoe,ppp,info RDS: initializing... 
mar/02 00:17:00 pppoe,ppp,info RDS: connecting... 
mar/02 00:17:10 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:17:10 pppoe,ppp,info RDS: disconnected 
mar/02 00:17:10 system,info device changed 
mar/02 00:17:10 script,info Main connection DOWN. Enabling eth12 
mar/02 00:17:20 pppoe,ppp,info RDS: initializing... 
mar/02 00:17:20 pppoe,ppp,info RDS: connecting... 
mar/02 00:17:30 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:17:30 pppoe,ppp,info RDS: disconnected 
mar/02 00:17:30 script,info Main connection DOWN. Enabling eth12 
mar/02 00:17:30 system,info device changed 
mar/02 00:17:40 pppoe,ppp,info RDS: initializing... 
mar/02 00:17:40 pppoe,ppp,info RDS: connecting... 
mar/02 00:17:50 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:17:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:17:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:17:50 system,info device changed 
mar/02 00:18:00 pppoe,ppp,info RDS: initializing... 
mar/02 00:18:00 pppoe,ppp,info RDS: connecting... 
mar/02 00:18:10 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:18:10 pppoe,ppp,info RDS: disconnected 
mar/02 00:18:10 script,info Main connection DOWN. Enabling eth12 
mar/02 00:18:10 system,info device changed 
mar/02 00:18:20 pppoe,ppp,info RDS: initializing... 
mar/02 00:18:20 pppoe,ppp,info RDS: connecting... 
mar/02 00:18:31 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:18:31 pppoe,ppp,info RDS: disconnected 
mar/02 00:18:31 script,info Main connection DOWN. Enabling eth12 
mar/02 00:18:31 system,info device changed 
mar/02 00:18:41 pppoe,ppp,info RDS: initializing... 
mar/02 00:18:41 pppoe,ppp,info RDS: connecting... 
mar/02 00:18:51 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:18:51 pppoe,ppp,info RDS: disconnected 
mar/02 00:18:51 system,info device changed 
mar/02 00:18:51 script,info Main connection DOWN. Enabling eth12 
mar/02 00:19:01 pppoe,ppp,info RDS: initializing... 
mar/02 00:19:01 pppoe,ppp,info RDS: connecting... 
mar/02 00:19:11 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:19:11 pppoe,ppp,info RDS: disconnected 
mar/02 00:19:11 system,info device changed 
mar/02 00:19:11 script,info Main connection DOWN. Enabling eth12 
mar/02 00:19:21 pppoe,ppp,info RDS: initializing... 
mar/02 00:19:21 pppoe,ppp,info RDS: connecting... 
mar/02 00:19:31 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:19:31 pppoe,ppp,info RDS: disconnected 
mar/02 00:19:31 system,info device changed 
mar/02 00:19:31 script,info Main connection DOWN. Enabling eth12 
mar/02 00:19:34 pppoe,ppp,info RDS: initializing... 
mar/02 00:19:34 pppoe,ppp,info RDS: connecting... 
mar/02 00:19:34 system,info device changed by admin 
mar/02 00:19:44 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:19:44 pppoe,ppp,info RDS: disconnected 
mar/02 00:19:44 pppoe,ppp,info RDS: initializing... 
mar/02 00:19:44 pppoe,ppp,info RDS: connecting... 
mar/02 00:19:44 system,info device changed 
mar/02 00:19:44 script,info Main connection DOWN. Enabling eth12 
mar/02 00:19:54 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:19:54 pppoe,ppp,info RDS: disconnected 
mar/02 00:19:54 system,info device changed 
mar/02 00:19:54 script,info Main connection DOWN. Enabling eth12 
mar/02 00:19:54 pppoe,ppp,info RDS: initializing... 
mar/02 00:19:54 pppoe,ppp,info RDS: connecting... 
mar/02 00:20:04 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:20:04 pppoe,ppp,info RDS: disconnected 
mar/02 00:20:04 system,info device changed 
mar/02 00:20:04 script,info Main connection DOWN. Enabling eth12 
mar/02 00:20:05 pppoe,ppp,info RDS: initializing... 
mar/02 00:20:05 pppoe,ppp,info RDS: connecting... 
mar/02 00:20:14 system,info ppp profile <RDS> changed by admin 
mar/02 00:20:15 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:20:15 pppoe,ppp,info RDS: disconnected 
mar/02 00:20:15 system,info device changed 
mar/02 00:20:15 script,info Main connection DOWN. Enabling eth12 
mar/02 00:20:16 pppoe,ppp,info RDS: initializing... 
mar/02 00:20:16 pppoe,ppp,info RDS: connecting... 
mar/02 00:20:26 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:20:26 pppoe,ppp,info RDS: disconnected 
mar/02 00:20:26 system,info device changed 
mar/02 00:20:26 script,info Main connection DOWN. Enabling eth12 
mar/02 00:20:29 pppoe,ppp,info RDS: initializing... 
mar/02 00:20:29 pppoe,ppp,info RDS: connecting... 
mar/02 00:20:40 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:20:40 pppoe,ppp,info RDS: disconnected 
mar/02 00:20:40 system,info device changed 
mar/02 00:20:40 script,info Main connection DOWN. Enabling eth12 
mar/02 00:20:46 pppoe,ppp,info RDS: initializing... 
mar/02 00:20:46 pppoe,ppp,info RDS: connecting... 
mar/02 00:20:56 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:20:56 pppoe,ppp,info RDS: disconnected 
mar/02 00:20:56 system,info device changed 
mar/02 00:20:56 script,info Main connection DOWN. Enabling eth12 
mar/02 00:21:06 pppoe,ppp,info RDS: initializing... 
mar/02 00:21:06 pppoe,ppp,info RDS: connecting... 
mar/02 00:21:17 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:21:17 pppoe,ppp,info RDS: disconnected 
mar/02 00:21:17 system,info device changed 
mar/02 00:21:17 script,info Main connection DOWN. Enabling eth12 
mar/02 00:21:27 pppoe,ppp,info RDS: initializing... 
mar/02 00:21:27 pppoe,ppp,info RDS: connecting... 
mar/02 00:21:37 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:21:37 pppoe,ppp,info RDS: disconnected 
mar/02 00:21:37 system,info device changed 
mar/02 00:21:37 script,info Main connection DOWN. Enabling eth12 
mar/02 00:21:47 pppoe,ppp,info RDS: initializing... 
mar/02 00:21:47 pppoe,ppp,info RDS: connecting... 
mar/02 00:21:57 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:21:57 pppoe,ppp,info RDS: disconnected 
mar/02 00:21:57 system,info device changed 
mar/02 00:21:57 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:07 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:07 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:17 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:22:17 pppoe,ppp,info RDS: disconnected 
mar/02 00:22:17 system,info device changed 
mar/02 00:22:17 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:27 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:27 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:37 pppoe,ppp,info RDS: terminating... - disconnected 
mar/02 00:22:37 pppoe,ppp,info RDS: disconnected 
mar/02 00:22:37 system,info device changed 
mar/02 00:22:37 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:47 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:47 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:50 interface,info ether1 link down 
mar/02 00:22:50 system,info device changed by admin 
mar/02 00:22:50 pppoe,ppp,info RDS: terminating... 
mar/02 00:22:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:22:50 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:50 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:50 pppoe,ppp,info RDS: terminating... 
mar/02 00:22:50 pppoe,ppp,info RDS: disconnected 
mar/02 00:22:50 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:50 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:50 system,info device changed 
mar/02 00:22:50 system,info device changed 
mar/02 00:22:50 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:51 system,info device changed by admin 
mar/02 00:22:51 pppoe,ppp,info RDS: terminating... 
mar/02 00:22:51 pppoe,ppp,info RDS: disconnected 
mar/02 00:22:51 pppoe,ppp,info RDS: initializing... 
mar/02 00:22:51 pppoe,ppp,info RDS: connecting... 
mar/02 00:22:51 script,info Main connection DOWN. Enabling eth12 
mar/02 00:22:51 system,info device changed 
mar/02 00:22:56 interface,info ether1 link up (speed 1G, full duplex) 
mar/02 00:22:57 pppoe,ppp,info RDS: authenticated 
mar/02 00:22:57 pppoe,ppp,info RDS: connected 
mar/02 00:22:57 script,info Main connection UP. Disabling eth12 
mar/02 00:22:57 system,info device changed 
mar/02 00:22:57 interface,info ether12 link down
 
BRMateus2
Frequent Visitor
Frequent Visitor
Posts: 73
Joined: Thu Oct 26, 2017 11:18 pm

Re: Frequent PPPoE terminations

Sat Mar 02, 2019 2:29 am

Send supout to support@mikrotik.com, this is a bug they might don't have any to support output.
 
IYARINDRA
just joined
Posts: 21
Joined: Fri Apr 07, 2017 6:13 pm

Re: Frequent PPPoE terminations

Wed Mar 06, 2019 10:59 am

I had the same issues last night for a period of time. My guess was my provider. By I seeing many people here having the same isuues. My curiosity filled.

I am using RB4011iGS+...
 
justdude
just joined
Posts: 6
Joined: Sun Jun 24, 2018 11:02 pm

Re: Frequent PPPoE terminations

Wed Mar 06, 2019 3:11 pm

Also using pppoe to connect to isp. Also have dropouts. BUT they occur when I saturate uplink with uploads, keepalive in isp router keep timeouting and it auto disconnects. Do rest of you have traffic when it occurs (upload especially) or link is idle and it still happens?
 
User avatar
inteq
Member
Member
Posts: 429
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Frequent PPPoE terminations

Mon May 06, 2019 1:37 am

I only see it after a reboot/firmware update.
It is also very random. One reboot it could work, the next one might not.
Thus, I wrote a small script to disable the physical port (ether1 in my case) when the pppoe client has the status "disconnected" and enable it back after several seconds.
It fixes the problem for me, but it is an ugly hack.
Sent the supout, but considering this problem is from at least 2010, slim chances that MIkrotik will ever fix it.
 
matd
just joined
Posts: 15
Joined: Wed Jan 17, 2018 5:12 pm

Re: Frequent PPPoE terminations

Wed May 08, 2019 7:02 pm

@NickM - you should try debug ppp/pppoe to see reason for disconnects. Also packet capture from your WAN interface could help.
 
ciberica
Frequent Visitor
Frequent Visitor
Posts: 69
Joined: Mon Mar 19, 2018 6:22 am

Re: Frequent PPPoE terminations

Sun May 12, 2019 7:37 am

Hello, has someone solved it or do you know why this happens?
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11126
Joined: Mon Dec 04, 2017 9:19 pm

Re: Frequent PPPoE terminations

Sun May 12, 2019 2:06 pm

Only logging and packet sniffing can help here. Until someone does that, and proves that way that it is a Mikrotik bug by showing that either PPPoE frames are not actually leaving the device although the log says they do or that correctly populated frames from the ISP's PPPoE server are received but do not lead to successful connection establishment, and sends a supout.rif file to support@mikrotik.com, there will be no solution to the issue. Bothering support without the evidence as above is pointless as there are things which may happen in the wild but the fantasy of the developers is insufficient to anticipate them, so they need to learn what actually happens to be able to improve the software to handle it.
 
reu
just joined
Posts: 2
Joined: Sat Jun 19, 2021 2:29 am

Re: Frequent PPPoE terminations

Sat Jun 19, 2021 2:51 am

Hello. This is the dump of pppoe debug, if it helps:



When I disable and enable PPPoE Client, or reboot the RB, the connection is done at first try. But when I disable and enable the PPPoE Client ethernet interface or restart the GPON, it keeps trying to connect about 30-70 times util get success and stop cycling.
You do not have the required permissions to view the files attached to this post.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11126
Joined: Mon Dec 04, 2017 9:19 pm

Re: Frequent PPPoE terminations

Mon Jun 21, 2021 2:19 pm

Your log shows that the connection establishment has succeeded, and almost immediately after the PPPoE server asked your client to terminate it. Without seeing the sniff, I can only guess that your Mikrotik kept sending from the previously assigned IP address, and that was the reason why the server has requested to terminate the session.

What do you use in your /ip firewall nat rules, action=src-nat or action=masquerade?
 
reu
just joined
Posts: 2
Joined: Sat Jun 19, 2021 2:29 am

Re: Frequent PPPoE terminations

Mon Jun 21, 2021 4:37 pm

Hello Sindy,

Just this:
/ip firewall nat
add action=masquerade chain=srcnat
add action=dst-nat chain=dstnat dst-port=80 in-interface-list=WAN protocol=\
    tcp to-addresses=10.0.2.10 to-ports=80
add action=dst-nat chain=dstnat dst-port=81 in-interface-list=WAN protocol=\
    tcp to-addresses=10.0.2.10 to-ports=80
add action=dst-nat chain=dstnat dst-port=22 in-interface-list=WAN protocol=\
    tcp to-addresses=10.0.2.10 to-ports=22
There are any more specific log/debug that I can get to help?
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11126
Joined: Mon Dec 04, 2017 9:19 pm

Re: Frequent PPPoE terminations

Mon Jun 21, 2021 11:02 pm

You need to sniff into a file, or maybe better stream to the PC unless you can connect a large enough USB drive, the traffic on the physical interface to which the PPPoE client one is attached. Start sniffing while the working PPPoE session still exists, then reboot the GPON box, and then stop the sniff when the PPPoE server sends the LCP TermReq.

But my theory about sending packets with incorrect address only makes sense if you don't have a fixed IP on the PPPoE, or if you have some other default route which gets used while the PPPoE WAN is down.
 
spearo
just joined
Posts: 1
Joined: Mon Aug 29, 2022 7:09 am

Re: Frequent PPPoE terminations

Mon Aug 29, 2022 7:15 am

I had a similar issue, it started happening after I got a different WAN IP from the provider on the PPP session. The Mikrotik must have got in a bad state thinking it should have the old IP. A reboot sorted the issue. Note this Mikrotik was running some old firmware too, that probably didn't help, I'll get that updated.

Who is online

Users browsing this forum: almdandi, garyjduk, massinia, vingjfg and 49 guests