# DHCPv6 Server

# DHCPv6 Server

This module includes configuration variables for the DHCPv6 server.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-dhcpv6-server#group__config-dhcpv6-server_1ga801294f913f59af5454922cd3dd9c793 0` | Define to 1 to enable DHCPv6 Server support. |
| `https://openthread.io/reference/config/group/config-dhcpv6-server#group__config-dhcpv6-server_1ga5eeecc8227785d1e9f500a5908a2058d 4` | The number of dhcp prefixes. |

## Macros

### OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE

```
 OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE 0
```
Define to 1 to enable DHCPv6 Server support.

### OPENTHREAD_CONFIG_DHCP6_SERVER_NUM_PREFIXES

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

## 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).