92 lines
5.1 KiB
HTML
92 lines
5.1 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="task" />
|
||
|
<meta name="DC.Title" content="Add the server name to the HOSTS file" />
|
||
|
<meta name="abstract" content="Identify server to the network." />
|
||
|
<meta name="description" content="Identify server to the network." />
|
||
|
<meta name="DC.subject" content="TCP/IP, configuring, TCP/IP stack" />
|
||
|
<meta name="keywords" content="TCP/IP, configuring, TCP/IP stack" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaijw95tcp.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaijnetserverpc.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzaijaddservernametohostsfile" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Add the server name to the HOSTS file</title>
|
||
|
</head>
|
||
|
<body id="rzaijaddservernametohostsfile"><a name="rzaijaddservernametohostsfile"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Add the server name to the HOSTS file</h1>
|
||
|
<div><p>Identify server to the network.</p>
|
||
|
<div class="section"><p> If
|
||
|
you are not using a domain name server, you need to add the <span class="keyword">iSeries™</span> server
|
||
|
name with which you want to communicate to the HOSTS file. Also, add the iSeries NetServer™ server
|
||
|
name to the LMHOSTS file if you are relying on iSeries NetServer for file and print serving.
|
||
|
For instructions on updating your LMHOSTS file, see Configure the PC for iSeries NetServer Use.</p>
|
||
|
<div class="p">To
|
||
|
create or change the HOSTS file, do the following: <div class="note"><span class="notetitle">Note:</span> The directory in
|
||
|
the following examples could be \winnt\system32 instead of \windows\system32
|
||
|
for some Windows<sup>®</sup> operating systems.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<ol><li class="stepexpand"><span>Open a command prompt.</span></li>
|
||
|
<li class="stepexpand"><span>Change to the directory that should contain the HOSTS file, the
|
||
|
directory in which the HOSTS file must remain.</span> For example: <pre>c:\>cd \windows\system32\drivers\etc</pre>
|
||
|
</li>
|
||
|
<li class="stepexpand"><strong>Optional: </strong><span>If a file named HOSTS already exists in this
|
||
|
directory, skip this step. Create a file named HOSTS by copying the sample
|
||
|
file (supplied by the Windows operating system). </span> The
|
||
|
file is in the same directory and is called <samp class="codeph">hosts.sam</samp>. <div class="p">For
|
||
|
example: <pre>c:\windows\system32\drivers\etc>copy hosts.sam hosts</pre>
|
||
|
</div>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Edit the HOSTS file.</span> For example: <pre>c:\windows\system32\drivers\etc>edit hosts</pre>
|
||
|
<p>Follow
|
||
|
the instructions in the HOSTS sample file to add the IP address and name of
|
||
|
the <span class="keyword">iSeries</span> server to which
|
||
|
you want to connect.</p>
|
||
|
</li>
|
||
|
<li class="stepexpand"><span>Save the HOSTS file.</span> <div class="note"><span class="notetitle">Note:</span> For PC5250, if you do not
|
||
|
use a name server or hosts table, you cannot start the 5250 emulator delivered
|
||
|
with iSeries Access
|
||
|
for Windows.
|
||
|
The left bottom corner of your emulation display indicates a 657 communication
|
||
|
error (<em>Resolving TELNET 5250 server host-domain name</em>).</div>
|
||
|
<p>You
|
||
|
can choose to use a HOSTS file if you have only a few machines using TCP/IP.
|
||
|
This requires that you maintain an up-to-date list on each computer. When
|
||
|
an <span class="keyword">iSeries</span> address changes,
|
||
|
you must change the HOSTS file entry if one exists.</p>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzaijnetserverpc.htm">Configure the PC for iSeries NetServer Use</a></strong><br />
|
||
|
This information allows you to configure the PC as an IBM<sup>®</sup> iSeries Support
|
||
|
for Windows Network
|
||
|
Neighborhood (iSeries NetServer)
|
||
|
client. It also provides information about configuring iSeries NetServer file and print shares and
|
||
|
updating a LMHOSTS file.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaijw95tcp.htm">Configure TCP/IP support on the PC</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|