cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Checkout via router (like Pfsense) failed with -8 or -9 error when using HOSTID=INTERNET=xx.xx.x... in FEATURE line

Checkout via router (like Pfsense) failed with -8 or -9 error when using HOSTID=INTERNET=xx.xx.x... in FEATURE line

Summary

Checkout via router (like Pfsense) failed with -8 or -9 error when using HOSTID=INTERNET=xx.xx.x... in FEATURE line

Question

Checkout via router (like Pfsense) failed with -8 or -9 error when using HOSTID=INTERNET=xx.xx.x... in FEATURE line.

Considering a scenario that multiple LAN segments (192.168.0.* and 192.168.1.*) exist and they all connect to one WLAN network via routers.
Instead of placing multiple license servers in each LAN segment, customers may want to place a single instance of license server in the WLAN network (10.30.1.17)

??????????????????????????????????????????????????????????????
????????? ? ?? ????eth1 (10.30.1.114) ? ?? ?eth1 (10.30.1.113)
??10.30.1.17?? ? Pfsense1 (Router) Pfsense2 (Router)
(License Server)???? ???? ?eth0 (192.168.0.3) ? ?eth0 (192.168.1.3)
???????????????? ??????????????????
???????? ??? ?? ???? ?
???? ??? ??192.168.0.100?192.168.0.101 192.168.1.100 ? 192.168.1.101
(Client 1) (Client 2) (Client 3) (Client 4)


If using HOSTID=ANY in FEATURE line, checkout is OK.
While if using HOSTID=INTERNET in FEATURE line, checkout never succeed and will fail with -8 or -9 error.

See license file below.
{quote}
SERVER this_host ANY
VENDOR mvsnjakk
USE_SERVER
#a counted license
FEATURE f1 mvsnjakk 1.0 permanent 1 HOSTID=INTERNET=192.168.0.* \
BORROW SIGN="01F3 C947 35C8 243B 1687 6C10 879E 02D7 AB9D E2E6 \
3101 116E 6BF1 F9A6 A145 EF25 0887 A408 E8AD 54ED 7B5D"
FEATURE f2 mvsnjakk 1.0 permanent 1 HOSTID=INTERNET=10.30.1.* BORROW \
SIGN="00D7 9785 69FD 8C5E 95C1 D529 583A C3B7 859D E242 1F00 \
57EB CE1D 22F3 36B5 11CB 74CB 503E 4DDF 4736 FEF7"
FEATURE f3 mvsnjakk 1.0 permanent 1 HOSTID=INTERNET=10.30.2.* BORROW \
SIGN="03FF 39B7 66A9 146B 1527 47E5 71DF B082 ED1A CDD0 5602 \
7DCF F136 6BBD B7F6 00B5 54F0 1F77 6960 131F 0482"
FEATURE f4 mvsnjakk 1.0 permanent 1 HOSTID=ANY BORROW SIGN="0269 C0F6 \
4758 E2CA 9429 055D 9B3F 0E20 F540 A8E4 7F03 F5BC 0A23 49F4 \
297E DD8A 824C 091A 0462 07CE EFE5"
{quote}

== Observed Behavior ==
Checkout against "f1" failed with error -9 The hostid of this system does not match the hostid
Checkout against "f2" failed with error -8 Invalid (inconsistent) license key. The license key and data for the feature do not match.
Checkout against "f3" failed with error -9 The hostid of this system does not match the hostid
Checkout against "f4" succeeded.

Result of "netstat -abno" on license server
{quote}
TCP 10.30.1.17:10423 10.30.1.114:9706 ESTABLISHED 23740 [mvsnjakk.exe]
{quote}

Result of "lmhostid -internet v4" on client PC
{quote}
C:\>lmutil.exe lmhostid -internet v4
lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
The FlexNet host ID of this machine is "INTERNET=192.168.0.100"
{quote}

Answer

This issue can worked around by adding both IP addresses into HOSTID.
HOSTID="INTERNET=10.30.1.* INTERNET=192.168.0.*"
Was this article helpful? Yes No
No ratings
Comments

I have a VPN problem, is this the cause of the problem? 192-168-0-1ip.org

Version history
Last update:
‎Nov 13, 2018 07:04 PM
Updated by: