Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Native IPV6 on ppp0e with lan Bridge wrong MTU in RADVD

    Scheduled Pinned Locked Moved IPv6
    3 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rai80
      last edited by

      Just found a 'bug' with the following configuration:

      WAN: PPPoe IPv4+IPv6(DHCP-PD)
      LAN: Bridge interface (member interfaces igb1+igb3)
      RADVD enabled on Bridge interface

      MTU size on PPPoe default 1492. RADVD seems like to inherit the MTU size of the LAN interface. Which is default 1500. So Router Advertisement are sent with MTU size: 1500.

      This causes most of the IPv6 sites unreachable!

      I 'fixed' this by changing /etc/inc/services.inc:

      $mtu = get_interface_mtu(pppoe0);    –-> pppoe0 was $realif
                      if (is_numeric($mtu)) {
                              $radvdconf .= "\tAdvLinkMTU {$mtu};\n";
                      } else {
                              $radvdconf .= "\tAdvLinkMTU 1280;\n";
                      }

      I think RADVD should use the MTU size of the WAN interface instead of LAN.

      1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        Well, the LAN tab says "If this field is blank, the adapter's default MTU will be used. This is typically 1500 bytes but can vary in some circumstances.
        MSS", so there's no doubt what MTU is used.  It's simple enough to change it.  However, it shouldn't make a difference, as path MTU discovery is supposed to be used, as you have no idea what MTUs will be used along the path.  Perhaps the issue is why that's not happening.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • R
          Rai80
          last edited by

          Well, the first thing I tried is to change the MTU size of the bridge. Which seems not possible.

          So I digged into radvd to do it manually.

          Because PATH mtu is used with ICMP the problem arises. The IPv6 client tells the webserver: My MTU is 1500 (received from radvd). So the Webserver tries to sent packages with MTU size 1500. Which is a problem because the PPPoe(WAN) interface is only 1492.

          After I changed radvd to tell the IPv6 clients to use MTU 1492, alle websites are reachable again.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.