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.
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
- Status changed from New to Assigned
- Assignee set to Renato Botelho
- Target version changed from 2.4.0 to 2.4.1
- Target version changed from 2.4.1 to 2.4.2
- Target version changed from 2.4.2 to 2.4.3
- Target version changed from 2.4.3 to 2.4.4
- Target version changed from 2.4.4 to Future
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][admin@pfSense.localdomain]/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][admin@pfSense.localdomain]/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
- Assignee deleted (
Renato Botelho)
Also available in: Atom
PDF