Skip to content

Commit 9052ce3

Browse files
committed
Updated README with information about ifupdown
1 parent ccf3795 commit 9052ce3

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ It will request a prefix through DHCPv6.
5656

5757
You can find the DHCPv6 information in */var/lib/dhcp/dhclient6.leases*
5858

59-
## Upstart
59+
## Ubuntu 14.04: Upstart
6060
Under Ubuntu 14.04 you can run dhclient using upstart to
6161
request the prefix and renew then needed.
6262

@@ -70,7 +70,7 @@ Afterwards you can start and stop with:
7070

7171
``sudo stop dhclient6-pd``
7272

73-
## systemd
73+
## Ubuntu 16.04: systemd
7474
Ubuntu 16.04 using systemd and to run dhclient for Prefix Delegation to have to install *dhclient6-pd.service* in */etc/systemd/system/*
7575

7676
Now reload systemd and start dhclient:
@@ -86,6 +86,20 @@ By default it uses eth0 as the configured interface. Change this in the service
8686

8787
With newer kernels this might be *ens3* for example.
8888

89+
### ifupdown / interfaces file
90+
The ifupdown package on Ubuntu is responsible for configuring network interfaces under Debian and Ubuntu.
91+
92+
I wrote a [patch](https://anonscm.debian.org/cgit/collab-maint/ifupdown.git/commit/?id=9af9a607274bec491ca165f9b8af6af26bbdf585) for ifupdown so that
93+
you can configure the network stack to perform the Prefix Delegation request for you.
94+
95+
When Ubuntu and Debian apply this patch you can use it in your interfaces file:
96+
97+
<pre>iface eth0 inet6 auto
98+
dhcp 1
99+
request_prefix 1</pre>
100+
101+
Hopefully this makes it into Ubuntu 16.04.
102+
89103
## Docker IPv6 hook
90104
The *docker-ipv6* dhclient hook in this repository should be placed in
91105
**/etc/dhcp/dhclient-enter-hooks.d/** where it will be executed after dhclient

0 commit comments

Comments
 (0)