Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW
« previous
next »
Print
Pages: [
1
]
Author
Topic: incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW (Read 1080 times)
ryp43
Newbie
Posts: 27
Karma: 0
incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW
«
on:
May 05, 2022, 07:49:53 pm »
Hi All!
I have set MTU on the WAN interface to 1460 (Calculated PPP MTU: 1452).
Upon router reboot the MTU has the correct value:
sudo ifconfig
pppoe0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1452
description: WAN
But if I initiate "reload" from INTERFACES: OVERVIEW the MTU resets to 1460
sudo ifconfig
pppoe0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu
1460
Can it be a defect?
Thanks in advance!
Logged
meyergru
Hero Member
Posts: 1684
Karma: 165
IT Aficionado
Re: incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW
«
Reply #1 on:
May 05, 2022, 08:08:56 pm »
I just tried and any MTU that was larger than the physical interface cannot accomodate is overruled.
Your hardware probably has an MTU of 1460 and there is a VLAN oder PPPoE around it (or a VPN tunnel).
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
ryp43
Newbie
Posts: 27
Karma: 0
Re: incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW
«
Reply #2 on:
May 05, 2022, 08:23:39 pm »
Thanks!
I'm not aware of any hardware MTU limiting.
My setup is a VDSL2 router in bridge mode -> OPNsense.
Logged
meyergru
Hero Member
Posts: 1684
Karma: 165
IT Aficionado
Re: incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW
«
Reply #3 on:
May 05, 2022, 08:30:34 pm »
As I expected. Ethernet MTU is 1500 or 1460 bytes and PPP takes another 8 bytes, so the calculated MTU of 1452 seems about right.
Same thing here, except that my physical ethernet interface can do >=1500 bytes minus PPP, so my calculated value is 1492.
«
Last Edit: May 05, 2022, 08:35:40 pm by meyergru
»
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
incorrect MTU upon WAN(pppoe) interface reload from INTERFACES: OVERVIEW