21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If you are using the route command to change the routing table on your machine<br />

and you want this change to be permanent, insert the appropriate line in the<br />

/etc/rc.net file.<br />

8.2.1 Dynamic or static routing<br />

If you have a problem with the dynamic routing protocol, follow the procedure<br />

provided in this section.<br />

If your system is set up to use the routed daemon:<br />

1. Check if the routed daemon is running; if not, start it with the startsrc -s<br />

routed command.<br />

2. If routed cannot identify the route through queries, check the /etc/gateways<br />

file to verify that a route to the target host is defined and that the target host is<br />

running the RIP.<br />

3. Make sure that gateways responsible for forwarding packets to the host are<br />

up and that they are running the RIP (routed or gated active). Otherwise you<br />

will need to define a static route.<br />

4. Run the routed daemon with the debug option to log information such as bad<br />

packets received. Invoke the daemon from the command line using the<br />

following command:<br />

startsrc -s routed -a "-d"<br />

5. Run the routed daemon using the -t flag, which causes all packets sent or<br />

received to be written to standard output. When routed is run in this mode, it<br />

remains under the control of the terminal that started it. Therefore, an<br />

interrupt from the controlling terminal kills the daemon.<br />

If your system is set up to use the gated daemon:<br />

1. Check if gated is running; if not, start it with the startsrc -s gated command.<br />

2. Verify that the /etc/gated.conf file is configured correctly and that you are<br />

running the correct routing protocols.<br />

3. Make sure that the gateway on the source network is using the same protocol<br />

as the gateway on the destination network.<br />

4. Make sure that the machine that you are trying to communicate with has a<br />

return route back to your host machine.<br />

You should set static routes under the following conditions:<br />

► The destination host is not running the same protocol as the source host, so it<br />

cannot exchange routing information.<br />

184 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!