Bug #7502

Cannot set router lifetime to 0 in radvd

Added by Guido Schmitz over 3 years ago. Updated over 2 years ago.

IPv6 Router Advertisements (RADVD)
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


In the Web GUI (services_router_advertisements.php), it is not possible to set the router lifetime to 0. The GUI enforces a value of at least 1.

A lifetime to 0, however, is a valid configuration (see, e.g., radvd.conf man page, corresponding option AdvDefaultLifetime). This (special) value means that radvd still advertises the prefix and the operating mode of the network without advertising its own host as a router. Such a configuration can be useful when you have to deal with existing routers or when you run pfsense as a management host in an isolated network.

I've checked 2.3.3-RELEASE-p1 and Version 2.4.0-BETA, build of April 27, 2017. The problem exists in both versions.

Associated revisions

Revision df4c3517 (diff)
Added by John Hood about 3 years ago

Allow IPv6 RA default router lifetime of 0

This is a legal value for this field, RFC 4861 section 4.2.

Fixes Redmine #7502.


#1 Updated by John Hood about 3 years ago

I've opened a PR with a fix for this (not including i18n):

#2 Updated by Jim Pingle almost 3 years ago

  • Status changed from New to Feedback
  • Target version set to 2.4.3
  • % Done changed from 0 to 100
  • Affected Version set to 2.4.x
  • Affected Architecture All added
  • Affected Architecture deleted ()

#3 Updated by Denis Karpushin over 2 years ago

Tested router lifetime configuration under services_router_advertisements.php

2.4.2_p1 return an error message
2.4.3 apply configuration with 0 value without any problem

Issue can be closed

#4 Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF