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

98 lines
5.9 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="concept" />
<meta name="DC.Title" content="Routes" />
<meta name="abstract" content="You need to verify that the appropriate routes are configured." />
<meta name="description" content="You need to verify that the appropriate routes are configured." />
<meta name="DC.Relation" scheme="URI" content="rzakunetstatcharbased.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakunetstatnavroute.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="rzakunetstatcharroute" />
<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>Routes</title>
</head>
<body id="rzakunetstatcharroute"><a name="rzakunetstatcharroute"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Routes</h1>
<div><p>You need to verify that the appropriate routes are configured.</p>
<p>Your server needs routes to send packets to other servers or hosts. The
route determines the path that a packet takes to its destination.</p>
<div class="p">If you are trying to Ping an interface address and do not receive a reply,
you should verify that your routes are configured and available. To communicate
between a local and remote network, whether you are using IPv4 or IPv6 connectivity,
you should have at least these two types of routes configured on the server: <ul><li>A direct route (*DIRECT) allows packets to travel between interfaces on
the local network. It is automatically configured and activated by the server
for each interface.</li>
<li>A default route (*DFTROUTE) allows packets to travel to hosts that are
not directly connected to your network. It provides a path for the packets
to take. A default route identifies a specific node as a next hop to which
the packets travel and then continue their trip to their final destination
on a different network. The packets take the default route whenever there
is no other (more specific) route matching the destination IP address.</li>
</ul>
</div>
<p>Keep in mind that routes are unidirectional. Just because a packet from
a client can get to your system does not mean that your system can send a
packet to the client.</p>
<p>Verify that the appropriate IPv4 or IPv6 routes are configured on your
server.</p>
<div class="section"><h4 class="sectiontitle">IPv4 routes</h4><div class="p">To display information about the IPv4
routes on your server, follow these steps:<ol><li>Type <kbd class="userinput">NETSTAT</kbd> or <kbd class="userinput">WRKTCPSTS</kbd> on
the command line to display the Work with Network Status menu, and then select
option 2 on this menu.</li>
<li>Select option 5 (Display details) for details about a specific route.</li>
<li>If you do not have a default route configured, you should configure it
now. To configure a default route, follow these steps:<ol type="a"><li>At the command line, type <samp class="codeph">CFGTCP</samp> to access the Configure
TCP/IP menu.</li>
<li>Select option 2 (Work with TCP/IP Routes).</li>
<li>Select option 1 (Add) to go to the Add TCP/IP Route (ADDTCPRTE) display.</li>
<li>For the <em>Route destination</em> prompt, specify <samp class="codeph">*DFTROUTE</samp>.</li>
<li>For the <em>Subnet mask</em> prompt, specify <samp class="codeph">*NONE</samp>.</li>
<li>For the <em>Next hop</em> prompt, specify the appropriate IP address.</li>
</ol>
</li>
</ol>
</div>
<p>As an alternative, you can configure a default route using the <span class="uicontrol">New
IPv4 Route</span> wizard in iSeries™ Navigator. See the route information
for iSeries Navigator
for more information.</p>
</div>
<div class="section"><h4 class="sectiontitle">IPv6 routes</h4><p>To display information about the IPv6
routes on your server, follow these steps:</p>
<ol><li>Type <kbd class="userinput">NETSTAT</kbd> or <kbd class="userinput">WRKTCPSTS</kbd> on
the command line to display the Work with Network Status menu, and then select
option 5 on the menu.</li>
<li>Select option 5 (Display details) for details about a specific route.</li>
</ol>
<p>For IPv6, the Internet Protocol automatically configures default routes
for each interface on the server. However, if you prefer, you can use the <span class="uicontrol">New
IPv6 Route</span> wizard in iSeries Navigator to create new routes
yourself. See the route information for iSeries Navigator for more information.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakunetstatcharbased.htm" title="You can use Netstat from a character-based interface to help you troubleshoot problems with TCP/IP connectivity.">Use Netstat from a character-based interface</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakunetstatnavroute.htm" title="You need to verify that the appropriate routes are configured.">Routes</a></div>
</div>
</div>
</body>
</html>