Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432652 - net-misc/dhcp - dhclient (ipv6) not enabled for ppp devices
Summary: net-misc/dhcp - dhclient (ipv6) not enabled for ppp devices
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PATCH
Depends on:
Reported: 2012-08-25 01:20 UTC by Andreas Steinmetz
Modified: 2014-11-21 11:28 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

dhclient ppp fix (dhcp-4.2.4-P1.patch,6.17 KB, patch)
2012-08-25 01:23 UTC, Andreas Steinmetz
Details | Diff
patch adapted for dhcp-4.3.1 (dhcp-4.3.1-ppp.patch,6.10 KB, patch)
2014-11-20 14:44 UTC, Andreas Steinmetz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Steinmetz 2012-08-25 01:20:18 UTC
dhclient (ipv6) doesn't work for ppp devices. At least for me this is neccessary to retrieve stateless IPv6 information (dhclient -S) that is otherwise unavailable (IPv6 name server address list).

Reproducible: Always

Steps to Reproduce:
dhclient -S -d ppp0
Actual Results:  
Bound to *:546
Unsupported device type 512 for "ppp0"

Expected Results:  
Working dhclient.

See e.g. for details.
Comment 1 Andreas Steinmetz 2012-08-25 01:23:35 UTC
Created attachment 322144 [details, diff]
dhclient ppp fix

The patch fixes dhclient to be usable on ppp devices. It is based on and enhanced to generate a DUID necessary for dhclient operation.

With the attached patch "dhclient -S ppp0" succeeds for me.
Comment 2 Jan Seiffert 2012-12-02 10:22:16 UTC
I can confirm.

Without this patch all i get is:
Bound to *:546
Unsupported device type 512 for "ppp0"

This is becomming a little bit important.
The biggest german ISP is now starting to roll out native IPv6.

PPP will only handshake a link local addr, everything else
(dns, delegated prefix, etc) needs DHCPv6 over PPP.

from the Fedora Bug report, this seems the way it is supposed to be:
Comment 3 Alexander E. Patrakov 2014-11-19 19:32:30 UTC
The patch no longer applies
Comment 4 Andreas Steinmetz 2014-11-20 14:44:23 UTC
Created attachment 389858 [details, diff]
patch adapted for dhcp-4.3.1
Comment 5 SpanKY gentoo-dev 2014-11-21 08:07:34 UTC
(In reply to Andreas Steinmetz from comment #1)

can you post a link to the dhcp-users mailing that attachment came from ?