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

    Why are the default RA intervals and lifetime values so low?

    IPv6
    4
    6
    1.1k
    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.
    • O
      OffstageRoller
      last edited by OffstageRoller

      In pfSense, these are the default router values:

      Minimum RA interval: 5
      Maximum RA interval: 20
      Router lifetime: 60

      However, when I look at documentation for other routers, they use much larger values.

      Sophos:
      Minimum RA interval: 198
      Maximum RA interval: 600
      Router lifetime: 1800

      HPE:
      Minimum RA interval: 200
      Maximum RA interval: 600
      Router lifetime: 1800

      Microtik:
      Minimum RA interval: 200
      Maximum RA interval: 600
      Router lifetime: 1800

      The issue I have in my environment, is that when I enable IPV6 on my VLAN that has my Peloton bike (that uses an Android tablet), the bike will constantly disconnect from wireless every 10 seconds to 16 minutes. I can't get through a ride, and if I look at the connectivity stats for the bike in my Unifi alerts, it's contstantly going up and down. See this screenshot:
      IMG_0338.jpeg

      If I disabled IPV6 on that interface, the problem goes away and the bike stays connected. However, that's not a "fix." So I decided to play around with my RA values, and it appears related to the router lifetime value. With the default value of 60, the bike won't stay connected to the network, but with a new value of 1800, all the disconnect/connect issues go away and the bike stays connected to my network.

      So from what I can tell, I fixed my issue. However, I generally don't like changing default values, especially, like in this case, I don't fully understand what these values are and what downsides I'll run into by increasing these values.

      The Netgate team must have chosen the current default values for a reason, so can anyone explain what that reason is? And why are the values pfSense defaults to so much lower then then the defaults other venders seem to be using (which they seem to agree on for the most part)?

      A viktor_gV 2 Replies Last reply Reply Quote 0
      • MikeV7896M
        MikeV7896
        last edited by

        Not sure why the defaults are so low... maybe someone from pfSense can give a bit of insight on that.

        As a test, I increased the values for my primary LAN...

        • Minimum RA interval: 120 seconds (2 minutes)
        • Maximum RA interval: 360 seconds (6 minutes)
        • Router lifetime: 1080 seconds (18 minutes)

        I've not observed any negative issues yet as a result of the change.

        I think the issue is that if you make changes to your network, or have a dynamic prefix that could potentially change at any time, having lower values will allow things to adjust quicker if a change needs to be made. If you have static IPv6, or your dynamic prefix doesn't change frequently, having a longer interval can certainly be done without a negative impact.

        I think the numbers I've chosen are a nice compromise between the short pfSense default and the longer values used by other device manufacturers.

        The S in IOT stands for Security

        1 Reply Last reply Reply Quote 0
        • A
          anthonys @OffstageRoller
          last edited by

          @offstageroller The following may be related? https://redmine.pfsense.org/issues/12173

          MikeV7896M 1 Reply Last reply Reply Quote 0
          • MikeV7896M
            MikeV7896 @anthonys
            last edited by

            @anthonys said in Why are the default RA intervals and lifetime values so low?:

            @offstageroller The following may be related? https://redmine.pfsense.org/issues/12173

            That issue, and an earlier one linked in that one, are both related to the lifetimes of the DNS settings that radvd can provide through RDNSS and DNSSL. Those bugs don't have anything to do with the actual RA lifetime settings themselves.

            The S in IOT stands for Security

            1 Reply Last reply Reply Quote 0
            • viktor_gV
              viktor_g Netgate @OffstageRoller
              last edited by

              @offstageroller said in Why are the default RA intervals and lifetime values so low?:

              In pfSense, these are the default router values:

              Minimum RA interval: 5
              Maximum RA interval: 20
              Router lifetime: 60

              However, when I look at documentation for other routers, they use much larger values.

              Please create a bugreport:
              https://docs.netgate.com/pfsense/en/latest/development/bug-reports.html

              O 1 Reply Last reply Reply Quote 0
              • O
                OffstageRoller @viktor_g
                last edited by OffstageRoller

                @viktor_g

                I created a redmine ticket for this here:
                https://redmine.pfsense.org/issues/12280

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