68 lines
3.5 KiB
HTML
68 lines
3.5 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" 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. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-10-17" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<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))' />
|
|
<title>OptiConnect and IP Forwarding</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="ipforwarding"></a>
|
|
<h3 id="ipforwarding">OptiConnect and IP Forwarding</h3>
|
|
<p>IP forwarding and routing allows systems or partitions that are not connected
|
|
to the same OptiConnect loop to communicate using TCP/IP.</p>
|
|
<p>This is accomplished by configuring a unique subnet for each loop, enabling
|
|
IP forwarding, and routing packets from one subnet to another.</p>
|
|
<p>First, use the Change TCP/IP Attributes (CHGTCPA) command to turn on IP
|
|
forwarding. This will enable forwarding of all packets, not just OptiConnect.
|
|
Then define routes with the appropriate next hops to allow packets to flow
|
|
to the desired destinations.</p>
|
|
<p>The following example shows how to turn on IP forwarding on System B to
|
|
allow System A to communicate with System C and System D:</p>
|
|
<a name="wq45"></a>
|
|
<div class="fignone" id="wq45"><span class="figcap">Figure 14. IP forwarding</span>
|
|
<div class="mmobj">
|
|
<img src="rzaeb509.gif" alt="" /></div></div>
|
|
<ol type="1">
|
|
<li>Define a route to destination 10.0.1.0 with a mask of 255.255.0 and specify
|
|
10.0.0.2 as the next hop.
|
|
<pre class="xmp">System A (10.0.0.1):
|
|
ADDTCPIFC INTNETADR('10.0.0.1') LIND(*OPC) SUBNETMASK('255.255.255.0')
|
|
ADDTCPRTE RTEDEST('10.0.1.0') SUBNETMASK('255.255.255.0') NEXTHOP('10.0.0.2')
|
|
</pre></li>
|
|
<li>Turn on IP forwarding on System B.
|
|
<pre class="xmp">System B (10.0.0.2 and 10.0.1.2):
|
|
CHGTCPA IPDTGFWD(*YES)
|
|
ADDTCPIFC INTNETADR('10.0.0.2') LIND(*OPC) SUBNETMASK('255.255.255.0')
|
|
ADDTCPIFC INTNETADR('10.0.1.2') LIND(*OPC) SUBNETMASK('255.255.255.0')
|
|
</pre></li>
|
|
<li>On System C and System D, define a route to destination 10.0.0.0 with
|
|
a mask of 255.255.255.0 and specify 10.0.1.2 as the next hop.
|
|
<pre class="xmp">System C (10.0.1.3):
|
|
ADDTCPIFC INTNETADR('10.0.1.3') LIND(*OPC) SUBNETMASK('255.255.255.0')
|
|
ADDTCPRTE RTEDEST('10.0.0.0') SUBNETMASK('255.255.255.0') NEXTHOP('10.0.1.2')
|
|
|
|
System D (10.0.1.4):
|
|
ADDTCPIFC INTNETADR('10.0.1.4') LIND(*OPC) SUBNETMASK('255.255.255.0')
|
|
ADDTCPRTE RTEDEST('10.0.0.0') SUBNETMASK('255.255.255.0') NEXTHOP('10.0.1.2')
|
|
</pre></li></ol>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|