How to find the MAC address from OKP in Solaris

Say if you are configuring jumpstart/AI server for your Solaris environment, you will need to find out the MAC address of your physical/virtual network port. These commands will come in handy.

{0} ok devalias
net3 /pci@600/pci@2/pci@0/pci@3/network@0,1
net2 /pci@600/pci@2/pci@0/pci@3/network@0
virtual-console /virtual-devices/console@1
name aliases
{0} ok cd net2
{0} ok .properties
local-mac-address 00 21 28 fa 8c fa
mac-addresses 00 21 28 fa 8c fa

To check what is the MAC address presented externally

{0} ok printenv
Variable Name Value Default Value

local-mac-address? true true

{0} ok

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: