20090122 checking network interfaces on solaris - plembo/onemoretech GitHub Wiki
title: Checking network interfaces on Solaris link: https://onemoretech.wordpress.com/2009/01/22/checking-network-interfaces-on-solaris/ author: lembobro description: post_id: 393 created: 2009/01/22 19:27:52 created_gmt: 2009/01/22 19:27:52 comment_status: open post_name: checking-network-interfaces-on-solaris status: publish post_type: post
Checking network interfaces on Solaris
Just a quick note. This is for Sun Solaris. All commands need to be performed as root.
ndd -get /dev/hme link_status ndd -get /dev/hme link_mode ndd -get /dev/hme link_speed
The output of each of these would have the following meaning:
link_status: 0=down 1=up link_mode: 0=half duplex 1=full duplex link_speed: 0=10Mbps 1=100Mbps
To get the MAC address of the physical interface do a ifconfig -a
. Again, as root. Doing this as a user will only give you the interface name and IP/subnet mask assigned to each logical interface, but not the MAC address (which is shared by all logical interfaces).
Copyright 2004-2019 Phil Lembo