Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1015809: isc-dhcp-client: DHCPv6 doesn't work on ppp interface, got `Unsupported device type` error

238 views
Skip to first unread message

Yuxiang Zhu

unread,
Jul 21, 2022, 3:10:03 PM7/21/22
to
Package: isc-dhcp-client
Version: 4.4.1-2.3
Severity: important
Tags: ipv6 patch upstream
X-Debbugs-Cc: vfr...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***

isc-dhcp-client can't be used on PPP interfaces:

```
$ sudo dhclient -6 -d -cf ./dhclient6_pppoe0.conf -pf
dhclient6_pppoe0.pid -lf $PWD/dhclient6_pppoe0.leases -N pppoe0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Unsupported device type 512 for "pppoe0"
```

My IPS assigns IPv6 addresses and prefixes using DHCPv6 over PPPoE.
WIDE DHCPv6 client supports DHCPv6 over PPP however it is not
feature-rich as ISC DHCP Client. I would like to use ISC DHCP if this
issue is fixed.

I found this thread
https://lists.isc.org/pipermail/dhcp-users/2020-February/021991.html on
ISC mailing list, which mentioned an old patch. I also found Fedora has
an up-to-date patch
https://src.fedoraproject.org/rpms/dhcp/blob/rawhide/f/0013-DHCPv6-over-PPP-support-626514.patch.

I tested this patch with
https://salsa.debian.org/debian/isc-dhcp/-/tree/master/debian/patches
locally and it is working fine.

I saw ISC has stopped maintaining the DHCP client. Is it possible to
accept this patch to Debian?

-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-15-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-client depends on:
ii debianutils 4.11.2
ii iproute2 5.10.0-4
ii libc6 2.31-13+deb11u3
ii libdns-export1110 1:9.11.19+dfsg-2.1
ii libisc-export1105 1:9.11.19+dfsg-2.1

Versions of packages isc-dhcp-client recommends:
ii isc-dhcp-common 4.4.1-2.3

Versions of packages isc-dhcp-client suggests:
pn avahi-autoipd <none>
pn isc-dhcp-client-ddns <none>
pn resolvconf <none>

-- no debconf information

Steven Haigh

unread,
Jul 22, 2023, 5:40:05 AM7/22/23
to
It looks like this report is over a year old - but there's been no movement on it.

It seems that a PD request won't work on Debian 12 either using 4.4.3.

Is there any reason as to why this patch hasn't been added?
--
Steven Haigh 📧 net...@crc.id.au 💻 https://crc.id.au

Steven Haigh

unread,
Jul 22, 2023, 10:50:05 PM7/22/23
to
Ok, so after a day of messing around with Debian 12, it looks like without these patches applied, there is no way to get a IPv6 PD working with a PPPoE connection. Given the majority of ISPs in Australia use PPPoE as their connection method, this is a much bigger issue in this country than where the maintainers of this package live.

wide-dhcpv6-client doesn't seem to interpret the reply from the ISP as a valid one.

dibbler-client binds to the wrong LL address and fails to open a socket.

Copying the dhclient binary from a Fedora 38 install and using that works perfectly - which is using the Fedora patches for dhclient v4.4.3.

The current, functioning patch from Fedora is here:

How are we able to fix this properly instead of a 'copy the binary from Fedora' type fix?

Santiago Ruano Rincón

unread,
Sep 15, 2023, 3:40:05 AM9/15/23
to
Sorry, I really missed this bug report. That said, since the EOL of
isc-dhcp-server, I reduced the priority given to isc-dhcp.

If isc-dhcp is that broken for .au, I could consider a stable update,
after this has been solved in unstable and confirmed doesn't break
anything.

Cheers,

-- Santiago
signature.asc

Steven Haigh

unread,
Sep 15, 2023, 9:00:05 AM9/15/23
to
I'd suggest that even if nothing else, the package is updated with the same patches that Fedora have done - just to make the functionality the same - ie it actually works.

I know IPv6-PD isn't really wide-spread, but its enough that there should be at least one functional method to do it within Debian.

At that point, you're right - it'll probably not get much attention again afterwards.
--
Steven Haigh 📧 net...@crc.id.au 💻 https://crc.id.au

Santiago Ruano Rincón

unread,
Oct 23, 2023, 9:10:05 AM10/23/23
to
Hi,

El 15/09/23 a las 22:40, Steven Haigh escribió:
> I'd suggest that even if nothing else, the package is updated with the same
> patches that Fedora have done - just to make the functionality the same - ie
> it actually works.
>
> I know IPv6-PD isn't really wide-spread, but its enough that there should be
> at least one functional method to do it within Debian.

Regarding IPv6-PD in stable, I am preparing an upload, but I am unable
to actually test it. Are you able to give it a try?

You can use the repo described here:
https://debian.pages.debian.net/-/isc-dhcp/-/jobs/4842324/artifacts/aptly/index.html

Cheers,

-- Santiago
signature.asc

Steven Haigh

unread,
Oct 24, 2023, 6:00:05 AM10/24/23
to
I don't run Debian on that system anymore due to other issues I came across - however, if I can extract the dhclient binary, I can probably test that on my current setup. That was my workaround using the Fedora dhclient binary for a while on the Debian install.
--
Steven Haigh 📧 net...@crc.id.au 💻 https://crc.id.au
0 new messages