Host ID 알아내기
1. 입력방법
| 운영체제(OS) | Host ID 예 | 비고 |
| HP HPUX | 08-00-09-C4-3B-E2 (또는)C9-FA-A6-7D |
MAC Address (또는)node name |
| Intel Linux | 00-A0-CC-23-39-3F (또는)C9-FA-A6-7D |
MAC Address (또는)node name |
| Silicon Graphics SGI IRIX | 08-00-69-08-92-F6 | MAC Address |
| Solaris | 80-8A-30-D2 | node name |
| IBM RS6000 AIX | 00-02-55-3A-0C-7B (또는)C9-FA-A6-7D |
MAC Address (또는)node name |
| Compaq Alpha Tru64 Unix | 00-02-55-3A-0C-7B | MAC Address |
| Windows 98/NT/2000/XP | 00-30-6E-0A-26-08 | MAC Address |
2. Host ID 알아내기
|
DOCRUZER 제품은 제품을 설치할 서버 기계의 MAC Address등의 서버 고유 번호(Host ID)로 라이센스를 제공합니다.
Solaris를 제외한 다른 OS의 경우에는 MAC Address를 Host ID로 사용하고, Solaris의 경우에는 node name을 서버의 Host ID로 사용합니다. HP HPUX (HPPA), Intel Linux, IBM RS6000 AIX는 node name도 사용 가능합니다.
이 Host ID는 서버 기계의 네트워크 카드나 CPU에 대한 고유 번호로서, 다음과 같은 형식으로 되어 있습니다.
|
| 운영체제(OS) | 명렁어 | 비고 |
| HP HPUX | lanscan | See additional Notes below. |
| HP HPUX (HPPA) | /usr/bin/landiag | See additional Notes below. |
| HP HPUX (HPPA) - 2 (node name사용) | echo `/bin/uname -i` 16op | dc | See additional Notes below. |
| Intel Linux | /sbin/ifconfig eth0 | See additional Notes below. |
| Intel Linux - 2 (node name사용) | hostid | See additional Notes below. |
| Silicon Graphics SGI IRIX | nvram |grep eaddr or netstat -ia | See additional Notes below. |
| Solaris | hostid | See additional Notes below. |
| IBM RS6000 AIX | netstat -v | head | See additional Notes below. |
| IBM RS6000 AIX - 2 (node name사용) | hostid | See additional Notes below. |
| Compaq Alpha Tru64 Unix | netstat -ia | See additional Notes below. |
| Windows 98/NT/2000/XP | ipconfig /all or net config rdr | Run command from a command prompt. (See additional Notes below.) |
HP HPUX:
아래 "lanscan" 명령의 결과에서 "0x080009C43BE2"는 MAC Address "08-00-09-C4-3B-E2"을 의미하는데 이것이 Host ID이다.
% lanscan
Machine name: user [2] lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
8/16/6 0x080009C43BE2 0 UP lan0 UP 4 ETHER Yes 52
HP HPUX(HPPA):
아래 "/usr/bin/landiag" 명령의 결과에서 "0x1321d640bd"는 MAC Address "00-13-21-d6-40-bd"을 의미하는데 이것이 Host ID이다.
$ /usr/bin/landiag
LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
Wed, May 24,2006 20:42:26
Copyright 1994 Hewlett Packard Company.
All rights are reserved.
Test Selection mode.
lan = LAN Interface Administration
menu = Display this menu
quit = Terminate the Administration
terse = Do not display command menu
verbose = Display command menu
Enter command: lan
LAN Interface test mode. LAN Interface PPA Number = 0
clear = Clear statistics registers
display = Display LAN Interface status and statistics registers
end = End LAN Interface Administration, return to Test Selection
menu = Display this menu
ppa = PPA Number of the LAN Interface
quit = Terminate the Administration, return to shell
reset = Reset LAN Interface to execute its selftest
specific = Go to Driver specific menu
Enter command: display
LAN INTERFACE STATUS DISPLAY
Wed, May 24,2006 20:42:32
PPA Number = 0
Description = lan0 HP PCI Core I/O 1000Base-T Release B.11.11.21
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x1321d640bd
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 41974
HP HPUX(HPPA) - 2:
HP HPUX(HPPA)는 MAC Address외에 node name(hostid)를 Host ID로 사용 가능하다. "uname -i"의 결과를 hexa로 변환하여 사용한다.
$ uname -i
3388647037
$ echo 'obase=16; ibase=10; 3388647037' | bc
C9FAA67D
$ echo `/bin/uname -i` 16op | dc
C9FAA67D
Intel Linux:
아래 "/sbin/ifconfig eth0" 명령의 결과에서 "00:A0:CC:23:39:3F"는 MAC Address "00-A0-CC-23-39-3F"을 의미하는데 이것이 Host ID이다.
% /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:A0:CC:23:39:3F
inet addr:142.103.175.109 Bcast:142.103.175.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:786404 errors:0 dropped:0 overruns:0 frame:0
TX packets:534006 errors:0 dropped:0 overruns:0 carrier:0
collisions:47 txqueuelen:100
Interrupt:17 Base address:0xf400
Intel Linux - 2:
Intel Linux는 MAC Address외에 node name(hostid)를 Host ID로 사용 가능하다. "hostid"의 결과를 사용한다.
$ hostid
a8c00401
Silicon Graphics SGI IRIX:
(1) "nvram | grep eaddr" 명령의 결과에서 "08:00:69:08:92:f6"는 MAC Address "08-00-69-08-92-f6"를 의미하는데 이것이 Host ID이다.
% nvram | grep eaddr
Machine name: user [2] nvram |grep eaddr
eaddr=08:00:69:08:92:f6
(2)"netstat -ia" 명령의 결과에서 "08:00:69:08:92:f6"은 MAC Address "08-00-69-08-92-f6"를 의미하는데 이것이 Host ID이다.
% netstat -ia
Machine name: user [2] netstat -ia
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ec0 1500 cs-test behmer 6886085 0 8458212 0 720480
ALL-SYSTEMS.MCAST.N
08:00:69:08:92:f6
lo0 8304 looptop localhost 110596 0 110596 0 0
ALL-SYSTEMS.MCAST.N
Solaris:
"hostid" 명령의 결과에서 "808a30d2"는 node name(hostid) "80-8a-30-d2"를 의미하는데 이것이 Host ID이다.
% hostid
Machine name: user [2] hostid
808a30d2
IBM RS6000 AIX:
(1) "netstat -v | head " 명령의 결과에서 "00:02:55:3a:0c:7b"는 MAC Address "00-02-55-3a-0c-7b"를 의미한는데 이것이 Host ID이다.
% netstat -v | head
이더넷 통계 (ent0) :
장치 유형: 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
하드웨어 주소: 00:02:55:3a:0c:7b
경과 시간: 9일 15시간 51분 44초
전송 통계: 수신 통계:
-------------------- -------------------
패킷수: 4966575 패킷수: 6208768
바이트: 3043240596 바이트: 2457515598
(2) "netstat -ni " 명령의 결과에서 "0.2.55.3a.c.7b"는 MAC Address "00-2-55-3a-0c-7b"를 의미하는데 이것이 Host ID이다.
% netstat -ni 이름 Mtu 네트워크 주소 Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 0.2.55.3a.c.7b 6017119 0 4967198 0 0 en0 1500 192.168.1 192.168.1.13 6017119 0 4967198 0 0 lo0 16896 link#1 87690767 0 87689582 0 0 lo0 16896 127 127.0.0.1 87690767 0 87689582 0 0 lo0 16896 ::1 87690767 0 87689582 0 0
(3) "netstat -I en0 " 명령의 결과에서 "0002553A0C7B"는 MAC Address "00-2-55-3a-0c-7b"를 의미하는데 이것이 Host ID이다.
% netstat -I en0
Network Address.............0002553A0C7B
IBM RS6000 AIX - 2:
IBM RS6000 AIX는 MAC Address외에 node name(hostid)를 Host ID로 사용 가능하다. "hostid"의 결과를 사용한다.
$ hostid
a8c00401
Compaq Alpha Tru64 Unix:
"netstat -ia " 명령의 결과에서 "00:02:55:3a:0c:7b"는 MAC Address "00-02-55-3a-0c-7b"를 의미하는데 이것이 Host ID이다.
Windows 98/NT/2000/XP:
(1) "ipconfig /all" 명령의 결과에서 "00-30-6E-0A-26-08" 는 MAC Address "00-30-6E-0A-26-08"를 의미하는데 이것이 Host ID이다.
C:\users\default> ipconfig /all
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : CTAM03D
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : konantech.com
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : konantech.com
Description . . . . . . . . . . . : Intel(R) 82559 Fast Ethernet LAN on
Motherboard
Physical Address. . . . . . . . . : 00-30-6E-0A-26-08
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 132.253.95.98
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 132.253.94.1
DNS Servers . . . . . . . . . . . : 132.253.94.254
132.253.253.254
Primary WINS Server . . . . . . . : 132.253.101.34
Secondary WINS Server . . . . . . : 132.253.105.36
(2) "net config rdr" 명령의 결과에서 "00306E0A2608"는 MAC Address "00-30-6E-0A-26-08"을 의미하는데 이것이 Host ID이다.
C:\users\default> net config rdr
Computer name \\CTAM03D
Full Computer name CTAM03D
User name bajayi
Workstation active on
NetbiosSmb (000000000000)
NetBT_Tcpip_{09A22DBC-4B67-40E8-A916-BB7DA738FD03} (00306E0A2608)
Software version Windows 2000
Workstation domain PTCMASTER
Workstation Domain DNS Name (null)
Logon domain PTCNET
COM Open Timeout (sec) 0
COM Send Count (byte) 16
COM Send Timeout (msec) 250
The command completed successfully.