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
Status: UNCONFIRMED
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
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
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: ---


Attachments
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. 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 ?