4 - 6 VM600 networking manual MAVM600-NET/E
Edition 9 - February 2018
Configuring a computer for Ethernet communications with a VM600 rack
SETTING UP AN ETHERNET CONNECTION
4.2.3 Editing a computer’s hosts file
A hostname is a label assigned to a device connected to a computer network that is used to
identify the device. The computer’s hosts file is used to map the IP address of a device to a
hostname, so that when the hostname is used, the computer can refer to the hosts file and
resolve the hostname to its IP address.
Using hostnames is optional but it helps in the management of systems. For example, it
makes accessing a network device more easy, compared to remembering and using IP
addresses. Mapping IP addresses to hostnames can also help to resolve DNS issues.
1- Open the (local) hosts file on the computer’s hard disk using a text editor such as
Notepad++ or a similar editor. The hosts file is found in the Windows operating system
area of the computer. For example: If Windows XP is the operating system used, the file
can be found here:
On a Windows XP computer, the default location for the hosts file is
C:\WINNT\system32\drivers\etc
On a Windows 7 computer, the default location for the hosts file is
C:\Windows\System32\drivers\etc
2- As shown in Figure 4-4, the hosts file lists the IP address of a device followed by its
hostname, separated by one or more whitespace characters, on a single line.
Figure 4-4: Example Windows hosts file