1
General Discussion / Re: DHCPv6 Client Settings - DHCP only option
« on: September 18, 2019, 08:55:59 am »
I was able to sort out the problem by manually configure the dhcp6c service.
1.) I've appended the dhcp6c... lines to activate dhcp6c on interface `vmx1` in file /etc/rc.conf
2.) I used the stateful part of the sample as /usr/local/etc/dhcp6c.config
After reboot all is working as expected
1.) I've appended the dhcp6c... lines to activate dhcp6c on interface `vmx1` in file /etc/rc.conf
Code: [Select]
root@OPNsense:~ # cat /etc/rc.conf
# -- BEGIN BSD Installer automatically generated configuration -- #
# -- Written on Wed Sep 11 14:48:18 UTC 2019-- #
keymap='de'
# -- END of BSD Installer automatically generated configuration -- #
dhcp6c_enable='YES'
dhcp6c_interfaces='vmx1'
2.) I used the stateful part of the sample as /usr/local/etc/dhcp6c.config
Code: [Select]
root@OPNsense:~ # cat /usr/local/etc/dhcp6c.conf
# The following is a sample configuration for a client on a LAN
# where IPv6 addresses are assigned via DHCPv6 ("stateful address
# assignment"). Use this if you want the client to query the
# DHCPv6 server for an IPv6 address and for DNS servers, as in
# traditional IPv4 DHCP.
interface vmx1 {
send ia-na 0;
send rapid-commit;
send domain-name-servers;
};
id-assoc na {
};
After reboot all is working as expected