How to Set up Your Network for License Borrowing

by GRAPHISOFT and Tamás Erős · updated: 05.09.2012

We differentiate two cases: whether the network has DNS server or not. Your system administrator can help to decide which one features your office. In case you share the internet with only a simple router you probably do not have DNS server.

There is a DNS server in the network

This is a simpler case in terms of the borrowing method of the CodeMeter driver. If there is a stand alone DNS server in the network then the client computers can identify the CodeMeter license server by its host name. If there is a problem reaching the server this way your system administrator or IT engineer can help. Some general suggestions:

  • Do not use IPv4 and IPv6 addressing at the same time.
  • Set the Server Identification to Server name on the Configuration/Borrowing tab in the CodeMeter WebAdmin of the license server. (By default this is set.)

Please find more information about CodeMeter server here: CodeMeter server setup guide


There is no DNS server in the network

This usually features smaller offices, where the internet is shared and the network is created by only a router. When you only have computers with Windows operating system you probably do not need these settings because they create a local DNS cache for themselves. But if you have a mixed, Mac + Windows environment our suggested settings are the following, please check/set them according to this order:

Router

  • Do not use IPv6 because our suggestions apply to IPv4 addressing.
  • At the DHCP settings reserve a certain local IP address for the CodeMeter license server (‘Client 1′ on the screenshot) within the DHCP range. Then please make sure this has been issued for the server. The screenshot was created using Airport Utility, but every router should have the same option.DHCPreservation01.png

License server

Network settings:

  • Configure IPv4 to use DHCP
  • On Mac: make sure the same computer name is set for the license server at the following locations:
    • /etc/hostconfig file needs to contain HOSTNAME=’computername’ row
    • System Preferences/Sharing: Computer Name field
    • System Preferences/Network/Advanced: on TCP/IP tab DHCP Client ID field
    • DHCP Reservation settings in the Router, as explained above
  • Restart the server then the router after these.

CodeMeter WebAdmin settings:

  • Set the Server Identification to IP Address on Configuration/Borrowing tab.
  • Start the network server with ‘Run Network Server’ option on Configuration/Network tab.

Please find more information about CodeMeter server here: CodeMeter server setup guide

Client

Network settings:

  • Configure IPv4 to use DHCP
  • On Mac: make sure the same computer name is set at the following locations:
    • /etc/hostconfig file needs to contain HOSTNAME=’computername’ row
    • System Preferences/Sharing: Computer Name field
    • System Preferences/Network/Advanced: on TCP/IP tab DHCP Client ID field

CodeMeter WebAdmin settings:

  • Enter the IP address of the server into the Server Search List on Configuration/Network tab.

On Mac if borrowing still does not work some additional settings can be required (e.g. mainly in mixed, Mac+PC environment) . You may have to bind the IP address of the license server to its name in the hosts file of the client computer. An administrator user can do this following these steps:

  • Open Terminal
  • Use the following command to edit the hosts file: sudo nano /private/etc/hosts
  • Enter your administrator password. Note nothing will be visible on the screen.
  • Navigate to a blank row at the bottom of the host file and enter the new mapping here. On the screenshot x.x.x.x is the IP address what you have reserved for the license server at the DHCP settings of the router, and DHCPClientID is the DHCP Client ID of the license server.
  • Press ctrl+o to save the file. Do not change its name.

hosts01.png

  • Restart the computer and test borrowing.

Important

/!\ Always test borrowing before you start using it for work. Set a short (few minutes) duration on Configuration/Borrowing tab in the WebAdmin on the license server, then try if borrowing and returning works.

/!\ As long as any of the licenses are in borrowed state,

  • do not uninstall the CodeMeter driver from any computers
  • do not install a new main version of ArchiCAD (for more details go here: ArchiCAD16/InstallProblems)
  • do not modify the server computer’s IP address or hostname settings
  • do not reinstall the operating system on the licese server or on a computer where a license is borrowed
  • do not transfer the key into an other computer even with the same network specification

Related content

codemeter-server--runnetworkserver2

CodeMeter server setup guide

In case you would like to use network licenses (e.g. instead of single licenses) first you need a CodeMeter network key. Contact your local GRAPHISOFT partner to order one or to exchange your existing single key(s). About the available license types see…
LicInfo

License Borrowing

If your firm has multiple (network) licenses to use ArchiCAD or other GRAPHISOFT programs, the License Borrowing feature allows individual users to “borrow” a license key temporarily if they will be going offsite, to enable use of the software even…
codemeter-webadmin--controlcenter

CodeMeter WebAdmin

Here you can find a summary of the functions accessible from CodeMeter WebAdmin administrative page. Only the necessary functions are explained, so please do not change the others without reading Wibu's manual (can be found at the bottom of this page)…
codemeter-licenseborrowing--licenseinformation

License Borrowing

GRAPHISOFT strongly recommends to use the latest CodeMeter driver on all computers where license borrowing is used. To download the latest GRAPHISOFT tested driver visit: http://www.graphisoft.com/downloads/protection_key.html   The License Borrowing…

Network specification

For in-depth information about networking concepts see Network Basics (PDF file) . Network requirements in a LAN environment Network speed LAN Networks slower than Fast Ethernet (100 Mbit/s) should be avoided for everyday work. Although networks slower…

How to set the time out on a CodeMeter server

  What does this value show? This value shows when a not responding license will be reset on a CodeMeter server. Until the end of this period the license is unavailable when the client lose the connection with the server. The default time out time is…
WE_open ArchiCAD

Tips to set up Work Environment

At the bottom of the Start ArchiCAD dialog box, you can select your preferred Work Environment profile. Unlike Project settings, Work Environment settings are saved not as part of the project, but in a local folder on your computer. The individual…