Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 432652

Summary: net-misc/dhcp - dhclient (ipv6) not enabled for ppp devices
Product: Gentoo Linux Reporter: Andreas Steinmetz <ast>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: kaffeemonster, O01eg, patrakov
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=626514
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dhclient ppp fix
patch adapted for dhcp-4.3.1

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. https://bugzilla.redhat.com/show_bug.cgi?id=626514 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
https://lists.isc.org/pipermail/dhcp-users/attachments/20100426/9deb431f/attachment.bin 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:
https://datatracker.ietf.org/doc/draft-ietf-v6ops-ipv6-cpe-router/
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 ?