Project

General

Profile

Actions

Bug #12280

closed

Default IPv6 router advertisement intervals and lifetime are too low

Added by Offstage Roller about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
IPv6 Router Advertisements (radvd/rtsold)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

Related forum thread here:
https://forum.netgate.com/topic/165744/why-are-the-default-ra-intervals-and-lifetime-values-so-low

In pfSense, these are the default DHCPv6 router advertisement 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 (https://docs.sophos.com/nsg/sophos-firewall/v17.1.4/Help/en-us/webhelp/onlinehelp/index.html#page/onlinehelp/SLAACEdit.html):
Minimum RA interval: 198
Maximum RA interval: 600
Router lifetime: 1800

HPE (https://techhub.hpe.com/eginfolib/networking/docs/switches/WB/16-01/5200-0135_wb_2920_ipv6/content/ch08.html):
Minimum RA interval: 200
Maximum RA interval: 600
Router lifetime: 1800

Microtik (https://wiki.mikrotik.com/wiki/Manual:IPv6/ND):
Minimum RA interval: 200
Maximum RA interval: 600
Router lifetime: 1800

I propose changing the default values to similar numbers the other vendors above are using:
Minimum RA interval: 200
Maximum RA interval: 600
Router lifetime: 1800

By changing those values on my own network, one of my Android 9 devices was able to stay connected to my network for multiple days, where previously it couldn't stay connected for more then 16 minutes (using the default values provided by pfSense). After changing my default values to the proposed values above, I have yet to notice any downsides for the 50+ devices on my network.

Actions #3

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #4

Updated by Viktor Gurov about 3 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to In Progress

There are more lines that didn't get updated along a different code path. Near line 382 and 387.

Actions #6

Updated by Jim Pingle about 3 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by Jim Pingle about 3 years ago

  • Subject changed from IPv6 default router advertisement (RA) intervals and lifetime are too low to Default IPv6 router advertisement intervals and lifetime are too low

Updating subject for release notes.

Actions #8

Updated by Jim Pingle about 3 years ago

  • Category changed from DHCP (IPv6) to IPv6 Router Advertisements (radvd/rtsold)
Actions #9

Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Resolved

This all looks correct now on current snapshots.

Actions #10

Updated by Jim Pingle almost 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF