For a start run unix command "man netstat" there are many references to routing tables in here.
"netstat -r" will show current routing tables.
On a side note, if you are troubleshooting routing issues traceroute will definitely come in handy. Like marrow said, "netstat" is the command to issue, I normally do a "netstat -rn" because it doesn't try to resolve the host names.
hmmm.
there is also a new tool named iproute2, which works great under linux:
ftp://ftp.inr.ac.ru/ip-routing/iproute2-current.tar.gz
for example,below command is equivalent to netstat -rn:
[root@claude root]# ip route show
10.167.34.0/24 via 10.167.34.26 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 10.167.34.254 dev eth0
and iproute2 still has a more powerful function.
please visit
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.