Solaris Network Configuration

5. Troubleshooting Solaris 11 network intefaces

1. List network config events in verbose mode to see changes in the state

$ netadm show-events -v
EVENT                    DESCRIPTION                                            
OBJECT_ACTION           ncp Automatic -> action enable
OBJECT_STATE            ncp Automatic -> state online, active
OBJECT_STATE            ncu link:net0 -> state offline*, (re)initialized but not config
...
OBJECT_STATE            ncu interface:net0 -> state offline*, waiting for IP address to
....
OBJECT_STATE            loc NoNet -> state offline*, method/service executing
....
IF_STATE                net0 -> state flags 1004843 addr 10.153.125.198/24
....
OBJECT_STATE            loc Automatic -> state offline*, method/service executing
....

Check on intefrace link state with eXtented stats , offline generally is connection or cable problem

$ netadm list -x
TYPE        PROFILE        STATE          AUXILIARY STATE
ncp         DefaultFixed   offline        disabled by administrator
...
ncu:phys    net0           offline        interface/link is down
....
loc         DefaultFixed   offline        conditions for activation are unmet
$

Show inteface and its st

ate

# ipadm show-if
IFNAME       CLASS        STATE     ACTIVE     OVER
lo0          loopback     ok        yes        --
net0         ip           ok        yes        --

Show ip address , type & status of network interface

For all intefaces

# ipadm show-addr
ADDROBJ          TYPE       STATE     ADDR
lo0/v4           static     ok        127.0.0.1/8
net0/v4          static     ok        192.168.1.114/24

for selected Inteface

# ipadm show-addr net0
ADDROBJ          TYPE       STATE     ADDR
net0/v4          static     ok        192.168.1.114/24
net0/v4a         static     ok        10.0.1.1/24

Show inteface properties with MTU details

# ipadm show-ifprop -p mtu net0
IFNAME  PROPERTY  PROTO  PERM  CURRENT  PERSISTENT  DEFAULT  POSSIBLE
net0    mtu       ipv4   rw    1500      --         1500     68-1500

Show interface properties

# ipadm show-addrprop net0/v4
ADDROBJ PROPERTY PERM CURRENT PERSISTENT DEFAULT POSSIBLE
net1/v4 broadcast r- 192.168.1.255 — 192.168.1.255 —
net1/v4 deprecated rw off — off on,off
net1/v4 prefixlen rw 24 24 24 1-30,32
net1/v4 private rw off — off on,off
net1/v4 transmit rw on — on on,off
net1/v4 zone rw global — global —

NEXT PAGE – Solaris Network configuration for earlier Solaris versions

Pages: 1 2 3 4 5

Leave a Reply

Your email address will not be published. Required fields are marked *