ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaku_5.4.0.1/rzakupingloopback.htm

100 lines
6.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Ping the loopback interface on your server" />
<meta name="abstract" content="Ping the loopback interface to verify that your TCP/IP software is installed, started, and working properly." />
<meta name="description" content="Ping the loopback interface to verify that your TCP/IP software is installed, started, and working properly." />
<meta name="DC.Relation" scheme="URI" content="rzakupingcharbased.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakupingerrors.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakupingparam.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1997, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1997, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="pingloopback" />
<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>Ping the loopback interface on your server</title>
</head>
<body id="pingloopback"><a name="pingloopback"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Ping the loopback interface on your server</h1>
<div><p>Ping the loopback interface to verify that your TCP/IP software
is installed, started, and working properly. </p>
<div class="section"><p>You can perform the test without being connected to a physical
line or network.</p>
<p>i5/OS™ reserves the IP address 127.0.0.1,
the host name LOOPBACK, and the line description value of *LOOPBACK for verifying
the software. Similarly for IPv6, i5/OS reserves the IP address ::1 and the
line description <span>*LOOPBACK</span> for this purpose. The IPv6
loopback interface does not have a corresponding host name because the local
host tables do not currently support IPv6 addresses. However, you can use
a Domain Name System (DNS) to store the IPv6 host name instead of using the
local host table.</p>
<p>To ping the loopback interface on your server to troubleshoot
the problem, follow these steps:</p>
</div>
<ol><li class="stepexpand"><span>At the command line, type these commands:</span><ul><li>For IPv4: <samp class="codeph">PING '127.0.0.1'</samp> or <samp class="codeph">PING LOOPBACK</samp></li>
<li>For IPv6: <samp class="codeph">PING '::1'</samp></li>
</ul>
See Ping parameters to fine-tune the Ping command to get the most accurate
results. Prompt on the Ping command by selecting F4 for complete details on
the Ping parameters.</li>
<li class="stepexpand"><span>Failures might indicate the following problems.</span>
<table border="1" frame="hsides" rules="rows" cellpadding="4" cellspacing="0" summary="" class="choicetableborder">
<thead><tr><th valign="bottom" align="left" id="d0e51-option">Problem</th>
<th valign="bottom" align="left" id="d0e51-desc">Recovery</th></tr></thead>
<tbody><tr><td valign="top" headers="d0e51-option" id="d0e58"><strong>The local host table does not have an entry for the IPv4
LOOPBACK host name and IP address of 127.0.0.1.</strong></td>
<td valign="top" headers="d0e51-desc d0e58"><p>You need
to add the entry to the host table. This is only relevant for IPv4 because
host tables do not currently support IPv6. To verify the host table entries,
follow these steps:</p>
<ol type="a"><li>At the command line, type <samp class="codeph">CFGTCP</samp> (Configure TCP/IP).</li>
<li>Select option 10 (Work with TCP/IP Host Table Entries).</li>
<li>Verify that the host table contains an entry for the LOOPBACK host name
and IP address 127.0.0.1.</li>
</ol>
</td>
</tr>
<tr><td valign="top" headers="d0e51-option" id="d0e74"><strong>The loopback interface is not active.</strong></td>
<td valign="top" headers="d0e51-desc d0e74"><p>To
activate the loopback interface: </p>
<ol type="a"><li>At the command line, type <samp class="codeph">NETSTAT</samp>.</li>
<li>Select option 1 (Work with TCP/IP interface status) for IPv4 interfaces,
or select option 4 (Work with IPv6 interface status) for IPv6 interfaces.</li>
<li>Scroll down to find the loopback interface (127.0.0.1 or ::1), and select
option 9 (Start) from the Work with TCP/IP interface status menu.</li>
</ol>
</td>
</tr>
<tr><td valign="top" headers="d0e51-option" id="d0e90"><strong>TCP/IP has not been started.</strong></td>
<td valign="top" headers="d0e51-desc d0e90">To start TCP/IP,
type <samp class="codeph">STRTCP</samp> (Start TCP/IP) at the command line.</td>
</tr>
</tbody></table>
</li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakupingcharbased.htm" title="You can use the PING command from the character-based interface to test your TCP/IP connectivity.">Ping from a character-based interface</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzakupingerrors.htm" title="Use these common error messages to find out how to resolve the errors.">Common error messages</a></div>
<div><a href="rzakupingparam.htm" title="Ping parameters enable you to adjust the way the Ping command performs its test of connectivity.">Ping parameters</a></div>
</div>
</div>
</body>
</html>