http://defect.opensolaris.org/bz/show_bug.cgi?id=8495
Summary: IP plumbed on interface when IP NCU enabled but link NCU
disabled
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-04-23
Severity: critical
Priority: P2
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: Anurag.Maskey at Sun.COM
QAContact: nwam-dev at opensolaris.org
Blocks: 8486
If an IP NCUs is enabled even when the corresponding link NCU is disabled, IP
is plumbed on that interface. See example below. Even though the link NCU has
manual activation-mode in the example, the same is true for a link NCU with
prioritized activation-mode.
bash-3.2# nwamcfg
nwamcfg> select ncp User
nwamcfg:ncp:User> list ncu phys bge0
NCU:bge0
type link
class phys
parent "User"
activation-mode manual
enabled false
nwamcfg:ncp:User> list ncu ip bge0
NCU:bge0
type ip
class ip
parent "User"
ip-version ipv4,ipv6
ipv4-addrsrc dhcp
ipv6-addrsrc dhcp,autoconf
enabled false
nwamcfg:ncp:User> exit
bash-3.2# ifconfig bge0
ifconfig: status: SIOCGLIFFLAGS: bge0: no such interface
bash-3.2# nwamadm list -p ncp User
TYPE PROFILE STATE
ncp User online
ncu:link bge1 disabled
ncu:ip bge1 disabled
ncu:link bge0 disabled
ncu:ip bge0 disabled
bash-3.2# nwamadm enable -t ip bge0
Enabling ncu 'bge0'
bash-3.2# NIS domain name is solaris-labs.east.sun.com
bash-3.2# nwamadm list -p ncp User
TYPE PROFILE STATE
ncp User online
ncu:link adf0 uninitialized
ncu:link bge1 disabled
ncu:ip bge1 disabled
ncu:link bge0 disabled
ncu:ip bge0 online
bash-3.2# ifconfig bge0
bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 63
inet 10.8.57.50 netmask ffffff00 broadcast 10.8.57.255
ether 0:3:ba:94:2d:6a
--
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.