root@solaris11test:~# netadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:phys net3 offline
ncu:phys net0 offline
ncu:phys net1 offline
ncu:phys net5 online
ncu:phys net2 online
ncu:phys net4 offline
ncu:ip net3 offline
ncu:ip net0 offline
ncu:ip net1 offline
ncu:ip net5 offline*
ncu:ip net2 offline*
ncu:ip net4 offline
ncp DefaultFixed disabled
loc Automatic offline
loc NoNet online
loc DefaultFixed offline
root@solaris11test:~# netadm enable -p ncp DefaultFixed
Enabling ncp 'DefaultFixed'
root@solaris11test:~# netadm listNov 9 09:28:11 solaris11test sendmail[21005]: My
unqualified host name (solaris11test) unknown; sleeping for retry
TYPE PROFILE STATE
ncp Automatic disabled
ncp DefaultFixed online
loc Automatic offline
loc NoNet offline
loc DefaultFixed online
root@solaris11test:~# Nov 9 09:28:14 solaris11test sendmail[21068]: My unqualified
host name (solaris11test) unknown; sleeping for retry
Nov 9 09:29:07 solaris11test scsi: WARNING: /pci@400/pci@1/pci@0/pci@2/LSI,sas@0
(mpt_sas0):
Nov 9 09:29:07 solaris11test passthrough command timeout
root@solaris11test:~#
root@solaris11test:~# dlaNov 9 09:29:14 solaris11test sendmail[21068]: unable to
qualify my own domain name (solaris11test) -- using short name
Nov 9 09:29:14 solaris11test sendmail[21068]: [ID 702911 mail.alert] unable to
qualify my own domain name (solaris11test) -- using short name
dm^C
root@solaris11test:~#
root@solaris11test:~#
root@solaris11test:~#
root@solaris11test:~# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net3 Ethernet unknown 0 unknown e1000g1
net0 Ethernet unknown 0 unknown igb0
net1 Ethernet unknown 0 unknown igb1
net5 Ethernet unknown 1000 full e1000g3
net2 Ethernet unknown 1000 full e1000g0
net4 Ethernet unknown 0 unknown e1000g2
net6 Ethernet up 10 full usbecm2
root@solaris11test:~# ipadm create-ip net2
root@solaris11test:~# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
net2 ip down no --
net6 ip ok yes --
root@solaris11test:~#
root@solaris11test:~#
root@solaris11test:~# ipadm create-addr -T static -a 10.100.48.74/24 net2/acme
root@solaris11test:~# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
net2 ip ok yes --
net6 ip ok yes --
root@solaris11test:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net2/acme static ok 10.100.48.74/24
net6/v4 static ok 169.254.182.77/24
lo0/v6 static ok ::1/128
root@solaris11test:~#
root@solaris11test:~# route -p add default 10.100.48.254
add net default: gateway 10.100.48.254
add persistent net default: gateway 10.100.48.254
root@solaris11test:~#