Information Technology Reference
In-Depth Information
6.
Enter the type of mapping. Available selections are Unique, Group, Domain Name,
Internet Group, or Multihomed.
7.
Enter the IP address of the host.
8.
Click OK to save the information.
Using a Command-Line Interface
You can create a static mapping in the WINS database using the following command-line syntax:
> netsh wins server add name [Name=] ComputerName [[Scope=] ScopeName ]
[[EndChar=] 16thCharInHex ] [[RecType=]{0 | 1}] [[Group=]{0 | 1 | 2 | 3 | 4}]
[[Node=]{0 | 1 | 2}] [IP=]{ IPAddress1[,IPAddress2,IPAddress3 ]}
Here is a description of the command-line options:
Name : Required parameter that specifies the NetBIOS name of the computer that you want
to add to the WINS database.
Scope : Optional parameter that specifies the name of the NetBIOS scope.
EndChar : Optional parameter that specifies the hexadecimal value of the 16th byte of the
record type. If omitted, all record types will be returned.
RecType : Optional parameter that specifies the record type. A value of 0 will create a static
record; a value of 1 will create a dynamic record. The default record type is static.
Group : Optional parameter that specifies the group type. A value of 0 specifies unique; a value
of 1 specifies group; a value of 2 specifies Internet; a value of 3 specifies multi-homed; and
a value of 4 specifies a domain name. The default group type is unique.
Node : Optional parameter that specifies the NetBIOS node type. A value of 0 indicates B-node;
a value of 1 indicates P-node; and a value of 2 indicates H-node. The default type is P-node.
IP : Required parameter that specifies the IP address of the name record you are adding to
the database. If the computer is multi-homed, place the different addresses within a single
set of curly brackets and separate addresses with a comma.
For example, use this command to add a static mapping for the multi-homed host named
MyNewHost in ScopeA that has IP addresses of 192.168.2.2 and 192.168.2.3 :
> netsh wins server add name name=MyNewHost scope=ScopeA RecType=0
Group=3 Node=1 IP={192.168.2.2,192.168.2.3}
How It Works
Adding static entries is required for computers or devices that are unable to dynamically register
with the WINS server and for which you want name resolution at other systems. Examples of such
systems might include network printers or other non-Windows hosts. Since the Windows-based
hosts may need to resolve the names and addresses of the non-Windows hosts, it's necessary
to perform this step.
Search WWH ::




Custom Search