IPv6 support with busybox

David Laight David.Laight at ACULAB.COM
Tue Apr 19 12:34:01 UTC 2022


I’d check that the script that udhcpc6 runs to configure IPv6 is actually doing something sensible.
Especially if you are also trying to use IPv4 as well.

You’ll need a network that is running (IIRC) radv – otherwise you won’t get a prefix length (aka netmask) or any routes.
So if IPv6 ‘autoconf’ (SLAAS) won’t give you a valid IPv6 config then neither will dhcpc6.

                David

From: busybox <busybox-bounces at busybox.net> On Behalf Of Vijay Khurdiya
Sent: 19 April 2022 13:05
To: busybox at busybox.net
Subject: Re: IPv6 support with busybox

Hi,
I installed busybox 1.29.3. I have tried to run tcpdump on my target to check on issue.
I am running udhcpc6 by command - (udhcpc6 -b -p /var/run/udhcpc.usb0.pid -i usb0)

Below is dump o/p. Please give me hints. Am I missing something?

-------------------------------------------------------------------------------------------------------
17:15:27.615913 IP6 (hlim 1, next-header UDP (17) payload length: 62) fe80::f896:11ff:fe12:1314.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=fdce7c (elapsed-time 65) (IA_NA IAID:986346022 T1:0 T2:0) (option-request DNS-server DNS-search-list) (Client-FQDN) (client-ID hwaddr type 1 fa9611121314))

On Tue, Apr 19, 2022 at 2:30 PM Vijay Khurdiya <vijay.khurdiya at gmail.com<mailto:vijay.khurdiya at gmail.com>> wrote:
Hi,
I would like to know from which version IPv6 support is available under busybox. I learned there is separate dameon  (udhcpc6) for IPv6.

I need to get an IPv6 address for Cellular network (M2M SIM).

Thanks

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20220419/12b4ca96/attachment.html>


More information about the busybox mailing list