Re: Routing Table in netatalk?


Subject: Re: Routing Table in netatalk?
From: Hong F Du (feng@scisun.sci.ccny.cuny.edu)
Date: Tue Jul 18 2000 - 13:26:20 EDT


Thank you. That is great. How do I interpret the output of
#cat /proc/net/atalk_route
Target Router Flages Dev
0192:01 0000:00 5 lo
4F23:00 1964:9F 3 eth0
0192:00 0192:01 1 eth1
1964:95 0000:00 5 lo
1964:00 1964:95 1 eth0
0000:00 0000:00 5 lo

Is Target for network number? How many routers are there totally? Are there
two routers on eth0, which one is my? Is Flages for hop count?

Since I am testing atalk and need to restart atalk sometimes, I want to know
if there are other routers running on eth0 side before I restart atalk. I
don't want my atalk to be the last router on the network to shutdown and
all the macs on eth0 side have no router to fall back on. Thank you again.

feng

andrew morgan wrote:

> On Tue, 18 Jul 2000, Hong F Du wrote:
>
> > Hi All,
> > Is there a routing table under netatalk or atalk? Since my atalk is
> > running as a nonseed router I would like to see what other routers on
> > the network too. How should I get this routing info?
> > Thank you in advance.
>
> If you are using linux, look at:
>
> /proc/net/appletalk - shows current appletalk connections
>
> /proc/net/atalk_iface - shows appletalk settings for each network
> interface
>
> /proc/net/atalk_route - shows appletalk routing table
>
> You can just "cat" these files to see what the entries are. On my
> network, there is only one appletalk router, so atalk_route always shows
> the same address for the router field.
>
> Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:31 EST