Community discussions

MikroTik App
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

PPPOE not working

Thu Oct 28, 2021 3:12 pm

Hi,

PPPOE is conected and internet detected. Masquerade is set to pppoe int. but websites are not loading. Please check the log and help me...
You do not have the required permissions to view the files attached to this post.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: PPPOE not working

Thu Oct 28, 2021 8:36 pm

You can post your code inside code tags, /export hide-sensitive instead of providing your whole configuration...
but websites are not loading
None or some ?
Can you ping lets say 8.8.8.8 from your router and from your computer ?
Can you ping any domain names as well ?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Thu Oct 28, 2021 8:44 pm

none website is loading. Ping 8.8.8.8 from router is ok. Te other ping I wil try in night..wife needs internet now, internet without PPPOE is working,

The very strange is that everything worked until I have upgraded in Syste/RouterBoard the firmware and reset HAP AC3. Than no website loaded and I have been using internet from ether 1 without PPPOE, but the PPPOE is garanting me the better priority in ISP.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Thu Oct 28, 2021 11:09 pm

I have removed in interface list the wan-ether1 and set the pppoe as wan and reset router and is ok now.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: PPPOE not working

Fri Oct 29, 2021 12:08 pm

Something was wrongly configured then...
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sat Oct 30, 2021 8:42 pm

after few restarts no web loading again...I have questions, when I have to use pppoe should I change Interface/interface list from WAN ehter1(internet) to pppoe and delete ether1? Or keep wan ether1?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: PPPOE not working

Sat Oct 30, 2021 8:55 pm

Default firewall and NAT configuration needs logical WAN interface to be member of WAN interface list. In your case that's pppoe-out1 interface. Strictly speaking it doesn't hurt to keep underlying physical interface (ether1) in WAN interface list as well, after all firewall is quite strict about incoming connections via WAN interface(s) and ONU or xDSL modem or cable modem themselves should be treated as part of internet ...
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sat Oct 30, 2021 10:29 pm

if I understood, Ether 1 and pppoe wil be set as WAN?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: PPPOE not working

Sat Oct 30, 2021 10:43 pm

if I understood, Ether 1 and pppoe wil be set as WAN?
As i can see in your initial export, ether1 and PPPoE are set as WAN already.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sat Oct 30, 2021 10:57 pm

Im lost..its bug or I dont know...firstly ir worked with WAN ether1, after restart no internt..changed to WAN ppoe and it worked, after restart no internet ...changed only to WAN ether1 and working again...

working means internet on wifi, lan..ping in router get internet always...
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sun Oct 31, 2021 7:53 pm

Again after reboot no internet on wifi. Could please anyone try read the log and help me where is problem? I have even tried to install long term ROS but same behaviour, Internet worked, but after retart no internet on wifi.
In router is internet ok, ping ok, but on wifi no internet.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sun Oct 31, 2021 8:18 pm

You can post your code inside code tags, /export hide-sensitive instead of providing your whole configuration...
but websites are not loading
None or some ?
Can you ping lets say 8.8.8.8 from your router and from your computer ?
Can you ping any domain names as well ?
From router is ping ok.
From pc no ping to 8.8.8.8

Please where coud be problem?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Sun Oct 31, 2021 11:08 pm

In PPOE is MTU 1480 and on others interfaces is 1500. Is it problem?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: PPPOE not working

Mon Nov 01, 2021 11:26 am

In PPOE is MTU 1480 and on others interfaces is 1500. Is it problem?

No, not if PMTUD works properly.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Mon Nov 01, 2021 4:34 pm

Hello,
how could I check where is problem? I even did clean configuration with quick setting and the same situation....Internet in router but not in PC.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: PPPOE not working

Mon Nov 01, 2021 5:11 pm

If you have some PC running decent ping handy (linux is fine, windows' default likely not, dunno about iOS), then you can do some test. My ISP delivers internet over PPPoE with MTU on pppoe-out1 interface negotiated to 1480.
So if I run ping requiring it to set DF bit and packet size which exceeds that MTU, I get error from my router:

$ ping xxx.yyy.zzz.www -s 1460 -M do
PING xxx.yyy.zzz.www (xxx.yyy.zzz.www) 1460(1488) bytes of data.
ping: local error: Message too long, mtu=1480

(xxx.yyy.zzz.www is my ISP's router, next hop from my home router). Note that MTU on machine running pings is standard 1500 so those errors don't originate on local machine.

If I change the DF bit setting to "do fragment", then the result is fine:

$ ping xxx.yyy.zzz.www -s 1460 -M dont
PING xxx.yyy.zzz.www (xxx.yyy.zzz.www) 1460(1488) bytes of data.
1468 bytes from xxx.yyy.zzz.www: icmp_seq=1 ttl=254 time=8.79 ms

I know that the test above doesn't say anything about PMTUD working, the second test (with fragmentation allowed) works also when router performs fragmentation as they are supposed to), but initial test indicates that "fragmentation required" messages do come back - if they weren't, pings would silently fail.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Mon Nov 01, 2021 7:35 pm

I'm sorry, but I do not have Linux. Sometimes is working u vám even se the traffic going through the pppoe interface but when I reset router no internet in pc. Anyone could help?
 
sutrus
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Fri Jun 30, 2017 11:27 pm

Re: PPPOE not working

Mon Nov 01, 2021 9:52 pm

If I understand correctly the router is in default configuration and PPPoE is set.

PPPoE is added to the WAN interface list
How the routes are set up
/ip route print
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Mon Nov 01, 2021 10:12 pm

I have tried the default configuration but it did not work, Im in diffrent config now.

WAN is ether1 and PPPOE client
IP/Firewall/NAT is: chain:scrnat, masquerade, out. int.: pppoe
routes:
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 pppoe-out1 1
1 DS 0.0.0.0/0 192.168.144.254 1
2 ADC 185.16.81.0/32 100.80.0.175 pppoe-out1 0
3 ADC 192.168.1.0/24 192.168.1.1 bridge 0
4 ADC 192.168.144.0/24 192.168.144.22 ether1 0

is that wrong? Thank you
 
sutrus
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Fri Jun 30, 2017 11:27 pm

Re: PPPOE not working

Mon Nov 01, 2021 10:46 pm

In the DHCP client, set the default-route-distance to 2 or disable it.
Did you change the default masquare nat? If so, revert the changes.
One more question. What about the DNS settings?
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Mon Nov 01, 2021 11:08 pm

In the DHCP client, set the default-route-distance to 2 or disable it.
Did you change the default masquare nat? If so, revert the changes.
One more question. What about the DNS settings?
I have in DHCP only dynamic client, I can not change the distance to 2. Should I really remove it and leave it without any DHCP client?
I have changed NAT from WAN to pppoe client otherwise the data goes thorough ether1.
DNS is set up to 8.8.8.8 and in pppoe I have tried both..use peer DNS/do not use peer DNS.
You do not have the required permissions to view the files attached to this post.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Mon Nov 01, 2021 11:59 pm

In the DHCP client, set the default-route-distance to 2 or disable it.
Did you change the default masquare nat? If so, revert the changes.
One more question. What about the DNS settings?
I have set up all mentioed, and at the moment is internet in PC Ok, data goes thorough the pppoe interface. I will try few restarts and let you. I have even changed the internet detection only to WAN ports.
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Tue Nov 02, 2021 12:32 am

@sutrus your setting seems promising...after 5 restarts is internet still OK, Even the route list make sence now. Only one questions why is there the blue record? Why is it in blue colour?
You do not have the required permissions to view the files attached to this post.
 
sutrus
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Fri Jun 30, 2017 11:27 pm

Re: PPPOE not working

Tue Nov 02, 2021 7:57 am

The blue ones are inactive. If PPPoE is disconnected they become active.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: PPPOE not working

Wed Nov 03, 2021 9:45 pm

(1) First make sure you are using fake passwords, user name for your pppoe connection in the first post (or change them right away).

You should really use
/export hide-sensitive file=anynameyouwish to provide an export for review.


2. You have 3 IP pools and two bridges ????

3. Since ether2 is the only ethernet port on its bridge, I suggest get rid of bridge ETR2, no point.

4. In any case,
ether2 or ETR2 should be an entry in the interface member list list=LAN

5. Okay, I see remnants left over from default config.
You can get rid of the .88 ip pool .
You can also delete this static DNS setting then,........
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan

6. WHY ARE YOU MANGLING????

7. Your NAT masquerade rule has two entries, either one of them is good enough, dont need two.
Since you already included the pppoe-out1 as part of the Wan interface...........

8. Why is UPNP enabled??
 
Rox169
Member
Member
Topic Author
Posts: 434
Joined: Sat Sep 04, 2021 1:47 am

Re: PPPOE not working

Fri Nov 05, 2021 1:24 am

Hello Anav,

I get rid of the second bridge it was part of testing...

Coud anyone else connect to pppoe behind ISP NAT?

One IP pool is default(deleted), second was part of testing and third is using on my network.

Static DNS is google because ISP has some weird DNS server.

Mangling because PCQ queing and because some "clever" person advised me to change MTU from PPPOE(deleted)

The problem has been sorted out: I set in DHCP client distance route 2 and that chaged the routing list and its working now.

UPNP because Im using google chromacests, NAS, cameras, etc...

Who is online

Users browsing this forum: No registered users and 30 guests