Routes

You need to verify that the appropriate routes are configured.

Your server needs routes to send packets to other servers or hosts. The route determines the path that a packet takes to its destination.

If you are trying to Ping an interface address and do not receive a reply, you should verify that your routes are configured and available. To communicate between a local and remote network, whether you are using IPv4 or IPv6 connectivity, you should have at least these two types of routes configured on the server:

Keep in mind that routes are unidirectional. Just because a packet from a client can get to your system does not mean that your system can send a packet to the client.

Verify that the appropriate IPv4 or IPv6 routes are configured on your server.

IPv4 routes

To display information about the IPv4 routes on your server, follow these steps:
  1. Type NETSTAT or WRKTCPSTS on the command line to display the Work with Network Status menu, and then select option 2 on this menu.
  2. Select option 5 (Display details) for details about a specific route.
  3. If you do not have a default route configured, you should configure it now. To configure a default route, follow these steps:
    1. At the command line, type CFGTCP to access the Configure TCP/IP menu.
    2. Select option 2 (Work with TCP/IP Routes).
    3. Select option 1 (Add) to go to the Add TCP/IP Route (ADDTCPRTE) display.
    4. For the Route destination prompt, specify *DFTROUTE.
    5. For the Subnet mask prompt, specify *NONE.
    6. For the Next hop prompt, specify the appropriate IP address.

As an alternative, you can configure a default route using the New IPv4 Route wizard in iSeries™ Navigator. See the route information for iSeries Navigator for more information.

IPv6 routes

To display information about the IPv6 routes on your server, follow these steps:

  1. Type NETSTAT or WRKTCPSTS on the command line to display the Work with Network Status menu, and then select option 5 on the menu.
  2. Select option 5 (Display details) for details about a specific route.

For IPv6, the Internet Protocol automatically configures default routes for each interface on the server. However, if you prefer, you can use the New IPv6 Route wizard in iSeries Navigator to create new routes yourself. See the route information for iSeries Navigator for more information.

Related concepts
Routes