102 lines
6.5 KiB
HTML
102 lines
6.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 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="Step 4: Create the interfaces" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzai2nat.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzai2natdataforward.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzai2natvfynetcom.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="natcreatevethifcs" />
|
||
|
<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>Step 4: Create the interfaces</title>
|
||
|
</head>
|
||
|
<body id="natcreatevethifcs"><a name="natcreatevethifcs"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Step 4: Create the interfaces</h1>
|
||
|
<div><div class="section"> <p>To create the TCP/IP interfaces, complete these steps:</p>
|
||
|
</div>
|
||
|
<ol><li><span>Create and start an i5/OS™ TCP/IP interface on partition B for
|
||
|
general communication to and from the server. To create the interface, follow
|
||
|
these steps:</span><ol type="a"><li><span>On the command line on partition B, type <kbd class="userinput">CFGTCP</kbd>,
|
||
|
and then press Enter to see the Configure TCP/IP panel.</span></li>
|
||
|
<li><span>Select option 1 (Work with TCP/IP Interfaces), and then press
|
||
|
Enter.</span></li>
|
||
|
<li><span>Select option 1 <span class="uicontrol"></span>(Add), and then press
|
||
|
Enter to see the Add TCP/IP Interface (ADDTCPIFC) panel.</span></li>
|
||
|
<li><span>At the <em>Internet address</em> prompt, type <kbd class="userinput">'10.1.1.2'</kbd>.</span></li>
|
||
|
<li><span>At the <em>Line description</em> prompt, type <kbd class="userinput">ETHLINE</kbd>.</span></li>
|
||
|
<li><span>At the <em>Subnet mask</em> prompt, type <kbd class="userinput">'255.255.255.0'</kbd>.</span></li>
|
||
|
<li><span>Start the interface. On the Work with TCP/IP Interfaces panel,
|
||
|
select option 9 (Start) by the interface.</span></li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
<li><span>Create and start another TCP/IP interface that connects to the
|
||
|
external network. It should use the same line description as your existing
|
||
|
external TCP/IP interface. This interface will eventually perform the address
|
||
|
translation for your partition. To create the interface, follow these steps:</span><ol type="a"><li><span>On the command line on partition B, type <kbd class="userinput">CFGTCP</kbd>,
|
||
|
and then press Enter to see the Configure TCP/IP panel.</span></li>
|
||
|
<li><span>Select option 1 (Work with TCP/IP Interfaces), and then press
|
||
|
Enter.</span></li>
|
||
|
<li><span>Select option 1 (Add), and then press Enter to see the Add TCP/IP
|
||
|
Interface (ADDTCPIFC) panel.</span></li>
|
||
|
<li><span>For the <em>Internet address</em> prompt, type <kbd class="userinput">'10.1.1.3'</kbd>.</span></li>
|
||
|
<li><span>For the <em>Line description</em> prompt, type <kbd class="userinput">ETHLINE</kbd>.</span></li>
|
||
|
<li><span>For the <em>Subnet mask</em> prompt, type <kbd class="userinput">'255.255.255.0'</kbd>.</span></li>
|
||
|
<li><span>Start the interface. On the Work with TCP/IP Interfaces panel,
|
||
|
select option 9 (Start) by the interface.</span></li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
<li><span>Create and start the i5/OS TCP/IP interface on partition A for
|
||
|
the virtual Ethernet. To create the interface, follow these steps:</span><ol type="a"><li><span>On the command line on partition A, type <kbd class="userinput">CFGTCP</kbd>,
|
||
|
and press Enter to see the Configure TCP/IP panel.</span></li>
|
||
|
<li><span>Select option 1 (Work with TCP/IP Interfaces), and then press
|
||
|
Enter.</span></li>
|
||
|
<li><span>Select option 1 (Add), and press Enter to see the Add TCP/IP
|
||
|
Interface (ADDTCPIFC) panel.</span></li>
|
||
|
<li><span>At the <em>Internet address</em> prompt, type <kbd class="userinput">'192.168.1.1'</kbd>.</span></li>
|
||
|
<li><span>At the <em>Line description</em> prompt, type <kbd class="userinput">VETH0</kbd>.</span></li>
|
||
|
<li><span>At the <em>Subnet mask</em> prompt, type <kbd class="userinput">'255.255.255.0'</kbd>.</span></li>
|
||
|
<li><span>Start the interface. On the Work with TCP/IP Interfaces panel,
|
||
|
select option 9 (Start) by the interface.</span></li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
<li><span>Create and start the i5/OS TCP/IP interface on partition B for
|
||
|
the virtual Ethernet. To create the interface, follow these steps:</span><ol type="a"><li><span>On the command line on partition B, type <kbd class="userinput">CFGTCP</kbd>,
|
||
|
and press Enter to see the Configure TCP/IP panel.</span></li>
|
||
|
<li><span>Select option 1 (Work with TCP/IP Interfaces), and then press
|
||
|
Enter.</span></li>
|
||
|
<li><span>Select option 1 (Add), and press Enter to see the Add TCP/IP
|
||
|
Interface (ADDTCPIFC) panel.</span></li>
|
||
|
<li><span>At the <em>Internet address</em> prompt, type <kbd class="userinput">'192.168.1.5'</kbd>.</span></li>
|
||
|
<li><span>At the <em>Line description</em> prompt, type <kbd class="userinput">VETH0</kbd>.</span></li>
|
||
|
<li><span>At the <em>Subnet mask</em> prompt, type <kbd class="userinput">'255.255.255.0'</kbd>.</span></li>
|
||
|
<li><span>Start the interface. On the Work with TCP/IP Interfaces panel,
|
||
|
select option 9 (Start) by the interface.</span></li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzai2nat.htm" title="You can use i5/OS packet filtering to route traffic between a partition and the outside network.">Network address translation method</a></div>
|
||
|
<div class="previouslink"><strong>Previous topic:</strong> <a href="rzai2natdataforward.htm">Step 3: Turn on IP datagram forwarding</a></div>
|
||
|
<div class="nextlink"><strong>Next topic:</strong> <a href="rzai2natvfynetcom.htm">Step 5: Verify network communications</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|