Connecting to a Remote Network Monitor Agent Across a Router

Article translations Article translations
Article ID: 124837 - View products that this article applies to.
This article was previously published under Q124837
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all


Network Monitor can capture traffic on another subnet by connecting to a system that is running the Remote Agent software on that subnet. The Network Monitor Agent software is included with both Windows NT Workstation and Windows NT Server. In Network Monitor, when you click Networks on the Capture menu, Remote is one of the options. Provide the Agent's computer name (with or without "\\") to connect to it.

For Network Monitor to connect to a Remote Agent across a router, the Remote Agent's computer name must be resolved. If the name cannot be resolved, you receive the following error message:
Failure connecting to <computer name of Agent>


The Remote Agent registers a NetBIOS name which is 16 characters long. It consists of the computer name followed by 0xBE (extended characters). For example, a machine named "HITME" would be registered as "HITME\0xBE\0xBE\0xBE..."

Use the following steps to connect to the agent across a router:

  1. Ensure that the Manager and the Remote Agent systems have a routable protocol such as TCP/IP or NWLINK installed.
  2. Install the Network Monitor Agent software on the remote computer.
  3. Start the Network Monitor Agent Service by doing one of the following:
    At the command prompt, type the following command:
    net start nmagent

    Double-click the Services icon in Control Panel, click Network Monitor Agent in the Service list, and then click Start.
  4. If TCP/IP is the protocol that is used, then there are two ways to resolve a NetBIOS name to an IP address. If both the management station and the remote agent are using Microsoft Windows Internet Naming Service (WINS) then the name will be resolved by WINS and WINS locates the Agent. If not, then the Lmhosts file on the management station must contain a special entry for the remote agent.

    If TCP/IP is used and WINS is not available, add the Agent's name in the Lmhosts file. Non-printing (extended) characters can be added by using \0xnn format where nn represents the ASCII code for the character.

    Following are some examples from an Lmhosts file.  "MYAGENT\0xBE\0xBE\0xBE\0xBE\0xBE\0xBE\0xBE\0xBE\0xBE"   #PRE  "REMOTEAGENT\0xBE\0xBE\0xBE\0xBE\0xBE"                   #PRE  "SEATTLESERVER\0xBE\0xBE\0xBE"                           #PRE
    NOTE: Capital letters must be used for the agent name, the agent name must consist of 16 characters surrounded by quotation marks, and #PRE must end each entry.
  5. The NBTSTAT command can be used to flush and reload the LMHOSTS cache after modifying the Lmhosts file. To reload the cache, type the following command at a command prompt:
    nbtstat -R
    Note that the -R is case sensitive and must be uppercase.

    To view the cache, type
    nbtstat -c
    After the cache has been updated, you should be able to connect to the remote agent.
  6. If NWLINK protocol is used, NameQuery should succeed because most routers are configured to forward broadcasts (packet type 20).


Article ID: 124837 - Last Review: February 24, 2014 - Revision: 2.2
  • Microsoft Systems Management Server 1.0 Standard Edition
  • Microsoft Systems Management Server 1.1 Standard Edition
  • Microsoft Systems Management Server 1.2 Standard Edition
  • Microsoft Systems Management Server 2.0 Standard Edition
  • Microsoft Systems Management Server 2.0 Service Pack 1
  • Microsoft Systems Management Server 2.0 Service Pack 2
kbnosurvey kbarchive kbnetworkmon KB124837

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from