Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Configuring TCP/IP and Ethernet LAN Adapter for an IBM AS/400
Technical Note 1121
Last Reviewed 06-Jul-2007
Applies To
Reflection for IBM 2008
Reflection Standard Suite 2008
Reflection for IBM 2007
Reflection for IBM version 11.0 through 14.x
IBM OS/400 version V3R1 and higher
Summary

This technical note explains how to verify configuration of an Ethernet or Token Ring LAN adapter for an IBM AS/400 midrange host system.

Verify That TCP/IP Configured Properly on the AS/400

TCP/IP is configured properly on the AS/400 when TCP/IP is enabled and that you can ping the AS/400. Verify your system as follows:

Netstat

To ensure that TCP/IP is enabled, enter the following command at the AS/400 system prompt:

NETSTAT
  • If NETSTAT reports that "TCP/IP is not started," refer to the section below on Installing and Configuring TCP/IP on the AS/400.
  • If TCP/IP is configured, you may be prompted to verify the settings.

Ping

To check whether you can ping the AS/400, enter the PING command at the AS/400 system prompt. An example:

PING '192.168.1.1'

The above command would have the AS/400 ping a PC with the IP address of 192.168.1.1.

Installing and Configuring TCP/IP on the AS/400

To install and configure TCP/IP on the AS/400, enter the following command at the AS/400 system prompt:

CFGTCP

When you enter CFGTCP you will see up to twenty-two different configuration options. Verify and configure the required settings below.

  • TCP/IP Interfaces.

The TCP/IP Interface description is typically:

    • Line Description: ETHERNET
    • Line Type: ELAN
  • TCP/IP Routes.

Check the DFROUTE and MTU entries.

    • DFROUTE indicates the router IP address.
    • Set route's MTU size to *IFC (recommended).
  • TCP/IP Attributes.

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

STRTCP

The administrator must start the TCP/IP transport once configuration is complete.

Verify That the LAN Adapter is Installed and Functional

To check whether the LAN adapter (Ethernet or Token-Ring) is installed and functioning, follow these steps:

  1. Enter the following command at the AS/400 system prompt:
DSPHDWRSC *CMN
  1. Find Ethernet Port in the listing. If there is no value for Ethernet Port, then OS/400 is not automatically reporting the existence of an Ethernet adapter. This indicates a severe hardware failure.
  2. You will need to know the value of the Resource Line Description entry. Note the Resource Line Description value: L_____. This typically corresponds to LAN adapter (Ethernet or Token-Ring) and is directly above the Ethernet Port resource line.
  3. Select option 5 to display configuration descriptions.
  4. Enter 8 to work with Configuration Status.
  5. Verify that the status for Ethertcp is Active.
  6. Option 1-Vary On may be entered for an inactive device.

Checking the LAN Interface (LINE) Configuration

The way you check a LAN interface configuration depends on whether you have an Ethernet or Token-Ring adapter. You will need to know the Resource Line Description value that you got in step three of the Verify the LAN Adapter is Installed and Functional section above. Steps are included in separate sections below.

Ethernet

If you have an Ethernet adapter follow these steps:

  1. Enter the following command at the AS/400 system prompt:
CRTLINETH

Press F4 any you will be prompted for configuration entries. Do not press Enter. In the Line Description field the recommended entry is ETHERNET.

  1. In the Resource name field, enter the OS/400 value for the "LAN Adapter." This value was returned by the AS/400 in the third step of the Verify the LAN Adapter is Installed and Functional section above.
  2. Press Enter to accept these changes.

Token Ring

If you have a Token-Ring adapter follow these steps:

  1. Enter the following command at the AS/400 system prompt:
CRTLINTRN

Press F4 and you will be prompted for configuration entries. Do not simply press Enter.

  1. In the Line Description field, the recommended entry is TOKENRING.
  2. In the Resource name field, enter the OS/400 value for the "LAN Adapter." This value was returned by the AS/400 in the third step of the Verify the LAN Adapter is Installed and Functional section above.
  3. Press Enter to accept these changes.
Related Technical Notes
1070 Troubleshooting MPTN Connections in Reflection for IBM

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.