IBM Support

Changing the Subnet Mask of a TCP/IP Interface

Troubleshooting


Problem

This document describes how to change the subnet mask for a TCP/IP interface.

Resolving The Problem

When trying to change the subnet mask of an interface that has associated routes, message TCP265A is issued even if the interface or TCP/IP is inactive. This change must be made during a period of downtime because the interface must be deactivated. This configuration must be done from the console or from a session to an interface other than the one that must be changed. To change this interface without first removing all of the associated routes, add an interface that is on the same subnet (this is a temporary interface that must be an available one that is not used currently on your network). Activate the new IP address and deactivate the address you want to change. Now all of the routes will be associated with the new interface and, as a result, you can make changes to the old interface. After making the changes, activate this interface and deactivate the temporary interface. Then, delete the temporary interface once it is inactive.

Do the following:

Note: This does not work at releases of OS/400 prior to V5R1M0.

1On the OS/400™ or i5/OS™ command line, type the following:

CFGTCP

Press the Enter key.
2Select Option 1, Work with TCP/IP Interfaces, and press the Enter key.
3Select Option 1 (to add the new interface that is on the same subnet as the one you want to change), and press the Enter key.
4Select Option 9 (to start this temporary interface), and press the Enter key.
5Select Option 10 (to deactivate the interface that needs to be changed), and press the Enter key.
6Select Option 2 (to make the change to the subnet mask field of the interface), and press the Enter key.
7Select Option 9 (to activate the changed interface), and press the Enter key.
8Select Option 10 (to deactivate the temporary interface), and press the Enter key.
9Select Option 4 (to delete the temporary interface), and press the Enter key.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Communications-TCP","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

30741715

Document Information

Modified date:
18 December 2019

UID

nas8N1016488