Hi,
Here is what I've got. what is the problem of net0? why isn't it "192.168.168.21"?
huamin@SOL11I:~$ netadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:phys net0 online
ncu:phys net1 online
ncu:ip net0 offline*
ncu:ip net1 online
ncp DefaultFixed disabled
loc Automatic online
loc NoNet offline
loc DefaultFixed offline
loc huamin.com offline
huamin@SOL11I:~$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
net0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask ff000000
net1: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 3
inet ?.?.255.183 netmask fffff000 broadcast ?.?.255.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
net0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::a00:27ff:fe04:7c5e/10
net1: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
inet6 fe80::a00:27ff:fead:2a7/10
huamin@SOL11I:~$
Example 7-2 Switching the Default NCP
Switching network configuration modes requires you to enable the appropriate NCP for that configuration mode. The following example shows how to switch from automatic network configuration mode to manual network configuration mode by enabling the DefaultFixed NCP.
$ netadm enable -p ncp DefaultFixedSwitch to the Automatic NCP as follows:
$ netadm enable -p ncp Automatic
I know I can change it to Automatic or DefaultFixed.
Does it mean the server would be only with either one Automatic IP (from ISP) or one DefaultFixed one? Can I achieve the same as that of Linux server, like net0 is with one Fixed IP, and net1 with Allocated IP (from ISP)?