OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: depeo on March 31, 2024, 05:04:14 PM

Title: Setting ifid in dhcp6c.conf
Post by: depeo on March 31, 2024, 05:04:14 PM
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.
Title: Re: Setting ifid in dhcp6c.conf
Post by: zan on April 01, 2024, 06:41:10 AM
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.