http://defect.opensolaris.org/bz/show_bug.cgi?id=10692
Summary: Static addresses are much too static
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: John.Leser at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from John Leser <John.Leser at sun.com> 2009-08-14 21:35:59 UTC
---
Changing a static address assignment while nwam is running doesn't change the
address actually assigned to the interface. This is with
nwam1-build:2009-08-10. I think this may be a relatively recent regression,
because I recall the test for this working right before we started the test
code review. The affected test cases are event:17-28.
This one is easy to reproduce:
bash-3.2# nwamcfg export
create ncp "User"
create ncu phys "e1000g0"
set activation-mode=manual
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# nwamadm enable -p ncp User
Enabling ncp 'User'
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp User online
ncu:phys e1000g0 online
ncu:ip e1000g0 online
ncp Automatic offline
loc Automatic online
loc NoNet offline
loc Legacy offline
bash-3.2# ifconfig e1000g0
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index
6
inet 10.8.57.93 netmask ffffff00 broadcast 10.8.57.255
ether 0:14:4f:20:82:24
bash-3.2# nwamcfg
nwamcfg> select ncp User
nwamcfg:ncp:User> select ncu ip e1000g0
nwamcfg:ncp:User:ncu:e1000g0> set ipv4-addr=10.0.8.252/24
nwamcfg:ncp:User:ncu:e1000g0> end
Committed changes
nwamcfg:ncp:User> end
nwamcfg> end
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp User online
ncu:phys e1000g0 online
ncu:ip e1000g0 online
ncp Automatic offline
loc Automatic online
loc NoNet offline
loc Legacy offline
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
6
inet 10.8.57.93 netmask ffffff00 broadcast 10.8.57.255
ether 0:14:4f:20:82:24
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
bash-3.2# sleep 120
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
6
inet 10.8.57.93 netmask ffffff00 broadcast 10.8.57.255
ether 0:14:4f:20:82:24
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
I'm not sure if this is a CLI, library or deamon problem.
--
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.