Troubleshooting

Troubleshooting Your X.25 Link

Note 5-1 – ping

Use ping on your own IP over X.25 address, for example:

ping 195.25.0.13

Do not use aliases (for example, as defined in/etc/hosts), since this may introduce other errors.

Use the Break key or Ctrl-Cto terminate ping if you have not set the number of packets with the -noption.

Note 5-2 – Checking your IP over X.25 Configuration

If ping returns errors such as “100% packet loss,” or “Network Unreachable,” use x25stat -ato check your address configuration. The most likely causes of problems are:

No IP address was specified when X.25 was initialized (either in the X.25 configuration file or as a command line option to the x25init command).

IP to X.121 address mapping has not been initialized (using the -aoption with the x25init command).

The IP address is incorrect.

The mapping of your IP address to your X.121 address is incorrect. Check the IP to X.121 map table file (the default file is

/etc/x25/ip_to_x121_map).

If no IP communication is possible (ping to a local IP address fails) and netstat -ashows no entries despite the fact that x25init reported a successful IP mapping, the likely cause is:

the device=x25_card_device parameter has not been added to the /etc/x25/ip_to_x121_map file. See the section, “IP-to-X.121 Address Mapping Table” in this chapter.

You can also use the netstat command with the -roption to get information about IP addresses associated with a particular interface.

Note 5-3 – Exit

Your local IP over X.25 configuration is correct. You can use ping to verify connections if the remote host:

is operational,

206

Chapter 8