From: peter@merlin.acadiau.ca (Peter Steele)
Subject: Atalkatab assistance needed
Organization: Acadia University
Date: Fri, 20 Nov 1992 14:15:59 GMT

I'm in the process of setting up CAP and my environment is such
that I have to use atalkad. We have three fastpaths, each on
a different subnet. The relevant information one these boxes is:

    fastpath 1:
      ip number            = 131.162.1.2
      localtalk net number = 0.100
      IPtalk net number    = 0.200
      ethertalk net number = 1.1 (257)

    fastpath 2:
      ip number            = 131.162.64.2
      localtalk net number = 0.101
      IPtalk net number    = 0.201
      ethertalk net number = 1.1

    fastpath 3:
      ip number            = 131.162.66.2
      localtalk net number = 0.102
      IPtalk net number    = 0.202
      ethertalk net number = 1.1

One zone is defined for the entire appletalk network (campus).

I've constructed an atalkatab file but something still seems to
be wrong with it, at least when it is used on one of two hosts
that I want to run atalkad on.

The host that atalkad is not working on has an ip number of
131.162.2.77, so it is not on the same subnet as any of the fastpaths
(is that a problem?).  The atalkatab file I've constructed looks like
this:

1.1     N1      131.162.1.0     Campus          #ether

0.100   E       131.162.1.2     Campus          #localtalk
0.200   K       131.162.1.2     Campus          #KFPS 1
        I131.162.1.255  I131.162.2.77           #ipbroad ipname
        L0   L0                                 #ipdebug ipfile
        L0 L0 L0 L0     S1.1 S200               #ipother atnetet ddprange
        LX0             S0      S7              #flags ipstatic ipdynamic
        S0.200   S0.100                         #atneta atnete

0.101   E       131.162.64.2     Campus         #localtalk
0.201   K       131.162.64.2     Campus         #KFPS 2
        I131.162.1.255  I131.162.2.77           #ipbroad ipname
        L0   L0                                 #ipdebug ipfile
        L0 L0 L0 L0     S1.1 S200               #ipother atnetet ddprange
        LX0             S0      S7              #flags ipstatic ipdynamic
        S0.201   S0.101                         #atneta atnete

0.102   E       131.162.66.0     Campus         #localtalk
0.202   K       131.162.66.2     Campus         #KFPS 3
        I131.162.1.255  I131.162.2.77           #ipbroad ipname
        L0   L0                                 #ipdebug ipfile
        L0 L0 L0 L0     S1.1 S200               #ipother atnetet ddprange
        LX0             S0      S7              #flags ipstatic ipdynamic
        S0.202   S0.102                         #atneta atnete

I am not sure if I have the localtalk, iptalk, and ethernet net
numbers in the right places, although I've tried other arrangements
and it doesn't seem to make any difference, and I doubt the use
of the E option is right. Atalkad -c compiles the file with no errors:

# atalkad -c
Atalkad version 1.25
11/20 11:05 (re)reading /usr/local/lib/cap/atalkatab
11/20 11:05 art build: 7 entries, 512 maximum
11/20 11:05 zone names take 25 bytes in gateway
11/20 11:05 Proxy table uses 96 bytes
Route 1.1 Campus,        net 1 at 131.162.1.0
Route 0.100 Campus,     EtherTalk at fastpath-uhall
Route 0.200 Campus,     Kinetics box at fastpath-uhall
        IP Broadcast: 131.162.1.255, IP name: auad
        IP debug 0.0.0.0, IP file server (unused)
        UDP Port range for WKS starts at 200
        IP static address range: empty
        IP dynamic address range: 131.162.1.3 131.162.1.9
        Kbox interfaces:
                localtalk: 0.200 zone Campus
                KIP: 0.100 zone Campus
                EtherTalk: 1.1 zone Campus
Route 0.101 Campus,     EtherTalk at fastpath-EMM
Route 0.201 Campus,     Kinetics box at fastpath-EMM
        IP Broadcast: 131.162.1.255, IP name: auad
        IP debug 0.0.0.0, IP file server (unused)
        UDP Port range for WKS starts at 200
        IP static address range: empty
        IP dynamic address range: 131.162.64.3 131.162.64.9
        Kbox interfaces:
                localtalk: 0.201 zone Campus
                KIP: 0.101 zone Campus
                EtherTalk: 1.1 zone Campus
Route 0.102 Campus,     EtherTalk at 131.162.66.0
Route 0.202 Campus,     Kinetics box at fastpath-BAC
        IP Broadcast: 131.162.1.255, IP name: auad
        IP debug 0.0.0.0, IP file server (unused)
        UDP Port range for WKS starts at 200
        IP static address range: empty
        IP dynamic address range: 131.162.66.3 131.162.66.9
        Kbox interfaces:
                localtalk: 0.202 zone Campus
                KIP: 0.102 zone Campus
                EtherTalk: 1.1 zone Campus

NBP proxy table:
        External:  131.162.1.0 .. 131.162.1.255
        Appletalk: 131.162.1.2 .. 131.162.1.2
        Appletalk: 131.162.1.2 .. 131.162.1.9
        Appletalk: 131.162.64.2 .. 131.162.64.2
        Appletalk: 131.162.64.2 .. 131.162.64.9
        Appletalk: 131.162.66.0 .. 131.162.66.0
        Appletalk: 131.162.66.2 .. 131.162.66.9

When I run atalkad -d, it gives the following:

# atalkad -d
11/20 09:51 ### ATALKA daemon (1.25) starting (14115)
11/20 09:51 (re)reading /usr/local/lib/cap/atalkatab
11/20 09:51 art build: 6 entries, 512 maximum
11/20 09:51 zone names take 23 bytes in gateway
11/20 09:51 Proxy table uses 84 bytes
11/20 09:51 sendall(aaRESTART)
11/20 09:51 no response from 131.162.1.2
11/20 09:51 no response from 131.162.64.2
11/20 09:51 no response from 131.162.66.2
11/20 09:51 sendall(aaRESTART) complete

To make a long story short, I obviously have something wrong in
my atalkatab file that prevents the atalkad host from communicating
with the fastpaths. If anyone has any suggestions what might be
wrong, I would *greatly* appreciate hearing from you.

--
Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
Newsgroups: comp.protocols.appletalk