Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: Anyone forcing MTU1500 on Zen FTTP (OPNSense)  (Read 2589 times)

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« on: August 06, 2022, 11:55:53 AM »

Hi all,

Is anyone implementing MTU of 1500 on Zen FTTP using OPNSense? Having done some reading, I thought it was as simple as setting Interfaces > WAN > MTU to 1508 (it then shows calculated PPP MTU as 1500). If I do that, internet access is 'Broken'. Pages load really slowly, if at all, speedtest.net gets stuck on finding best server etc.

Do I need to set MSS clamping manually in the WAN interface?

I use IPv6 (as per Zens instructions for DHCPv6) - is that the issue?

If anyone has a similar set-up and has it working, any help would be appreciated!

Thanks.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5289
    • Thinkbroadband Quality Monitors
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #1 on: August 06, 2022, 05:12:57 PM »

All I can say is on pfSense all you do is set the PPP connection to 1500 MTU and the internal logic handles the rest.  It automatically adjusts the parent interface to 1508.
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #2 on: September 02, 2022, 07:16:51 PM »

So I worked this out in the end. On OPNSense (not sure if it is a change or not), when using a PPPoE setup, it creates a WAN interface against pppoe0 (igb0) - username@zen.com.

Changing the MTU to 1508 in Interfaces > WAN > MTU to 1508 changes the WAN 'interface' to 1508, and the PPPoE point-to-point device to 1500, but does nothing to the physical igb0 port.

It was at this point I realised the igb0 port was not 'assigned' in interfaces - it is just hanging around at the bottom in green as a 'new interface' - assigning it to a Nonsense ID (I used Dummy), not configuring anything at all EXCEPT changing the MTU to 1508 then changes the physical port. Everything then springs into life.

Apparently as long as you don't want to make any changes to the physical port config/parameters, not being assigned is not an issue - OPNSense magically makes it work as per the wizard config. Of course, to then change the physical port parameters, it must be assigned/exist for tinkering with!


Resultant interfaces as attached

« Last Edit: September 02, 2022, 07:20:13 PM by Jasonkruys »
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5289
    • Thinkbroadband Quality Monitors
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #3 on: September 02, 2022, 09:35:06 PM »

Its so long since I configured pfSense I can't remember exactly how it did it, I assume it DID assign the interface as it changes the MTU automatically from just setting it in the PPPoE settings.
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7411
  • VM Gig1 - AAISP CF
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #4 on: September 03, 2022, 04:08:13 PM »

When you first install pfsense (and I think opnsense) in the initial questions it will ask you for your LAN and WAN config, if you answer those correctly, it will do the inititial interface assignment then.

Of course if you dont do this, or the configuration changes post install, then yep have to assign the physical interface to the virtual interface pfsense/opnsense makes.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5289
    • Thinkbroadband Quality Monitors
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #5 on: September 03, 2022, 05:23:55 PM »

Ah yes, that sounds about right.  I honestly should remember considering I had to setup Plusnet long after and that would also be the same as setting up L2TP.
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #6 on: September 03, 2022, 06:55:45 PM »

When you first install pfsense (and I think opnsense) in the initial questions it will ask you for your LAN and WAN config, if you answer those correctly, it will do the inititial interface assignment then.

Of course if you dont do this, or the configuration changes post install, then yep have to assign the physical interface to the virtual interface pfsense/opnsense makes.

I think OPNSense has changed the way it configures. I went through the Wizard and answered correctly, and all was good. No changes. It seems to configure the interface and sets it all up for the PPPoE virtual connection, but leaves the physical interface hanging. Note that when I 'assigned' it I couldn't assign it to the virtual interface/WAN, I had to create a new completely separate interface just for the purpose of gaining access to the MTU setting for that physical port - everything else is blank. I would have done it via the CLI, to avoid the extra superfluous interface appearing in firewall and NAT menus etc. but it doesn't stick.

Someone had a similar observation on OPNSense here https://forum.opnsense.org/index.php?topic=19747.0 & https://forum.opnsense.org/index.php?topic=11733.0 & here https://forum.opnsense.org/index.php?topic=16159.0

As long as I didn't want to meddle with the MTU, requiring a non-standard MTU to be set on the port, all was well. I guess there aren't enough people both using PPPoE and fiddling with it for OPNSense to be worried about it.

« Last Edit: September 03, 2022, 06:58:50 PM by Jasonkruys »
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7411
  • VM Gig1 - AAISP CF
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #7 on: September 03, 2022, 07:26:57 PM »

Well I meant the interface assignment not the MTU configuration.  The initial setup asks you which physical device to assign to WAN/LAN.

Maybe a feature request could be added if MTU tinkering is needed to be done separately on the physical interface?
Logged

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #8 on: September 03, 2022, 07:51:14 PM »

That's what I meant - in the initial setup you tell it igb0 is your WAN interface, igb1 is LAN. If OPNSense is configuring igb0 as PPPoE it doesn't actually assign the physical interface. It creates a virtual WAN (PPPoE, igb0) interface and then the point-to-point PPPoE device. You're left with a separate igb0 interface unassigned (which you can see in my screenshot - both the way the WAN interface is configured, and the previously unassigned igb0 which I had to assign to 'Dummy'). I hadn't noticed previously as everything worked.
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7411
  • VM Gig1 - AAISP CF
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #9 on: September 03, 2022, 08:04:00 PM »

So before you assigned to dummy, the igb0 was available on the bottom box?

If so that sounds like a potential bug to me.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5289
    • Thinkbroadband Quality Monitors
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #10 on: September 03, 2022, 08:11:41 PM »

I just checked on pfSense, igc0 is not assigned but PPPoE is running over igc0 with the automagically adjusted MTU of 1508.

This is not shown in Status / Interfaces due to not being assigned, you have to check from SSH.
Code: [Select]
igc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1508
        options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:e2:69:xx:xx:xx
        inet6 fe80::2e2:69ff:fe59:25ee%igc0 prefixlen 64 scopeid 0x1
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

pppoe0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN_ZEN
        inet6 fe80::1%pppoe0 prefixlen 64 scopeid 0x11
        inet6 2a02:8011:d000... prefixlen 64 autoconf
        inet 82.69.xx.xx --> 51.148.xx.xx netmask 0xffffffff
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
« Last Edit: September 03, 2022, 08:15:56 PM by Alex Atkin UK »
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7411
  • VM Gig1 - AAISP CF
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #11 on: September 03, 2022, 08:15:31 PM »

For me the interface is assigned (not in unassigned box) and always was since day one, so I find that odd.

What is in your network port for your WAN Alex? because from what i can see its impossible to add a virtual interface without assigning something as a host interface.

« Last Edit: September 03, 2022, 08:19:05 PM by Chrysalis »
Logged

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #12 on: September 03, 2022, 08:52:24 PM »

So before you assigned to dummy, the igb0 was available on the bottom box?

If so that sounds like a potential bug to me.

Yes, exactly that. Shown where igb2 is in the screenshot, but with a green icon.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5289
    • Thinkbroadband Quality Monitors
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #13 on: September 03, 2022, 08:56:19 PM »

Seems you can, or at least pfSense itself can.
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + Huawei CPE Pro 2 H122-373 WiFi: Zyxel NWA210AX
Switches: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX My Broadband History & Ping Monitors

Jasonkruys

  • Reg Member
  • ***
  • Posts: 101
Re: Anyone forcing MTU1500 on Zen FTTP (OPNSense)
« Reply #14 on: September 04, 2022, 12:28:42 PM »

Seems you can, or at least pfSense itself can.

Yep, that's exactly the same as I had with OPNSense - the difference being that pfsense is clever enough to re-configure the interface MTU in the background, but OPNSense isn't so you have to assign it, to gain access to the interface parameters to modify them.
Logged
Pages: [1] 2
 

anything