What is a Host ID? How do I find my Host ID in order to activate my license?

6.165 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2024
Edited: MathWorks Support Team on 18 Oct 2024
A Host ID is a specific piece of information which uniquely identifies a computer. Host IDs are used to generate license files for MathWorks products. To find your Host ID, follow the instructions below for your combination of Operating System and License Offering.

Table of contents

  1. Windows
    1. Individual & Designated Computer
    2. Concurrent & Network Named User
  2. Linux
    1. Individual & Designated Computer
    2. Concurrent & Network Named User
  3. macOS
    1. Individual & Designated Computer
    2. Concurrent & Network Named User

 

Windows

Follow the instructions from the section that matches the License Offering you are planning to use.
You may use one of the following as your Host ID:
  • MAC address for one of your active network adapters (ex: your WiFi adapter)
  • Volume serial number
If you'd prefer to use and find the MAC address for your primary network adapter, follow these instructions:
  1. Open Windows Start Menu
  2. Search for "Command Prompt" and then open the application
  3. Type in this command: getmac /v and then press Enter on your keyboard
  4. Your computer's network adapters will be listed. The "Physical Address" is the MAC address for each adapter. You should pick a MAC address for a device that is a physical (not removable) device, and is not a virtual adapter. 
  5. Copy the physical address of the desired network adapter and use it as your Host ID.
If you like to use and find your volume serial number, follow these instructions:
  1. Open Windows Start Menu
  2. Search for "Command Prompt" and then open the application
  3. Type in this command: vol and then press Enter on your keyboard
  4. The volume serial number should appear in Command Prompt. Copy it and use it as your Host ID.

 

You may use one of the following as your Host ID:
  • MAC address for one of your active network adapters (ex: your WiFi adapter)
  • Your device's local IP address
We encourage users to use a MAC address instead of an IP address, since local IP addresses typically change. To find the MAC address for your primary network adapter, follow these instructions:
  1. Open Windows Start Menu
  2. Search for "Command Prompt" and then open the application
  3. Type in this command: getmac /v and then press Enter on your keyboard
  4. Your computer's network adapters will be listed. The "Physical Address" is the MAC address for each adapter. You should pick a MAC address for a device that is a physical (not removable) device, and is not a virtual adapter. 
  5. Copy the MAC address of the desired network adapter and use it as your Host ID.
If you'd prefer to use and find the IP address for your primary network adapter, follow these instructions:
  1. Open Windows Start Menu
  2. Search for "Command Prompt" and then open the application
  3. Type in this command: ipconfig and then press Enter on your keyboard
  4. Copy the IP address from your primary network adapter. An example of an IP address entry would start with "IPv4 Address", followed by a series of numbers, which is your IP address (ex: 192.168.86.314.) Once the IP address is copied, you may use it as your Host ID.

 

Linux

Follow the instructions from the section that matches the License Offering you are planning to use.
You may use your primary network adapter's MAC address as your Host ID. To find the MAC address of the device, follow the instructions below.
  1. Open Terminal
  2. Type in this command: ifconfig and then press Enter on your keyboard
  3. The information of your network adapters should now appear. The MAC address of the network adapter that you'd like to use are the numbers and letters following the word "ether" in each entry. An example would be 00:12:3a:45:6b:7d.
  4. Copy the MAC address from your primary network adapter and use it as your Host ID.

 

You may use one of the following as your Host ID:
  • MAC address for one of your active network adapters (ex: your WiFi adapter)
  • Your device's local IP address
We encourage users to use a MAC address instead of an IP address, since local IP addresses typically change. To find the MAC address for your primary network adapter, follow these instructions:
  1. Open Terminal
  2. Type in this command: ifconfig and then press Enter on your keyboard
  3. The information of your network adapters should now appear. The MAC address of the network adapter that you'd like to use are the numbers and letters following the word "ether" in each entry. An example would be 00:12:3a:45:6b:7d.
  4. Copy the MAC address from your primary network adapter and use it as your Host ID.
If you'd prefer to use and find the IP address for your primary network adapter, follow these instructions:
  1. Open Terminal
  2. Type in this command: ifconfig and then press Enter on your keyboard
  3. The information of your network adapters should now appear. The IP address of the network adapter that you'd like to use are the numbers and letters following the word "inet" in each entry. An example would be 192.168.86.314.
  4. Copy the IP address from your primary network adapter and use it as your Host ID.

 

macOS

Follow the instructions from the section that matches the License Offering you are planning to use.
You may use your primary network adapter's MAC address as your Host ID. To find the MAC address of the device, follow the instructions below.
  1. Open macOS's System Setting application. Its icon appears as gears.
  2. On the left hand side of the window, select "Network"
  3. On the right hand side of the window, select "Wi-Fi" if you primarily use Wi-Fi on your device. If you primarily use a wired connection, select "Ethernet" instead.
  4. Select "Details..."
  5. Select "Hardware"
  6. Your network adapter's MAC address should now appear. You may copy it and use it as your Host ID.

 

You may use one of the following as your Host ID:
  • MAC address for one of your active network adapters (ex: your WiFi adapter)
  • Your device's local IP address
We encourage users to use a MAC address instead of an IP address, since local IP addresses typically change. To find the MAC address for your primary network adapter, follow these instructions:
  1. Open macOS's System Setting application. Its icon appears as gears.
  2. On the left hand side of the window, select "Network"
  3. On the right hand side of the window, select "Wi-Fi" if you primarily use Wi-Fi on your device. If you primarily use a wired connection, select "Ethernet" instead.
  4. Select "Details..."
  5. Select "Hardware"
  6. Your network adapter's MAC address should now appear. You may copy it and use it as your Host ID.
If you'd prefer to use and find the IP address for your primary network adapter, follow these instructions:
  1. Open macOS's System Setting application. Its icon appears as gears.
  2. On the left hand side of the window, select "Network"
  3. On the right hand side of the window, select "Wi-Fi" if you primarily use Wi-Fi on your device. If you primarily use a wired connection, select "Ethernet" instead.
  4. Your network adapter's IP address should now appear. You may copy it and use it as your Host ID.
  2 Comments
Walter Roberson
Walter Roberson on 11 May 2019
In the terminal app, execute
netstat -i
and see if it is showing an MAC addresses with 00:00:00:00:00:00 that might be contributing.
The primary MAC address that is used for IPv4 will sually show up on a line marked with '<Link#' . For example,
en0 1500 <Link#5> 48:61:79:69:6d:44 57105595 0 34859208 0 0
Here the MAC address used for IpV4 would be 48:61:79:69:6d:44 .
There will also be an entry showing the IP address for the link, such as
en0 1500 192.168.0 192.168.0.10 57105595 - 34859208 - -
If you see an interface that does not have any IP address entry, then that interface is not currently being used as your network interface.
You might see multiple interfaces with an IP address; for example my en1 interface is my wifi interface.
Walter Roberson
Walter Roberson on 13 May 2019
Odd, it normally cannot get to that point without throwing a warning message about the ethernet not being found.
The only time in the last couple of years that I have seen Host ID 0 was while I was testing MATLAB in a Parallels virtual machine using Parallels 14; I was able to prove that the fault was Parallels 14 with Parallels 13 having worked.

Sign in to comment.

More Answers (1)

Tesfaye Girma
Tesfaye Girma on 4 Jul 2024
go to help and you will get easly

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!