Renee and I discussed this yesterday and came up with the solution that 
if an NCU requests both v4 and v6 addresses, then both of them should 
come up (ignoring v6 link-local address) before the NCU moves to the 
online state.  We didn't think about static addresses.  What would be 
the correct state if v4 static address is configured, but v4 dhcp 
address is not and v6 is not configured?

I remember us discussing that an NCU will be considered online as long 
as at least one address on it remains.  This ignored whether the last 
remaining address is v4 or v6 or both.  I feel that the right thing to 
do for the NCU to be online as long as at least one address remains for 
each configure IP version.  So, if both v4 and v6 are configured, then 
the NCU will be online as long as at least one v4 and one v6 address 
(except link-local) remains.  If there is only one v4 address and no v6 
address, then the NCU changes to offline*/waiting state.

Thoughts?

Anurag


bugzilla at defect.opensolaris.org wrote:
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11103
>
>
>
> --- Comment #2 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-09-03 
> 16:09:53 UTC ---
> I think the RTM_NEWADDR routing socket messages for link-local addresses 
> should
> be ignored and should not generate any state change events.  Setting of the
> link-local addresses will always succeed and will stomp over the state of the
> interface NCUs.
>
>   

Reply via email to