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

           Summary: 'ncu:ip' should not go into 'online' at first, instead
                    of 'offline*'
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-08-31
          Severity: normal
          Priority: P3
         Component: CLI
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: lizhong.li at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Lizhong Li <lizhong.li at sun.com> 2009-09-02 08:07:55 UTC 
---
Created an attachment (id=2567)
nwamd log for 0831

When I enable nwam with Automatic ncp enabled, the 'ncu:ip' goes into 'online'
first, if the interface can't get valid dhcp address, then after about 100
seconds, it will change into 'offline*', I'm not sure if this is the designed
behavior, since I'd like to see all 'ncu:ip's go into 'offline*' first, then if
one gets a valid address, it will turn into 'online'.

    bash-3.2# nwamadm list
    TYPE         PROFILE        STATE         
    ncp          Automatic      online        
    ncu:ip       bge1           offline       
    ncu:phys     bge1           offline       
    ncu:ip       bge3           online        
    ncu:phys     bge3           online        
    ncu:ip       bge2           online        
    ncu:phys     bge2           online        
    ncu:ip       bge0           online        
    ncu:phys     bge0           online        
    loc          Legacy         offline       
    loc          NoNet          offline       
    loc          Automatic      online        

    bash-3.2# nwamadm list
    TYPE         PROFILE        STATE         
    ncp          Automatic      online        
    ncu:ip       bge1           offline       
    ncu:phys     bge1           offline       
    ncu:ip       bge3           online        
    ncu:phys     bge3           online        
    ncu:ip       bge2           offline*      
    ncu:phys     bge2           online        
    ncu:ip       bge0           offline*      
    ncu:phys     bge0           online        
    loc          Legacy         offline       
    loc          NoNet          offline       
    loc          Automatic      online        


    bash-3.2# ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
        inet 127.0.0.1 netmask ff000000
    bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500
index 86
        inet 0.0.0.0 netmask ff000000
        ether 0:14:4f:79:97:d2
    bge2: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500
index 88
        inet 0.0.0.0 netmask ff000000
        ether 0:14:4f:79:97:d4
    bge3: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500
index 87
        inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
        ether 0:14:4f:79:97:d5
    lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
        inet6 ::1/128
    bge0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 86
        inet6 fe80::214:4fff:fe79:97d2/10
        ether 0:14:4f:79:97:d2
    bge2: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 88
        inet6 fe80::214:4fff:fe79:97d4/10
        ether 0:14:4f:79:97:d4
    bge3: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 87
        inet6 fe80::214:4fff:fe79:97d5/10
        ether 0:14:4f:79:97:d5

    bash-3.2# uname -a
    SunOS firering 5.11 nwam1-build:2009-08-31 sun4u sparc SUNW,Sun-Fire-V215

-- 
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