http://defect.opensolaris.org/bz/show_bug.cgi?id=14427
Summary: GUI needs to alert users for "Duplicate address
detected" case when this problem occurs
Classification: Development
Product: nwam
Version: nwam1_133
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: GUI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: alan.maguire at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from amaguire <alan.maguire at sun.com> 2010-02-08 16:35:38 UTC
---
With the fix for defect
14367 nwamd is only intermittently handling duplicate address detection
...in place, the GUI (I think the panel applet would be a good place to report
this) should report the fact that duplicate address(es) have been detected for
an interface NCU. nwamadm list -x shows:
TYPE PROFILE STATE AUXILIARY STATE
ncp Automatic disabled disabled by administrator
ncp User online active
ncu:phys bge0 online interface/link is up
ncu:ip bge0 maintenance duplicate address detected
loc Automatic offline conditions for activation are unmet
loc NoNet online active
loc User offline conditions for activation are unmet
In this case, we have configured bge0 to have a duplicate static address. This
can be done easily enough - in this case I am configuring bge0 to have a
duplicate address of 192.168.1.8/24
nwamcfg
> select ncp User
> select ncu ip bge0
> set ipv4-addrsrc = static
> set ipv4-addr = 192.168.1.8/24
> commit
The GUI can detect DAD scenarios via the (NWAM_STATE_MAINTENANCE,
NWAM_AUX_STATE_IF_DUPLICATE_ADDR) OBJECT_STATE event. Maintenance state
resulting from DAD will only be cleared if the user changes the address to a
non-conflicting one and refreshes, e.g.
nwamcfg
> select ncp User
> select ncu ip bge0
> set ipv4-addrsrc = static
> set ipv4-addr = 192.168.1.9/24
> commit
As I mentioned above, DAD is broken in nwam1_133, BFU archives with this fix
will be available at:
/net/zhadum.east/export/ws/amaguire/nwam1/archives/sparc/nightly
/net/trigati.east/export/build/amaguire/nwam1/archives/i386/nightly
...in a few hours.
I think it'd be good if we could make this event quite apparent to users, e.g.
mouseover would show "Wired (bge0): duplicate address detected" and when the
maintenance state event is first caught by the GUI, perhaps a balloon message
(like the ones for NCU switch, wifi connection etc) would be helpful too.
--
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.