Support


Determining a Machine's HOST ID


All PTC products use the server machine's MAC or Ethernet Address for licensing purposes. This address is a permanent ID affixed to the Network Card and recognized on Ethernet based networks. PTC refers to this MAC or Ethernet Address as the HostID of the machine. This document outlines several options for determining the HostID of the machine being used for licensing the software. These options are listed in order of preference with the easiest and most reliable mechanism listed first.

PTC recognizes the HostID of a machine as a series of six, two digit numbers such as 00-12-24-56-78-9A except for SUN machines which has only a four, two digit sequence 10-10-56-78. On all Windows based PC's, a valid HostID must begin with either 00 or 08. On a Windows PC, a HostID that begins with any other combination of numbers will be seen as invalid.


Option 1: Using the PTC software CD

Mount the PTC software CD and execute setup on.

For Unix:

Mount the PTC software CD as defined in the Installation Guide, the CD jacket, or the Frequently Asked Questions Starting PTC.Setup  Once mounted and setup is run, the following screen should appear.

    This is an example of a HostID on a SUN machine.

      For Windows:

        Place the Pro/ENGINEER CD in the CD-ROM drive. An autorun feature should start PTC.Setup automatically. If the utility does not automatically start after a short period, select Start > Run from the Taskbar, and enter <cdrom_drive_letter>:\setup (i.e. e:\setup.exe).

        The HostID will be displayed in the first screen of the setup utility. As shown in the example below, the HostID of this machine is 00-B0-DO-78-A6-F7.

NOTE: If the HostID listed in PTC.Setup does not begin with either 00 or 08, contact PTC Technical Support for assistance.


Option 2: Download the PTC HOST_ID Utility
 

  1. Select the desired machine type from the following table to copy the host_id utility from the PTC web site.

  2.  
      Unix    
      HP 32bit HP 64bit Linux
      SGI

      SUN 32bit

      SUN 64bit
      Windows    

      NT/2000/XP

         
  3. Run the utility by typing the command as shown below in a Command or Shell window.  The "Host_id" utility returns the following results:
  4. Unix:

    Machine name:user [2] <machine_type>_host_id
    PTCHOSTID = 00-00-F8-35-A7-6C
    Windows: C:\users\default>\<machine_type>_host_id[.exe]
    PTC HOSTID = 00-30-6E-0A-26-08

     


Option 3: Machine Specific Command

Option three should be used only as a last resort in determining the HostID of a machine. Although these commands correctly determine the machine's HostID, the information from the command may require interpretation adding potential communication problems in correctly licensing the software.
Machine Type
Ethernet Address Command
Comments
 Unix    
HP lanscan see TPI 33326 for permissions on dev/lan0
Linux /sbin/ifconfig eth0 See additional Notes below to determine host_id.
SGI nvram |grep eaddr or netstat -ia See additional Notes below to determine host_id.
SUN hostid  
Windows     
NT/2000/XP
ipconfig /all  or  net config rdr Run command from a command prompt.

NOTES:

HP:
The "lanscan" command provides the following results where 0x080009C43BE2 should be read as the Ethernet Address = 08-00-09-C4-3B-E2.

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

Linux:

At a command prompt, enter the command /sbin/ifconfig eth0. The command will return a screen somewhat like this:

% /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
In this example, the hostid is 00:A0:CC:23:39:3F.


SGI:

The "nvram |grep eaddr" command provides the following results:

Machine name: user [2] nvram |grep eaddr
eaddr=08:00:69:08:92:f6
The "netstat -ia" command provides the following results: 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 loopback localhost 110596 0 110596 0 0
ALL-SYSTEMS.MCAST.N

In this example, the host_id = 08-00-69-08-92-F6.


SUN:

The "hostid" command provides the following results where the host_id = 80-8A-30-D2:

Machine name: user [2] hostid
808a30d2

Windows:

The "ipconfig /all" command provides the following results:

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. . . . . . : ptc.com

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : ptc.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

For the "ipconfig /all" command, the HostID corresponds to the Physical Address which is 00-30-6E-0A-26-08 in this example.

The "net config rdr" command provides the following results:

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.
For the "net config rdr" command the, the host_id corresponds to the number after the NetBT_xxx option on the "Workstation Active On" line. 

In this example the HostID = 00-30-6E-0A-26-08