http://defect.opensolaris.org/bz/show_bug.cgi?id=10310


amaguire <alan.maguire at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan.maguire at sun.com




--- Comment #2 from amaguire <alan.maguire at sun.com>  2009-07-28 09:45:33 ---
on refresh, we transition IP state from the old NCU to the new via
nwamd_transition_ip_state(). Its job is to walk thru the old addresses,
and for each, find if it is on the new list. If so, and the old address's
configured value is true, we mark the new address as configured also.

If an old address isn't on the new list, we ultimately remove it.

When it comes to setting addresses then, in
nwamd_configure_interface_addresses(),
we

- iterate through the interfaces, marking any static addresses already
configured as such
- count how many static addresses are configured, both v4 and v6
- add any leftovers, using logical interfaces iff DHCP is configured and no
other addresses have been assigned

We do all this to minimize the amount of address churn and so as not to touch
addresses that may have been assigned as part of ENM configuration (e.g.
punchin).

If duplicates are being set, I'd suspect the place to look is in the address
matching logic.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to