ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/addipsifc.htm

152 lines
8.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Add IP over SNA Interface (ADDIPSIFC)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="ADDIPSIFC.Top_Of_Page"></a>
<h2>Add IP over SNA Interface (ADDIPSIFC)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#ADDIPSIFC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDIPSIFC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDIPSIFC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDIPSIFC"></a>
<p>The Add IP over SNA Interface (ADDIPSIFC) command is used to define AF_INET Sockets over SNA interfaces. An interface is an IP address by which this local host is known on the SNA transport. The interfaces defined by the ADDIPSIFC command are logical interfaces. They are not physical interfaces and they are not associated with any line description or network interface. There may be multiple AF_INET Sockets over SNA logical interfaces defined on a host.
</p>
<p>
<b>Note: </b>When an interface is added it is activated by default if AF_INET Sockets over SNA communications is active and the user issuing the ADDIPSIFC command is authorized to start AF_INET Sockets over SNA interfaces. A user must have authority to the Start IP over SNA Interface (STRIPSIFC) CL command to have the authority to start AF_INET Sockets over SNA interfaces. If the interface should not be active, use the End IP over SNA Interface (ENDIPSIFC) CL command to deactivate it.
</p>
<p>Only eight (8) AF_INET sockets over SNA interfaces can be active on a single host. If the maximum number of interfaces are already active, the interface being added will not be started. If you want the interface started, you must first end one or more active interfaces using the End IP over SNA interfaces (ENDIPSIFC) CL command and then use the Start IP over SNA interfaces (STRIPSIFC) CL command to start the interface.
</p>
<p><b>Restriction:</b> The user must have *IOSYSCFG authority to use this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDIPSIFC.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#ADDIPSIFC.INTNETADR"><b>INTNETADR</b></a></td>
<td valign="top">Internet address</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDIPSIFC.SUBNETMASK"><b>SUBNETMASK</b></a></td>
<td valign="top">Subnet mask</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDIPSIFC.INTNETADR"></a>
<h3>Internet address (INTNETADR)</h3>
<p>Specifies an internet address that the local system responds to on this interface. The internet address is specified in the form <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address. If the internet address is entered from a command line, the address must be enclosed in apostrophes.
</p>
<p>This is a required parameter.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>The internet address cannot begin with 0 (for example, 0.nnn.nnn.nnn).
</li>
<li>The internet address cannot begin with 127 (for example, 127.nnn.nnn.nnn). This address range is reserved for TCP/IP loopback addresses.
</li>
<li>The internet address cannot be a class D or class E address. Class D addresses range from 224.nnn.nnn.nnn to 239.nnn.nnn.nnn. Class E addresses range from 240.nnn.nnn.nnn to 255.nnn.nnn.nnn.
</li>
<li>Each interface must have a unique internet address and cannot be the same as any defined TCP/IP interface internet address.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDIPSIFC.SUBNETMASK"></a>
<h3>Subnet mask (SUBNETMASK)</h3>
<p>Specifies the subnet mask, which is a bit mask that defines the part of the network where this interface attaches. The mask is a 32-bit combination that is logically ANDed with the internet address to determine a particular subnetwork. The bits of the mask set to the value one (1) determine the network and subnetwork portions of the address. The bits set to the value zero (0) determine the host portion of the address.
</p>
<p>This is a required parameter.
</p>
<p>
<b>Note: </b>The network portion must be equal to one bits in the subnetmask. The host portion and the subnetmask portion of an address must both be at least two bits wide.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><i>subnet-mask</i></b></dt>
<dd>Specify the mask for the network subnet field and host address field of the internet address that defines a subnetwork. The subnetwork mask is in the form, <i>nnn.nnn.nnn.nnn</i>, where <i>nnn</i> is a decimal number ranging from 0 through 255. The subnet mask must mask off all bits of the network class's network ID portion of the internet address. This means the subnet mask for a class A address must be 255.nnn.nnn.nnn, the subnet mask for a class B address must be 255.255.nnn.nnn, and the subnet mask for a class C address must be 255.255.255.nnn. For example, 255.255.255.0 could define a subnet mask for an interface with a class B internet address. In this example, the first two octets must be 1 bits because these octets define the network ID portion of the class B internet address. The third octet of this subnet mask defines the actual subnet mask ID portion of the interface's internet address. It is also all 1 bits. This leaves the fourth octet to define the host ID portion of the interface's internet address.
<p>
<b>Note: </b>The bits that identify the subnetwork are not required to be adjacent in the address. However, it is strongly recommended that the subnet bits be contiguous and located in the most significant bits of the host address.
</p>
<p>
<b>Note: </b>If the subnet mask is entered from a command line, the address must be enclosed in apostrophes.
</p>
</dd>
</dl>
<p><b>Restriction:</b> The subnet mask cannot be 255.255.255.255 for a class A, class B, or class C interface internet address.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDIPSIFC.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ADDIPSIFC INTNETADR('9.5.1.248') SUBNETMASK('255.255.255.0')
</pre>
</p>
<p>This command designates an IP address for this local host on the SNA transport which is 9.5.1.248. The SUBNETMASK indicates that network 9 is subnetted using bytes 2 and 3 of the internet address as the subnetwork.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDIPSIFC.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFA108</b></dt>
<dd>IP over SNA interface added but not started.
</dd>
<dt><b>TCP8050</b></dt>
<dd>*IOSYSCFG authority required to use &amp;1.
</dd>
<dt><b>TCP9999</b></dt>
<dd>Internal system error in program &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDIPSIFC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>