Project

General

Profile

Bug #4544

PD not requested if no interfaces set to track6

Added by Jan Joris Vereijken about 2 years ago. Updated 15 days ago.

Status:
Feedback
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
03/22/2015
Due date:
% Done:

100%

Affected version:
2.2.x
Affected Architecture:

Description

Bug #4436 disable prefix delegation requests when no tracking interface is defined. This causes a regression in combination with Network Prefix Translation in a dual-WAN setup and a Unique Local Address range on the LAN interface: pfSense requests prefix delegation from both WAN interfaces, and uses NPT to perform translation for the ULA addresses on the LAN toward the respective delegated prefixes, e.g. for load balancing or failover purposes.

In the scenario, the prefix delegation on the WAN interfaces is required, but there is no tracking interface, because the LAN interface needs to be static IPv6 with the ULA addresses.

I have such a set-up, and upgrading from 2.2 tot 2.2.1 broke IPv6 for this reason.

Can we have more control over prefix delegation, so that we can re-enable it in scenarios like this one?

Associated revisions

Revision b0837ceb
Added by Doktor Notor 3 months ago

Request PD even if no interfaces are set to track6 (Bug #4544)

See https://redmine.pfsense.org/issues/4544#note-4

Revision 8740bd5e
Added by Doktor Notor 15 days ago

Request PD even if no interfaces are set to track6 (Bug #4544)

See https://redmine.pfsense.org/issues/4544#note-4
(cherry picked from commit b0837cebf9836c4cdd5873b3e463f1afb8403811)

History

#1 Updated by Chris Buechler about 2 years ago

  • Project changed from pfSense Packages to pfSense
  • Status changed from New to Feedback
  • Assignee set to Chris Buechler

there is a workaround for this, but I'll revisit the subject as a whole.

#2 Updated by Chris Buechler over 1 year ago

  • Category set to Interfaces

#3 Updated by Chris Buechler 11 months ago

  • Subject changed from Bug #4436 causing regression on NPT setup to PD not requested if no interfaces set to track6
  • Status changed from Feedback to Confirmed
  • Target version set to 2.3.2
  • Affected version set to 2.2.x

updated subject is the issue. That case shouldn't cause it to skip requesting PD, for cases where the PD is actually static and people want to statically configure it, and cases like OP's with NPT.

#4 Updated by Chris Buechler 11 months ago

  • Assignee deleted (Chris Buechler)
  • Target version changed from 2.3.2 to 2.4.0

The code here is at fault.
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/interfaces.inc#L3927

It should still include the 'send ia-pd' in the dhcp6c config even if there are no track interfaces.

With a short timeline on getting a 2.3.2 out, that's not a reasonable change to make there at this point, since this is an uncommon circumstance and has risk of introducing regressions for the common circumstances.

#6 Updated by Kill Bill 15 days ago

Can someone kindly review the PR before it's again too late even for 2.4?

#7 Updated by Renato Botelho 15 days ago

  • Status changed from Confirmed to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged, thanks!

#8 Updated by Kill Bill 15 days ago

Thanks as well. :)

Also available in: Atom PDF