OPNsense Forum

English Forums => 23.7 Legacy Series => Topic started by: allebone on September 29, 2023, 01:11:37 am

Title: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 01:11:37 am
Unsure how to progress this. Tried different values and settings but pppoe is always 1492 no matter what I do.

Here are my settings. Why does it not work?
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 01:12:02 am
Second ss
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 01:12:26 am
Third ss
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 01:13:57 am
Last ss
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 01:15:19 am
Literally dont know what else to change at this point. Ss simply show my last effort to get it working but pretty sure I have tried every permutation and setting values in all different places with no effect.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: franco on September 29, 2023, 08:14:36 am
Let's make sure a manual setting somewhere is not preventing it from adjusting correctly:

# opnsense-log | grep ifconfig

It should show errors regarding setting MTU. Then we could look at the config and find those offending values.

I'd also check the PPP device settings as under advanced they also have room to set MTU again...


Cheers,
Franco
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: dinguz on September 29, 2023, 08:20:41 am
I have 3 interfaces concerning internet access:

- the interfaces which runs PPPoE, this has a MTU of 1508 in the settings, which yields a MTU of 1500 on the connection
- the parent interface of this, which is the VLAN interface (MTU set to 1508)
- the parent interface thereof, which is the Ethernet interface (MTU set to 1512)

I couldn't get it to work at first, but then I figured out I needed to create the VLAN interface as an intermediate, in order to be able to set the MTU on it.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: franco on September 29, 2023, 08:25:38 am
All of this is automatic now in 23.7.5.

You just need to set the correct MTU in the WAN interface that the PPPoE is assigned to (heeding that the effective MTU on PPPoE is the "calculated" value displayed not the one entered).


Cheers,
Franco
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: dinguz on September 29, 2023, 04:26:26 pm
So with 23.7.5 in my case I just need to set the WAN interface to 1512 and that should be all?
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: Taunt9930 on September 29, 2023, 04:42:20 pm
So with 23.7.5 in my case I just need to set the WAN interface to 1512 and that should be all?

Yes - set the MTU to whatever it needs to be + overheads. In my case, just 1508 on a straightforward PPPoE connection.  I have just done that, and deleted the interface I previously created from the physical interface just to set the 'parent' MTU.

All is good, with a verified MTU of 1500 on the link.

As an aside, IPv6 seems to be working much better/consistently - not sure if it is other changes, or the 'fake' interface I had to previously create was causing come issue.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 05:48:11 pm
Let's make sure a manual setting somewhere is not preventing it from adjusting correctly:

# opnsense-log | grep ifconfig

It should show errors regarding setting MTU. Then we could look at the config and find those offending values.

I'd also check the PPP device settings as under advanced they also have room to set MTU again...


Cheers,
Franco

Hi Franco,

Thank you for the reply. The output is nothing when I do this (first screenshot)

My advanced options has nothing set (second screenshot).

Kind regards
Peter

Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 05:52:18 pm
"You just need to set the correct MTU in the WAN interface that the PPPoE is assigned to (heeding that the effective MTU on PPPoE is the "calculated" value displayed not the one entered)."

I am not clear what to do here. I have 2 interfaces for some reason. A "dummy" interface and a normal pppoe interface.
Am I clearing the config from one of them? If so which one and where am I inputting 1512? The dummy or pppoe interface?

Or am I deleting this dummy interface and setting 1508 on the pppoe interface?

Kind regards
Peter
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: JohHer on September 29, 2023, 06:59:41 pm
1508 on the WAN (PPPoE) interface and e reboot ?
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: staticznld on September 29, 2023, 08:16:41 pm
Just updated to 23.7.5.

Deleted all dummy interfaces "Physical NIC" "VLAN", checked WAN PPPoE is set to 1508 calculated MTU is 1500.
Upgrade to 23.7.5 and voila! 1500 MTU on PPPoE
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 09:11:36 pm
Just updated to 23.7.5.

Deleted all dummy interfaces "Physical NIC" "VLAN", checked WAN PPPoE is set to 1508 calculated MTU is 1500.
Upgrade to 23.7.5 and voila! 1500 MTU on PPPoE

Just tried this exact thing. Deleted PPPOEDMY so its now gone, checked that pppoeWAN had 1508 set as MTU. Calculated MTU said 1500.

Saved, rebooted. MTU under interfaces - overview still 1492. So not clear what else to do. Nothing works for me the same as other people.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: staticznld on September 29, 2023, 09:48:28 pm
Interfaces - point to point - devices edit the PPPoE tunnel under advanced no Mtu set?

My situation PPPoE over vlan6.

With 23.7.5 no additional devices configured to force an MTU of 1500 on the WAN interface.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 29, 2023, 10:33:50 pm
Interfaces - point to point - devices edit the PPPoE tunnel under advanced no Mtu set?


Correct. Nothing set here.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: franco on September 29, 2023, 11:48:31 pm
So what's your PPPoE parent device? Do you have any assigned? Do you have MTU set anywhere but the WAN interface itself?

If you want PPPoE to have 1500 the WAN interface must set 1508 and it will set all accordingly up and down the chain of devices. I'm not sure it's more complicated than that now and I fail to explain it any more simple.


Cheers,
Franco
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 30, 2023, 03:02:43 am
So what's your PPPoE parent device? Do you have any assigned? Do you have MTU set anywhere but the WAN interface itself?

If you want PPPoE to have 1500 the WAN interface must set 1508 and it will set all accordingly up and down the chain of devices. I'm not sure it's more complicated than that now and I fail to explain it any more simple.


Cheers,
Franco

I posted the screenshots and subsequently deleted the parent dummy device as per the advice of the other poster. Nothing has helped at all. I have done exactly as you said.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: RamSense on September 30, 2023, 08:22:31 am
@allebone , @franco, I'm experiencing the same.
When I used this: https://forum.opnsense.org/index.php?topic=21207.0 (https://forum.opnsense.org/index.php?topic=21207.0) and franco's patch opnsense-patch f934046cb47, I had the correct mtu 1500. Now after using OPNsense 23.7.5-amd64 it is gone...

Now I still see 1492. I deleted every MTU setting as stated here, the only place is the wan set to 1508. But I still get 1492 on pppoe.
I changed wan back to 1512, did a reboot, and still the pppoe (WAN_FTTH (wan) ) is showing 1492.

(?)

Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: franco on September 30, 2023, 10:36:38 am
I'm a bit exhausted from this topic and I've spent too much time on it to make numbers appearing on the screen match user expectations. I've yet to hear someone say "this fixed an operational issue I was having" so the whole thing might just be cosmetic because it's been working the former way for a decade or more.

Take that with a grain of salt. All code improvements are welcome but this is the end of it for me in a community support scope.


Cheers,
Franco
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: Taunt9930 on September 30, 2023, 10:58:28 am
I'm a bit exhausted from this topic and I've spent too much time on it to make numbers appearing on the screen match user expectations. I've yet to hear someone say "this fixed an operational issue I was having" so the whole thing might just be cosmetic because it's been working the former way for a decade or more.

Take that with a grain of salt. All code improvements are welcome but this is the end of it for me in a community support scope.


Cheers,
Franco

I hear you. For a glimmer of hope, 23.7.5 fixed an operational issue I was having. On previous versions if I set PPPoE WAN to 1508 (calculated 1500) and did nothing else, my WAN connection was broken. To fix it, I have to create an otherwise unnecessary/superfluous interface assignment for the parent interface (igb0) to ensure the MTU of that device was also 1508.

With 23.7.5 that is no longer necessary - setting the PPPoE WAN MTU automatically 'expands' relevant interfaces so the 'PPPoE pipe fits'. Thanks, Franco 😁

I can only assume others over time have made that many changes/fiddles/adjustments with patches and or config, that some configuration parameter has been forgotten by them, or has otherwise been left over, that is interfering.

Those still struggling - have you tried starting from clean/scratch with a basic config just to test the WAN parameter? That would surely demonstrate if it is a rogue config issue, or something else.

Have you tested if the MTU is in fact 1500, and it is just a cosmetic issue?

I have to say, random cropped screenshots out of context make your issue really hard to understand!

If it still doesn't work, I guess you should go back to the config you had that does work and move on 🤷‍♂️
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: RamSense on September 30, 2023, 11:47:34 am
I did check here https://www.speedguide.net/analyzer.php? (https://www.speedguide.net/analyzer.php?)
showing 1492

Quote
MTU = 1492
MTU is optimized for PPoE DSL broadband. If not, consider raising MTU to 1500 for optimal throughput.
MSS = 1452
MSS is optimized for PPPoE DSL broadband. If not, consider raising your MTU value.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: Taunt9930 on September 30, 2023, 01:47:43 pm
I did check here https://www.speedguide.net/analyzer.php? (https://www.speedguide.net/analyzer.php?)
showing 1492

Quote
MTU = 1492
MTU is optimized for PPoE DSL broadband. If not, consider raising MTU to 1500 for optimal throughput.
MSS = 1452
MSS is optimized for PPPoE DSL broadband. If not, consider raising your MTU value.

If you can't work out what the config issue is, sounds like you just need to go back to the config that worked for you  ;)
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: allebone on September 30, 2023, 02:00:29 pm
I dont know what other screenshots are relevant. I can post any required. I did test from a client machine with do not fragment and fixed ping size, 1472 doesnt work but 1464 size does so the mtu is only 1492. I dont know what other info to give. If I did I would give it to you. I have tried what other people have tried but never can progress the issue so I am stuck. From what I can tell I do the same thing as others but it does not work for me. I use a protectli box so I would imagine its a common setup.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: annoniempjuh on September 30, 2023, 03:54:25 pm
from day one wit my current ISP i have this setting:
Physical NIC: 1512
PPoE vlan: 1508
WAN: 1500

this was working until the 23.7 release. didn't change anything with it.
after upgrade to 23.7.5 and a reload of WAN, MTU is now working again at 1500, without changing any configuration.
so, for me its works fine, Thnx OPNsense Team! ;D
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: staticznld on September 30, 2023, 07:33:25 pm
@annoniempjuh, had the same before 23.7.5 with a working 1500mtu. For testing i deleted those dommy interfaces and set MTU on WAN 1508. After the upgrade all parent interfaces adjusted automaticly to allow 1500 MTU on PPPoE.
Title: Re: Still unable to get 1500 mtu on pppoe on 23.7.5 no matter what I do. Why?
Post by: RamSense on October 01, 2023, 12:09:11 pm
NB: @Franco, it seems I do not get an IPv6 WAN ip anymore. The system is up and running, ipv4 and ipv6 running, only the WAN is showing ipv4 ip while DHCPv6 up, reload or release or reboot does not make any difference. setting wan mtu to my previous 1512 does not change the result. 

NB2: virtual ip's do no longer work either. So the MTU is correct, but IPv6 fails to get ip on wan, virtual IP's IPv4 and IPv6 do not work.

NB3: back with dummy interface, ipv6 is back, virtual ip's working, but MTU is at 1492. So far for my testing efforts, hope it helps.

Added NB's above after this finding: @Franco, your settings does work. WAN to 1508, deleted the dummy interface.
Than IPV6 turned red on the main OPNsense gui screen. Restarted, did assign WAN interface to igb0 and than again back to vlan pppoe and restarted ipv6 again, and it works! I don't know why I had to change it back and forth for several times to get it to work, but now it is working. Sorry for the confusing.

https://www.speedguide.net/analyzer.php? (https://www.speedguide.net/analyzer.php?)
MTU = 1500
MTU is fully optimized for broadband.
MSS = 1460
Maximum useful data in each packet = 1448, which is less than MSS because of Timestamps, or other TCP/IP options used.