To verify correct IP address and host name

  • Confirm that the correct IP address and host name are defined in the TCPIP.HOSTS.LOCAL sequential dataset. The following is a sample hosts file:

HOSTS.LOCAL

COPYRIGHT = NONE

 

The format of this file is documented in RFC 952, "DoD Internet Host Table Specification."

The format for entries is as follows:

 

NET:ADDR:NETNAME:

GATEres:ADDR,ALT-ADDR:HOSTNAME:CPUTYPE:;OPSYS PROTOCOLS:

HOST:ADDR,ALT-ADDR:HOSTNAME,NICKNAME:CPUTYPE OPSYS:PROTOCO

where

ADDR,ALT-ADDR=IP address in decimal, e.g., 012.345.678.901

HOSTNAME,NICKNAME=the fully qualified host name and any nicknames

CPUTYPE=machine type (PDP-11/70, VAX-11/780, IBM-3090, C/30, etc.)

OPSYS=operating system (UNIX, TOPS20, TENES, VM/SP, etc.)

PROTOCOLS=transport/service (TCP/TELNET, TCP/FTP, etc.)

:(colon)=field delimiter

::(2 colons)=null field

 

Notes:

CPUTYPE, OPSYS, and PROTOCOLS are optional fields.

HOST:012.345.678.901:CONNXDB2.CONNX.DB2390.COM, CONNXDB2