What is a Host ID? How do I find my Host ID in order to activate my license?
17 Jul 2013
1 Answer
4,365 Views (30 days)
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Show older comments
26 votes
What is a Host ID? How do I find my Host ID in order to activate my license?
Accepted Answer
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
- Windows
- Linux
- macOS
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:
- Open Windows Start Menu
- Search for "Command Prompt" and then open the application
- Type in this command: getmac /v and then press Enter on your keyboard
- 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.
- 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:
- Open Windows Start Menu
- Search for "Command Prompt" and then open the application
- Type in this command: vol and then press Enter on your keyboard
- 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:
- Open Windows Start Menu
- Search for "Command Prompt" and then open the application
- Type in this command: getmac /v and then press Enter on your keyboard
- 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.
- 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:
- Open Windows Start Menu
- Search for "Command Prompt" and then open the application
- Type in this command: ipconfig and then press Enter on your keyboard
- 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.
- Open Terminal
- Type in this command: ifconfig and then press Enter on your keyboard
- 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.
- 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:
- Open Terminal
- Type in this command: ifconfig and then press Enter on your keyboard
- 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.
- 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:
- Open Terminal
- Type in this command: ifconfig and then press Enter on your keyboard
- 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.
- 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.
- Open macOS's System Setting application. Its icon appears as gears.
- On the left hand side of the window, select "Network"
- 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.
- Select "Details..."
- Select "Hardware"
- 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:
- Open macOS's System Setting application. Its icon appears as gears.
- On the left hand side of the window, select "Network"
- 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.
- Select "Details..."
- Select "Hardware"
- 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:
- Open macOS's System Setting application. Its icon appears as gears.
- On the left hand side of the window, select "Network"
- 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.
- Your network adapter's IP address should now appear. You may copy it and use it as your Host ID.
2 Comments
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
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.
More Answers (0)
Categories
Find more on Install Products in Help Center and File Exchange
Tags
No tags entered yet.
See Also
on 17 Jul 2013
on 18 Oct 2024
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)