dhcpcd-discuss

Re: Testing dhcpcd against TAHI (ipv6)

Roy Marples

Wed Mar 23 21:58:31 2016

Hi

On 23/03/2016 21:03, Shahid Mahmood wrote:
> I am running dhcpcd in ipv6 mode and testing with TAHI test suite for
> RFC3315.
> Has anyone done this?
> 
> for me, the very first test failed:
> 
> "Part A : Valid Reply message in response to Request"
> 
> dhcpcd is sending out "Router Solicitation" message at startup, where as
> TAHI test (as per
> RFC3315) expecting a "Solicit" with XID message.
> 
> dhcpcd started with:
> dhcpcd -6 eth0
> 
> (This is an ARM based embedded device)
> 
> dhclient e.g passes this test and sends out "Solicit XID:xx" right off
> the bat.
> 
> Is there something I am missing?

Yes - dhcpcd will not start DHCPv6 by default unless instructed to in
dhcpcd.conf (and not the stock dhcpcd.conf either) OR an IPv6 RA says
start DHCPv6 for Other or Managed.

You can start DHCPv6 by requesting a IA_NA, IA_TA or IA_PD.
Here is an example

interface eth0
ia_na

Roy

References:
Testing dhcpcd against TAHI (ipv6)Shahid Mahmood
Archive administrator: postmaster@marples.name