# DHCPv6 Client

# DHCPv6 Client

This module includes configuration variables for the DHCPv6 client.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-dhcpv6-client#group__config-dhcpv6-client_1ga9b567dc516953a04b60539503c456329 0` | Define to 1 to enable DHCPv6 Client support. |
| `https://openthread.io/reference/config/group/config-dhcpv6-client#group__config-dhcpv6-client_1gaee71cdfcda4082f17bb29b4074fde5ef 4` | The number of dhcp prefixes. |
| `https://openthread.io/reference/config/group/config-dhcpv6-client#group__config-dhcpv6-client_1gaeb27a331c4efcb924c53e893bb6b371b 0` |   |

## Macros

### OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE

```
 OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE 0
```
Define to 1 to enable DHCPv6 Client support.

### OPENTHREAD_CONFIG_DHCP6_CLIENT_NUM_PREFIXES

```
 OPENTHREAD_CONFIG_DHCP6_CLIENT_NUM_PREFIXES 4
```
The number of dhcp prefixes.

### OPENTHREAD_ENABLE_DHCP6_MULTICAST_SOLICIT

```
 OPENTHREAD_ENABLE_DHCP6_MULTICAST_SOLICIT 0
```

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).