Determining the Correct FlexNet Hostid

Determining the Correct FlexNet Hostid


How can I determine the correct FlexNet hostid for my new license server?

For a given OS / hardware platform, there are multiple ways to determine the hostid. However, not all methods are valid with the FlexNet licensing scheme implemented by Synopsys. For every platform, this article provides two methods for obtaining a valid hostid for Synopsys licensing. 

Note: Normally, you determine the hostid for your license server with the lmhostid utility. lmhostid ships with Synopsys Common Licensing. However, if you need to determine the hostid for a system that does not have SCL installed, an alternative method is provided below. Determine your hostid by using one of the following methods:

lmhostid Method - Physical Machines or Non-Cloud VMs

To determine the hostid, use the lmhostid command included with SCL:
% lmhostid
 lmhostid - 1989-2019 Flexera. All Rights Reserved.
The FLEXlm host ID of this machine is "001125c4a904"
NOTE: If more than one hostid is listed, any hostid may be used. However, for non-VM machines, the hostid should correspond to a physical device such as an ethernet card or ethernet chip embedded on the motherboard.

lmhostid Method - Cloud VMs

  • Start the FNLS Service for the Cloud
    Before running lmhostid, you must start the FlexNet Publishing Licensing Service as a root or administrative user.  The FNLS installation executable is included with SCL in the scl_root/platform/bin directory.  For Linux, run "install_fnp --cert".  For Windows, go to the Windows Powershell (admin) prompt and run "installanchorservice snpslmd all". For more details on FNLS, see the cloud chapter of the SCL Admin Guide, which is included with SCL in the doc subdirectory.
  • Run lmhostid           
    • lmhostid -ptype VM -uuid  # All Supported Clouds
    • lmhostid -ptype AMZN -eip  # Amazon AWS Only

Dongle-based licenses

Dongle-based licenses are supported:

  • for specific tools only (for example, HSPICE or Synplify Pro)
  • on Windows and Linux x86_64 platforms only
  • dongle-based licenses should not be used on virtual machines

If you have a dongle, the hostid is written on the device, which attaches to the USB port. To determine whether the dongle hostid is correctly detected, enter lmhostid -flexid. For example,
C:\> cd C:\Synopsys\SCL\2021.12\win32\bin
C:\Synopsys\SCL\2021.12\win32\bin> lmhostid -flexid 
lmhostid - Copyright (c) 1989-2019 Flexera. All Rights Reserved.

The FLEXlm host ID of this machine is "FLEXID=10-0BED15A7"

Other Methods
In addition to lmhostid, the following platform-specific methods of determining a hostid are supported. For the methods that involve quotes, be sure to use backquotes ( ` ) and not regular quotes.


The Linux "hostid" command produces a 6- or 8-character result that is not valid as a Synopsys hostid.
Instead, get the 12-character ethernet address. For example: 
% /sbin/ifconfig -a | grep -i ether
The result might be:
ether 00:06:5B:82:F4:5A  txqueuelen 1000  (Ethernet)
Link encap:Ethernet  HWaddr 00:06:5B:82:F4:5A #For CentOS/RHEL 6.x

In this example, the hostid is 00065B82F45A
If more than one hostid is returned, any hostid will be valid,
as long as it corresponds to a physical device. Synopsys suggests
you choose the first hostid on the list, which usually corresponds
to the ethernext device eth0, em1, en1, or similar.


For floating (networked) licenses--
Use the MAC address ("Physical Address") of your ethernet card:

  1. Click Start-Run and type "cmd"
  2. Type C:\Windows\win32\system32\ipconfig -all


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix:
Description . . . . . . . . . : 3Com 3C920 Fast Ethernet
Physical Address. . . . . . . : 00-06-5A-21-95-44==> In this example, the hostid is 00065A219544

For Amazon AWS, the VM_UUID hostid is the instance ID.
For other clouds (Azure, Google), you will need to install the FlexNet Licensing Service included with SCL,
then run the below command:

% lmhostid -ptype VM -uuid
lmhostid - 1989-2019 Flexera. All Rights Reserved.
The FLEXlm host ID of this machine is "VM_UUID=42122EC8-299B-FAB0-43EA-3AF23BDA6D57"


For more information on Cloud setup, including installing the FlexNet Licensing Service, see the cloud chapter of the SCL Admin Guide.