Project

General

Profile

Actions

Bug #7138

open

Pfsense wide dhcpv6 client doesn't recognise ifid statement

Added by Bogdan P almost 8 years ago. Updated over 2 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv6)
Target version:
Start date:
01/19/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

Right now a user cannot set a specific ipv6 address on a tracked interface. The interface id is autogenerated based on EUI-64. Trying to manually insert an ifid statement trows out an error (unrecognised statement). Obviously there is no exposed option in gui.


Files

pppoe_dhcp6c_problem.pdf (1.34 MB) pppoe_dhcp6c_problem.pdf Jost Schoenleben, 03/03/2021 11:10 AM
Actions #1

Updated by Jim Thompson almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Renato Botelho
Actions #2

Updated by Renato Botelho about 7 years ago

  • Target version changed from 2.4.0 to 2.4.1
Actions #3

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.1 to 2.4.2
Actions #4

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #5

Updated by Jim Pingle over 6 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #6

Updated by Renato Botelho over 6 years ago

  • Target version changed from 2.4.4 to Future

This is not supported on FreeBSD yet. Lets track the progress of FreeBSD's open ticket and when it's available there we can work on it here.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210933

Actions #7

Updated by Jost Schoenleben over 3 years ago

Hello,
this would also fix a problem on the PPPoE interface. My provider only supports DHCPv6-IA_PD and not DHCPv6-IA_NA or SLAAC.
On the LAN interface pfsense can generate an IPv6 address via EUI-64, but this does not work on the PPPoE interface since it has no MAC address / hwaddr as you can see via ifconfig.

This results in the following error:
[2.5.0-RELEASE][]/root: grep dhcp6c /var/log/dhcpd.log | tail -n3
Mar 3 16:37:36 pfSense dhcp6c53483: link layer address is too short (pppoe0)
Mar 3 16:37:36 pfSense dhcp6c53483: failed to get default IF ID for pppoe0
Mar 3 16:37:36 pfSense dhcp6c53483: failed to parse configuration file

I used the following dhcp6c configuration:
[2.5.0-RELEASE][]/root: cat /var/etc/dhcp6c_wan.conf
interface pppoe0 {
send ia-pd 0;
request domain-name-servers;
request domain-name;
script "/var/etc/dhcp6c_wan_script.sh";
};
id-assoc pd 0 {
prefix-interface pppoe0 {
sla-id 0;
sla-len 16;
};
};

The IPv6 address on the PPPoE Interface is needed for Source NAT since we are using IPv6 ULAs on the LAN side and have two providers as uplink.

Kind regards,
Jost

Actions #8

Updated by Renato Botelho over 2 years ago

  • Assignee deleted (Renato Botelho)
Actions

Also available in: Atom PDF