Setting ifid in dhcp6c.conf

Started by depeo, March 31, 2024, 05:04:14 PM

Previous topic - Next topic
Hi,

I have ipv6 pd from my ISP, a /56.
When I select track interface on a lan interface it gets assigned a eui64 address.
I want it to always assign IPv6-subnet::1 instead.

This can be done by adding ifid 1; in dhcp6c.conf under prefix-interface.

Is there an option for doing this in the web ui? I have solved it temporarily by setting static address instead of track interface, but if my ISP ever changes the prefix I have to change all the addresses manually.
Thanks.

Current GUI does not support it.
You may try using a working /var/etc/dhcp6c.conf generated by OPNsense as a template, edit it and use the modified version as Config file override.