How to Find the Host ID for a Keysight Floating License Server
This article is part of the Licensing for Keysight Test & Measurement series of articles. It shows how to find the Host ID on a floating license server. For complete documentation, refer to the “See also” section at the end of this article.
⚠This process assumes you have already set up a license server and a new license file to install. How to Set Up a Keysight Floating License Server
⚠The instructions for this can also be found in the Keysight Licensing Quick Start Guide.
⚠ Avoid MAC addresses that are transient or short lived. such as ethernet MAC addresses that are configured for virtual machines (VMs), virtual private networks (VPNs), docking stations, or WiFi networking adapters. For more information, read All About Host IDs.
There are several ways to get the Host ID.
Method 1 – Command Line Interface Only – Best Method
This method is the best because it tells you what type of network adapter is associated with each MAC address. Only use persistent MAC addresses.
Windows
On the server machine, in a Command Prompt, execute getmac /v /fo list
Your host ID is listed as the Physical Address of the Network Adapter.
Linux
On the server machine, in a terminal, execute /sbin/ifconfig -a
Examine the ifconfig results to find your Ethernet interface (often called eth0) and use its hardware address (HWaddr). For example, in the ifconfig output shown below, the host ID is 00:0c:29:c0:06:65.
eth0 Link encap:Ethernet HWaddr 00:0c:29:c0:06:65
inet addr:156.140.113.178 Bcast:156.140.113.255 Mask:255.255.254.0
inet6 addr: fe80::20c:29ff:fec0:665/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36522 errors:0 dropped:0 overruns:0 frame:0
TX packets:10160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38094114 (38.0 MB)
TX bytes:695114 (695.1 KB)
Windows example – Command Line Interface only
Method 2 – LMTOOLS and Command Line Interface
This method is the not preferred because you cannot tell which Host ID belongs to which adapter. In this situation, disable Wi-Fi, Bluetooth, and any virtual adapters. Anything else should be persistent.
On the server machine, open a Windows Command Prompt or Linux terminal. Change directories to the appropriate directory for your operating system:
Execute lmutil lmhostid to get the FlexNet host ID directly.
⚠If you see a No such file or directory error when you try to run lmutil, then you need to install the Linux Standard Base library. On Ubuntu use sudo apt update && sudo apt install lsb-core -y, or on RedHat (RHEL) use yum to install redhat-lsb
Windows example – LMTOOLS and Command Line Interface
Method 3 – In LMTOOLS
This method is the not preferred since you cannot tell which host ID belongs to which adapter. In this situation, disable Wi-Fi, Bluetooth, and any virtual adapters. Anything else should be persistent.
Navigate to the sever installation director.
Launch LMTOOLS.
Find the Host ID in the System Settings tab in the Ethernet Field.
Windows example – LMTools