Host name, Hosts file, Ipnodes file – HP Integrity NonStop H-Series User Manual

Page 24

Advertising
background image

can be simplified to:

1070:0:0:0:0:800:200C:417B

When long strings of zeros appear in an address, double colons (::) can be used to represent
several 16 -bit sections containing all zeros. For example:

1070:0:0:0:0:800:200C:417B

can be further simplified to:

1070::800:200C:417B

The double colon can appear only once in an address. It can, however, be used to represent both
leading and trailing zeros.

For examples of various network configurations and detailed information about host internet
addresses, see the TCP/IPv6 Configuration and Management Manual or Cluster I/O Protocols
(CIP) Configuration and Management Manual.
.

Host Name

A host name is the official name by which the host system is known to the Internet. The host name
can be associated with the system’s Internet address in the name-resolution configuration file or
the name can be mapped to an address through a name server. You can ask the system manager
of the host system what the host name is. You can also use an alias for a NonStop host if one is
defined in the name-resolution file.

Normally, host names are converted to Internet addresses by a Domain Name server. If your
network does not have one, host names are resolved through a name-resolution file. For a
name-resolution file, you can choose either a HOSTS-type file or an IPNODE-type file. Your choice
depends on the NonStop TCP/IP product that you are using and, for NonStop TCP/IPv6 and CIP,
whether you are using IPv6 addresses.

HOSTS File

If you are establishing communication by means of IPv4 addresses exclusively, you should use a
HOSTS file. If you are running NonStop TCP/IPv6 in DUAL mode, you can use a HOSTS file for
resolving the IPv4 addresses.

The HOSTS file is a simple edit type file that contains an entry for each remote host known to your
system. Specify each remote host's IP address, host name, and alias. Each entry in the HOSTS file
has the following format:

IP_address host_name [alias...]

The IP_address is a 32-bit numeric value expressed in dotted decimal form. The IP addresses must
begin in the first column of an entry in your edit file. The host_name and aliases are alphanumeric
and separated by at least one space.

You must configure the DNR to use a HOSTS file; otherwise, DNS is assumed. Use the ADD DEFINE
command of TACL to set the TCPIP^HOST^FILE environment variable

For more information about the HOSTS file, see the following manuals:

TCP/IP Configuration and Management Manual (if you are using NonStop TCP/IP)

TCP/IP (Parallel Library) Configuration and Management Manual (if you are using Parallel
Library TCP/IP)

TCP/IPv6 Configuration and Management Manual (if you are using NonStop TCP/IPv6)

Cluster I/O Protocols (CIP) Configuration and Management Manual

IPNODES File

For those who use applications in conjunction with NonStop TCP/IPv6, the IPNODES file contains
information regarding the known IPv6 (and IPv4) nodes on the network. If you are using INET6
communications and want to use a name-resolution file, you must create $SYSTEM.ZTCPIP.IPNODES

24

Introduction to TCP/IP Applications and Utilities

Advertising
This manual is related to the following products: