From: Denys Vlasenko
> Sent: 13 December 2022 15:22
>
> On Fri, Dec 9, 2022 at 5:09 PM John Lemonovich
> <[email protected]> wrote:
> > Hello Denys,
> >
> > I am working on an embedded Linux project using an intel Arria 10 FPGA and
> > have been using IPv4 for
> a long time, and now need IPv6. I found your email online searching for
> help. I have many things
> working with IPv6, but the one thing I can’t get to work is udhcpc6 – it will
> not acquire an IP
> address via DHCPv6 (tried with multiple servers). I’m really stuck and
> looking for any help – even a
> pointer to documentation maybe I’m missing?
>
> Sorry, I myself have no DHPCv6 server to test against...
>
> > If I look at the tcpdump output – the solicit packets go out with a null
> > source address (all 0’s -
> just as :: )
>
> Which kind of makes sense, if you think about it. DHCP client does not
> _have_ an IP address yet,
> this is the whole point of DHCP: to obtain an address...
They do need to go out from the link-local address.
Whatever starts udhcp6 needs to wait for it to be created.
I don't remember any issues getting the initial response though.
You will need to write a proper IPv6 version of the script that
actually does the work.
Also dhcp6 only gives you an address, the 'router advertise' stuff
also has to be enabled (autoconf can be left disabled, but you need
to be on a network where it would work).
David
>
> > and the server doesn’t know how to reply (unreachable).
>
> I would imagine server can/should reply with a broadcast, right?
>
> > My link local address is set to:
> > inet6 fe80::da80:39ff:fed8:90a0 prefixlen 64 scopeid 0x20<link>
> > but yet udhcpc6 seems to put just :: in for the source address.
>
> But what if the iface has no link-local address either?
> Then udhcpc6 would have no choice but leave it not filled.
> And a good server implementation should deal with such incoming packets.
>
> > If there’s a better place to post this - please let me know.
>
> CCed to busybox ML.
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT,
UK
Registration No: 1397386 (Wales)
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox