tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rtsol



On 21/10/2014 15:09, Robert Swindells wrote:
>> I don't know why it doesn't set an address though.
>> Can you post the output of dhcpcd -dT6 --nodhcp rtk0 please?
> 
> dhcpcd[244]: version 6.5.1 starting
> dhcpcd[244]: DUID 00:01:00:01:1b:ca:5e:a8:00:13:d4:bb:35:ed
> dhcpcd[244]: rtk0: IAID f2:75:b2:f0
> dhcpcd[244]: rtk0: delaying IPv6 router solictation for 0.4 seconds
> dhcpcd[244]: rtk0: soliciting an IPv6 router
> dhcpcd[244]: rtk0: sending Router Solicitation
> dhcpcd[244]: rtk0: Router Advertisement from fe80::3e4a:92ff:fe77:c13c
> dhcpcd[244]: rtk0: executing `/libexec/dhcpcd-run-hooks' TEST
> interface=rtk0
> pid=244
> reason=TEST
> skip_hooks='lookup-hostname  resolv.conf'
> ifcarrier=up
> ifflags=4294936643
> ifmtu=1500
> ifwireless=0
> ra1_addr=2001:8b0:beb9:11c7:215:f2ff:fe75:b2f0/64
> ra1_from=fe80::3e4a:92ff:fe77:c13c
> ra1_prefix=2001:8b0:beb9:11c7::/64
> ra_count=1
> dhcpcd[244]: rtk0: No DHCPv6 instruction in RA
> dhcpcd[244]: exited
> 
> There was also a kernel message printed when dhcpcd ran at boot:
> 
> nd6_dad_timer: called with non-tentative address 2001:8b0:beb9:11c7:215:f2ff:fe75:b2f0(rtk0)

Please update sys/netinet6/in6.c to version 1.177 which should hopefully
fix this.

>>>> As you're setting one interface via the flags and not dhcpcd.conf I
>>>> would recommend adding the M flag as well in-case you want to use any
>>>> dhcpcd tools further down the road.
>>>
>>> I just followed the suggestion in the new rtsol man page.
>>>
>>> I think users are going to get bitten by this when upgrading to
>>> NetBSD-7.
>>
>> The example in the man page is just for testing purposes, it even states
>> that. For example, the --nodhcp6 flag is only intended for testing as
>> the RA message will say if DHCPv6 should be started or not.
> 
> I don't want to run DHCPv6. I didn't need it before, why would I need it
> now ?

The difference is that you're explicitly saying you don't need it. If
you do this for say 100 nodes and later decide you do want DHCPv6 you
can change this in the router rather than 100 nodes.

Roy


Home | Main Index | Thread Index | Old Index