Routed problem and how to trace
ITEM: RS4000000331
Answer..........:
====> THIS TEXT HAS BEEN ENTERED BY IBM IN JAPAN
Thank you very much.
**************> QUESTION level 1 --> level 2 SPECIALIST <**************
Hello,
My customer encountered the routed problem.
He uses routed daemon to maintain routing information.
In his system, a piece of the routing information had been lost.
He wants to know what is a cause.
At first, he tried to executed the following instructions to collect
the log;
+----------------------------------------------------------------------
| startsrc -s routed -a "-t /tmp/logfile"
+----------------------------------------------------------------------
But he did not collect the any information.
He wants to know what kind of information should he collect and how to
collect to solve his problem.
Please answer for his question.
Thanks and Regards.
**************> ANSWER level 2 --> level 1 SPECIALIST <**************
====> THIS TEXT HAS BEEN ENTERED BY IBM IN USA
====> RESP: AIXOPSYS AT WTSCPOK ================= DATE:960702
TIME:1159
Response:
There is a known problem with using "-t" and "-d" with startsrc and
route
Instead of writting to the given logfile, the output is written into a
fi
called "routed" in the local directory. There are fixes available to
sol
this problem.
For AIX 3.2.5 APAR IX53880 - PTF U442654
For AIX 4.1 APAR IX53663 - PTF U440331
You should consuder using the "-d" flag also. This will tell you if
any
packets are received. You might also check the following:
a) netstat -r this lists routing tables
b) check /etc/gateways and make sure that a static route to the target
host is set up ( if using RIP and dynamic routing)
For example on the host start the route deamon as
startsrc -s routed -a "-q -d -t /tmp/routelog"
Then use the command
kill -30
To increase the level of debugging to the maximum level, Execute the
kill command four times.
Now the /tmp/routelog should provide valuable information on the RIP
packets that are being exchanged.
The /tmp/routelog file will have valuable information for debugging.
On receipt of a RIP packet there should be a log entry like:
RESPONSE from 129.35.18.141.520 Tue Sep 1 15:13:58:
dst 0.0.0.0 metric 1
dst 192.100.224.0 metric 1
dst 129.35.16.0 metric 1
-------
While updating the routing table there would be an entry like
--------
ADD dst 0.0.0.0, router 129.35.18.141, metric 2,
flags UP|GATEWAY state CHANGED
ADD dst 192.100.224.0, router129.35.18.141, metric 2,
flags UP|GATEWAY state C
ADD dst 9.0.0.0, router 129.35.18.141, metric 3,
flags UP|GATEWAY state CHANGED
---
One can make sure that a RIP packet sent from the gateway is being
received by the hosts by looking at the log file.
Thank you for using AIX Technical Support.
WWQA: ITEM: RS4000000331 ITEM: RS4000000331
Dated: 08/1996 Category: AIX6000
This HTML file was generated 99/06/24~12:43:03
Comments or suggestions?
Contact us