Hardware Platform
|
Host ID Description
|
How to Obtain the Host ID
|
Sample Host ID
|
Sun SPARC
|
32-bit host ID
|
Enter the hostid command.
|
170a3472
|
HP 9000
|
32-bit host ID
|
echo `uname -i` 16o p | dc
|
778DA4550
|
Alpha
|
Ethernet address
|
/usr/sbin/netstat -i
In the output from this command, look in the Address column for a colon-separated, hexadecimal number, such as 8:0:2b:e6:87:59 . Note: To use this address as a host ID you must remove all colons (: ) and prefix any single-digit parts of the address with a zero (0). For example, the host ID for the address above would be 08002be68759 .
|
08002be68759
|
SGI
|
32-bit host ID
|
echo `/etc/sysinfo -s` 16o p | dc On systems with multiple CPUs, use the first host ID.
|
90D40225
|
IBM RS/6000
|
32-bit host ID
|
Enter the uname -m command. Remove the last two digits and use the lowest eight digits, ignoring any high level zeros.
|
00249477
|
Linux
|
Ethernet address
|
/sbin/ifconfig eth0
Use the colon-separated, hexadecimal number to the right of HWaddr , such as 8:0:2b:e6:87:59 . Note: To use this address as a host ID you must remove all colons (: ) and prefix any single-digit parts of the address with a zero (0). For example, the host ID for the address above would be 08002be68759 .
|
08002be68759
|
Mac OS X
|
Ethernet address
|
Open the Apple System Profiler application in /Applications/Utilities . Look in the Network overview of the System Profile. You can also use the command:
netstat -I en0 assuming en0 is the Ethernet interface. Use the period-separated, hexadecimal number, such as 8.0.2b.e6.87.59 . Note: To use this address as a host ID you must remove the periods (. ) and prefix any single-digit parts of the address with a zero (0). For example, the host ID for the address above would be 08002be68759 .
|
08002be68759
|