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

           Summary: Static IP ncus have problems
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: John.Leser at sun.com
         QAContact: nwam-dev at opensolaris.org


bash-3.2# nwamcfg export
create ncp "User"
create ncu phys "e1000g0"
set activation-mode=prioritized
set priority-group=0
set priority-mode=shared
end
create ncu ip "e1000g0"
set ip-version=ipv4
set ipv4-addrsrc=static
set ipv4-addr="10.8.57.93/24"
end
end
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 
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index
108
        inet 0.0.0.0 netmask ff000000 
        ether 0:14:4f:20:82:24 
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
108
        inet 10.8.57.93 netmask ffffff00 broadcast 10.255.255.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
        inet6 ::1/128 
bash-3.2# nwamadm list
TYPE         PROFILE        STATE          
ncp          User           online         
 ncu:phys    e1000g0        online         
 ncu:ip      e1000g0        offline*       
ncp          Automatic      offline        
loc          Automatic      offline        
loc          NoNet          online         
loc          Legacy         offline        

The static ip ncu never comes online, and also the system is trying to do DHCP
as well, on e1000g0, with the static address on e1000g0:1, which is clearly
wrong.  Finally, the broadcast address is wrong for the static IP with /24
mask.

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