IBM Support

traceroute and nslookup commands are failing

Troubleshooting


Problem

The traceroute and nslookup commands are failing.
Here is an example of the traceroute command and error message:
# traceroute 10.10.1.5
trying to get source for 10.10.1.5
UDP connect: Resource temporarily unavailable

Symptom

When you run the traceroute or nslookup command, it can return the errors shown:

Example:
# traceroute 10.10.1.5
trying to get source for 10.10.1.5
UDP connect: Resource temporarily unavailable

Example:
# nslookup hostname
Can't find server name for address 1.1.1.1:No response from server
Can't find server name for address 1.1.1.1:No response from server

Cause

The reason for the errors can be a shortage of UDP ephemeral ports.

Diagnosing The Problem

List ephemeral ports range.
# no -a| grep ephemeral
tcp_ephemeral_high = 65535
tcp_ephemeral_low = 32768
udp_ephemeral_high = 32800
udp_ephemeral_low = 32768

Resolving The Problem

Increase the upper limit of UDP port range by running the command below:
# no -p -o udp_ephemeral_high=65535

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvxRAAQ","label":"Communication Applications-\u003ENETWORKING COMMANDS\/FILES"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
08 July 2022

UID

isg3T1012845