• No results found

Type Display Network Attributes (DSPNETA) on an AS/400 command line and look for the following values. Make note of them in the blank spaces for future

Using Operations Navigator to start, stop, configure, and verify a TCP/IP connection

__ 1. Type Display Network Attributes (DSPNETA) on an AS/400 command line and look for the following values. Make note of them in the blank spaces for future

reference.

__ a. AS/400 name (listed as Local Control Point Name) ____________________

__ b. Local Network ID (referred to throughout this document as Net ID.

Advanced Peer-to-Peer Networking (APPN) is the default) _____________________________

__ 2. Type Configure TCP/IP (CFGTCP) on an AS/400 command line and press the Enter key. Take option 1, (Work with TCP/IP Interfaces), to view the Internet Address for your active line description. See your network administrator for any assistance.

__ a. AS/400 Internet Address (also referred to as Internet Protocol (IP) address in this document). ________________________

__ 3. TCP/IP for Windows 95/NT must already be setup on your PC.

This topic describes how to configure AS/400 for APPC over IP. Use this configuration if you have Systems Network Architecture (SNA) applications that need to communicate using Client Access, and if the network protocol is TCP/IP. Before you begin configuring AS/400 for AnyNet (APPC over TCP/IP) support, make sure that you have already configured AS/400 for TCP/IP. You need to add AnyNet (APPC over TCP/IP) entries to the TCP/IP host table on AS/400 if either of the following are true:

__ 1. You do not have a Domain Name Server (also known as DNS or name server).

__ 2. Your name server cannot hold the long names that are required for AnyNet communications.

The best method to use to add AnyNet (APPC over TCP/IP) communication information for your network is to enter the long names into your name server.

The following information explains how to add IP addresses to the AS/400 local host table. You can associate up to four host names with each IP address in an AS/400 local host table. This association of an IP address with a set of names is a host table entry.

You can add the following types of names to the host table:

v AnyNet (APPC over TCP/IP) name for the PC v TCP/IP name for the PC

To add host table entries for each PC that will connect to this AS/400 system:

__ 1. Enter CFGTCP at the AS/400 command prompt. Then select Option 10, Work with TCP/IP host table entries. For this example, the name of the AS/400 system on the network (SYS1) is already entered in the host table.

© Copyright IBM Corp. 1995, 1998 61

__ 2. Enter a 1 in the Opt field to show the Add TCP/IP Host Table Entry display. Then enter a + in the Host names field to show more Name entry fields.

__ 3. Enter the IP address for the PC. The address must be unique for each PC. Make sure that the address in the Internet address field has an apostrophe at the beginning and end of the field. For example, ’9.5.1.179’.

__ 4. Enter the AnyNet (APPC over TCP/IP) name for the PC.

The name must be in the form yourpc.appn.sna.ibm.com, where:

v yourpc is the name of the PC on the network.

Work with TCP/IP Host Table Entries

System: SYS1 Type options, press Enter.

1=Add 2=Change 4=Remove 5=Display 7=Rename Internet Host

Opt Address Name

1 9.5.5.100 SYSTEM1

Figure 40. Work with TCP/IP Host Table Entries display

Add TCP/IP Host Table Entry (ADDTCPHTE) Type choices, press Enter.

Internet address . . . > ' ' Host names:

Name . . . >

Name . . . >

+ for more values _ Text 'description' . . . >

Figure 41. Add TCP/IP Host Table Entry (ADDTCPHTE) display

Add TCP/IP Host Table Entry (ADDTCPHTE) Type choices, press Enter.

Internet address . . . > '9.5.1.179'

Figure 42. Add TCP/IP Host Table Entry (ADDTCPHTE) display

v appn is local network ID for the AS/400 system. APPN is the default local network ID for the AS/400 system. Your local network ID may be different. Use the DSPNETA command at the AS/400 command prompt to display the value for the local network ID.

v sna.ibm.com is the SNA domain suffix. This is needed for AnyNet (APPC over TCP/IP) communications in SNA networks. The SNA domain name suffix is AnyNet’s (APPC over TCP/IP) own domain name. It is different from the TCP/IP domain name. The AnyNet (APPC over TCP/IP) domain name does not affect your TCP/IP domain name. AnyNet appends the AnyNet domain name to the combined system name and network ID to create the full AnyNet domain name (sometimes referred to as the AnyNet name).

The AnyNet standard for the SNA domain suffix is sna.ibm.com. You should not change it unless absolutely necessary.

Note: sna.ibm.com is coded into the AS/400 operating system and is difficult to change.

If you find it necessary to change the SNA domain suffix, do the following:

__ 1. Enter the TCP/IP name for the PC.

Tab to the next name field and enter the TCP/IP name that identifies the PC on the network . For example, the name of the PC we are adding is MOLLY.

__ 2. Press the Enter key to add the host table entry.

Add TCP/IP Host Table Entry (ADDTCPHTE) Type choices, press Enter.

Internet address . . . > '9.5.1.179 ' Host names:

Name . . . > molly.appn.sna.ibm.com

Name . . . > molly

+ for more values _

Text 'description' . . . > 'Fastpath Test System'

Figure 43. Add TCP/IP Host Table Entry (ADDTCPHTE) display

Chapter 7. Configuring AnyNet - APPC over TCP/IP 63

__ 3. Repeat the above steps for each PC by using TCP/IP.

__ 4. Configure the network attribute for AnyNet.

If you are not sure what the parameter is set to, enter DSPNETA at the AS/400 command prompt. Page down to the last page and find :Allow AnyNet support.

If the value is *NO, then enter CHGNETA ALWANYNET(*YES) at the AS/400 command prompt.

__ 5. If the attribute in step 4 was changed, vary off your communications controllers, then vary them back on.

If the current system name, local network ID, or local control point name are changed, you must vary off all communications controllers if you change the AnyNet (APPC over TCP/IP) attribute. Then vary on the communications controllers after the change is made.

Enter:

WRKCFGSTS *CTL

Vary the controllers off, then on.

__ 6. Create an APPC controller for AnyNet (APPC over TCP/IP).

Enter the following command at the AS/400 command prompt:

CRTCTLAPPC CTLD(appcovrtcp) LINKTYPE(*ANYNW) RMTCPNAME(tcpip) RMTNETID(*NETATR) where

v CTLD(appcovrtcp) means that the value you enter as the name of the controller description is arbitrary. It is whatever name you want your controller to have.

v RMTCPNAME(tcpip) is your remote control point name. This configuration does not use this value.

Make sure that you use the same value for the RMTNETID parameter in this create command as the value that is specified for the local network ID in the network attributes. Using the value *NETATR as shown in the example will ensure that the same value is used.

__ 7. Vary on the AnyNet (APPC over TCP/IP) controller.

Work with TCP/IP Host Table Entries

System: SYS1 Type options, press Enter.

1=Add 2=Change 4=Remove 5=Display 7=Rename Internet Host

Opt Address Name

9.5.5.100 SYS1

9.5.1.179 MOLLY.APPN.SNA.IBM.COM MOLLY

Figure 44. Work with TCP/IP Host Table Entries display

Enter the following command at the AS/400 command prompt:

VRYCFG CFGOBJ(appcovrtcp) CFGTYPE(*CTL) STATUS(*ON)

This will vary on the controller that was created in the previous step. The following happens when the controller is varied on:

v An APPC device is automatically created.

v The device is active for each PC that connects to the AS/400 system using the TCP/IP with AnyNet (APPC over TCP/IP) connectivity (up to 254 devices).

If you have more than 254 devices, you can create another controller.

__ 8. Start TCP/IP.

Type STRTCP at the AS/400 command prompt.

Use the TCP/IP PING command to verify that you can PING other workstations on the network. If you are successful, the network is configured correctly.

You have just completed the AS/400 AnyNet configuration. Return to the checklist in

“Chapter 2. Setup Checklist” on page 15.

Chapter 7. Configuring AnyNet - APPC over TCP/IP 65

Chapter 8. Configuring Systems Network Architecture (SNA)