<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Michel,<br>
<br>
sorry, i don't have an OpenWrt device that's using DHCPv6 in
client mode.<br>
But it should be easy. Make sure the 'odhcp6c' package is
installed (which is the case by default).<br>
Then change the protocol option for the interface:<br>
<br>
/etc/config/network<br>
<br>
config interface 'eth0'<br>
option proto 'dhcpv6'<br>
<br>
Check out this link to see als available options for the DHCPv6
client mode:<br>
<a moz-do-not-send="true"
href="https://openwrt.org/docs/guide-user/network/ipv6/configuration#protocol_dhcpv6"
class="moz-txt-link-freetext">https://openwrt.org/docs/guide-user/network/ipv6/configuration#protocol_dhcpv6</a><br>
<br>
<br>
As far is i can see, you can only use OpenWrt in DHCPv4 client
mode <u>OR</u> in DHCPv6 client mode. So i guess, you have to
write a small script. First try DHCPv6 and check if you can
successfully get a configuration. If not, fall back to DHCPv4.
Continuously toggle between DHCPv6 and DHCPv4 as long as you don't
get a configuration. I would begin this loop with DHCPv6. Also
keep in mind, that some DHCP server respond slow, so better wait a
little bit, before switching the protocol.<br>
<br>
<br>
BR,<br>
Simon<br>
<br>
<br>
<br>
On 15.05.23 09:12, Michel Stam wrote:<br>
</div>
<blockquote type="cite"
cite="mid:46770193-A250-443D-837F-EE82CA2C9FB1@ripe.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Hi,
<div><br>
</div>
<div>Good discussion!</div>
<div><br>
</div>
<div>I’m currently looking at basing all the probes (3, 4 and 5)
on OpenWRT 22.03 which is the latest stable. What I’ll do is
take this along in the deliberations, and see if I can fit this
into the firmware image somehow.</div>
<div><br>
</div>
<div>Simon: can you provide the exact setup you use for testing?
(Config snippets etc) I typically don’t have a problem on my
setup here, but thats RA + DHCPv6, I don’t use DHCPv6 for the
actual assignment.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Michel<br>
<div><br>
<blockquote type="cite">
<div>On 9 May 2023, at 20:27, Simon Brandt via ripe-atlas
<a class="moz-txt-link-rfc2396E" href="mailto:ripe-atlas@ripe.net"><ripe-atlas@ripe.net></a> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div>
<div class="moz-cite-prefix">That should be "odhcp6c"<br>
<br>
<a class="moz-txt-link-freetext"
href="https://openwrt.org/packages/pkgdata/odhcp6c"
moz-do-not-send="true">https://openwrt.org/packages/pkgdata/odhcp6c</a><br>
<a class="moz-txt-link-freetext"
href="https://github.com/openwrt/odhcp6c"
moz-do-not-send="true">https://github.com/openwrt/odhcp6c</a><br>
<br>
<br>
BR,<br>
Simon<br>
<br>
On 09.05.23 20:22, Philip Homburg wrote:<br>
</div>
<blockquote type="cite"
cite="mid:m1pwRye-0000KeC@stereo.hq.phicoh.net"><br>
<pre class="moz-quote-pre" wrap="">In any case, Atlas probes run a stripped down version of OpenWRT. It may help
if somebody can figure out which OpenWRT packages need to be added to
enable DHCPv6.
</pre>
</blockquote>
<br>
</div>
-- <br>
ripe-atlas mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:ripe-atlas@ripe.net">ripe-atlas@ripe.net</a><br>
<a class="moz-txt-link-freetext" href="https://mailman.ripe.net/">https://mailman.ripe.net/</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>