ARM Technical Support Knowledge Articles

FLEXnet/FLEXlm Windows Node-locked licence check fails after installing Model Networking

Applies to: Fast Models

Answer

SYMPTOM

When using node-locked (host-based) FlexLM licensing, after setting up bridged networking for models an error is seen when attempting to start the model stating that the hostid does not match the licence:

ERROR: License check failed!
No licences 'MaxCore_SystemGenerator' available.
Hostid doesn't match license.

License files searched:
    ...

Error Code : -9

This problem may also be seen with other software products which use a node-locked FlexLM licencing model.

CAUSE

There is a known issue with bridged networking under Windows whereby creating an Ethernet bridge results in FlexLM reporting a different hostid for the machine. For example, before an Ethernet bridge is created for Model bridged networking, the FlexLM 'hostid' utility reports the following:

C:/> lmutil.exe hostid
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
The FLEXnet host ID of this machine is "000c29600725"

After creating a Windows Ethernet bridge 'hostid' now reports:

C:/> lmutil.exe hostid
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
The FLEXnet host ID of this machine is "020c29600725"

Note the first two digits '00' have changed to '02' - in certain circumstances the host id may be totally different.

The FlexLM host id is based on the host machine's Ethernet MAC address, and creating an Ethernet bridge has the effect of hiding the original machine's MAC address and creating a new MAC address.

RESOLUTION

There are two options to solve this problem:

  1. Disable model networking.
  2. Use NAT-based model networking.

Disable Model networking

This resolution disables Ethernet MAC bridging between the model and the physical network. This will prevent the model from communicating with the outside world.

To remove the Ethernet bridge:

  1. Ensure that no models are running.
  2. From the Start Menu select 'Control Panel' -> 'Network Connections'
  3. Right-click on each connection in the network bridge and select 'Remove from Bridge' from the context menu.
  4. Run 'remove_all_adapters_32' from the ModelNetworking directory to remove the ARM TAP device.
  5. NOTE: During bridge deletion networking connectivity may be briefly interrupted. When connectivity comes back, your IP address may have changed.

You should now find that the FlexLM hostid has returned to it's original (pre-bridge) value, and that the FastModel should successfully start.

Use NAT-based model networking

This resolution uses NAT-based networking instead of bridging. In this configuration the model shares the same external IP address as the host machine. See ARM Knowledge Base article:

How do I configure NAT networking between Fast Models and an external network on Windows?

Article last edited on: 2013-08-27 13:45:33

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential