# DHCPv6

**URL:** https://dietpi.com/forum/t/dhcpv6/3885
**Category:** General Discussion
**Created:** [25 February 2020 14:00 UTC](https://dietpi.com/forum/t/dhcpv6/3885 "2020-02-25T14:00:44Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![trendy](https://dietpi.com/forum/user_avatar/dietpi.com/trendy/32/61_2.png) [@trendy](https://dietpi.com/forum/u/trendy)
#### Post date: [27 February 2020 13:11 UTC](https://dietpi.com/forum/t/dhcpv6/3885/6 "2020-02-27T13:11:23Z")

</div>

Adding

```nohighlight
iface eth0 inet6 dhcp

```

in

```nohighlight
/etc/network/interfaces

```

does the work.  
So I guess by adding a line

```nohighlight
iface eth$ETH_DEV_INDEX inet6 $eth_dhcp_static_text

```

in position 2396 (and in 2404 for wifi “iface wlan$WIFI\_DEV\_INDEX inet $wifi\_dhcp\_static\_text” ) in

```nohighlight
/boot/dietpi/dietpi-config

```

under **Network\_ApplyChanges()** function will make the change permanent for the future.

---

_[View the full topic](https://dietpi.com/forum/t/dhcpv6/3885)._
