openwrt dhcpv6
时间: 2023-08-28 18:20:27 浏览: 326
DHCPv6-开源
OpenWrt supports DHCPv6 for IPv6 address assignment and configuration. To enable DHCPv6 on OpenWrt, you need to install the necessary packages and configure the DHCPv6 server.
Here's a step-by-step guide to setting up DHCPv6 on OpenWrt:
1. Log in to your OpenWrt router's web interface or connect to it via SSH.
2. Install the required packages by running the following command:
```shell
opkg update
opkg install odhcpd-ipv6only
```
3. Edit the DHCPv6 server configuration file by running the command:
```shell
vi /etc/config/dhcp
```
4. In the `config dhcp 'lan'` section, add or modify the following lines:
```shell
option
阅读全文