[comp.protocols.appletalk] Need more help getting CAP to work

roy@alanine.phri.nyu.edu (Roy Smith) (04/18/91)

	Thanks to everybody with the help they gave me figuring out the
IPTalk addressing issues.  I'm still getting nowhere, however, making CAP
work.  I've got my FP-4 set up to download atalkatab via tftp, which it
seems to be doing fine (I can watch the diagnostic packets in FastPath
Manager).  My atalkatab and atalk.local files look like:

----------------
55.1    N2      128.122.136.160         "NYU Ether"     #Campus IPTalk
0.1     E       128.122.136.160         "NYU Ether"     #Campus EtherTalk
4.10    KC      128.122.136.160         "NYU PHRI"      #PHRI LocalTalk
        I128.122.0.0            I128.122.136.1  # ipbroad, ipname
        I128.122.136.1  L0                      # ipdebug, ipfile
        L0 L0 L0 L0     S0.1    S200            # other, ethertalk, ddp range
        LX0             S2      S6              # flags, ipstatic, ipdynamic
        S4.10           S55.1                   # localtalk, iptalk
----------------
# mynet         mynode          myzone 
55.1            1               "NYU Ether"
# bridgenet     bridgenode      bridgeIP
55.1            160             128.122.136.160
# nisnet        nisnode
55.1            1
----------------

	Can anybody see anything wrong with them?  The problem is that when
I start up atis and then run atistest, I get:

# atis
abInit: [ddp:  55.01, 1] starting
15:29:32 04/17/91  Reply num max for lkup reply is 5 (based on 107)
# atistest
CAP distribution 6.00 using UDP encapsulation, January 1991
Copyright (c) 1986,1987,1988 by The Trustees of Columbia University in the
City of New York

abInit: [ddp:  55.01, 1] starting
debugging NBP
Registering "atis test:testing@*"
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 3 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 2 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 1 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 0 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 3 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 2 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 1 remain
NBP SndNBP: sending
NBP nbp_timeout: 4 tick timeout on 251657724, 0 remain
nbp register error because: couldn't register name - is atis running?

	For each of the nbp_timeout lines above, I can see a single packet
go out from wombat (the host I'm running atis/atistest on) to the kbox
using tcpdump:

% tcpdump proto udp and '(' port 201 or port 202 or port 203 or port 204 or port 205 or port 206 or port 207 or port 208 ')'
15:30:00.90  wombat.phri.nyu.edu.16515 > 128.122.136.160.at-nbp: udp 43
15:30:01.90  wombat.phri.nyu.edu.16515 > 128.122.136.160.at-nbp: udp 43
15:30:02.92  wombat.phri.nyu.edu.16515 > 128.122.136.160.at-nbp: udp 43
15:30:03.94  wombat.phri.nyu.edu.16515 > 128.122.136.160.at-nbp: udp 43
15:30:04.96  wombat.phri.nyu.edu.16516 > 128.122.136.160.at-nbp: udp 43
15:30:05.98  wombat.phri.nyu.edu.16516 > 128.122.136.160.at-nbp: udp 43
15:30:07.00  wombat.phri.nyu.edu.16516 > 128.122.136.160.at-nbp: udp 43
15:30:08.02  wombat.phri.nyu.edu.16516 > 128.122.136.160.at-nbp: udp 43

	I'm totally at a loss at this point to figure out what's going on.
One thing I don't understand is why the nbp packets get sent to the kbox at
all; since atis and atistest are running on the same host, why does the
gateway even get into the act?  What's even more bothersome, is that I had
atis/atistest working a couple of days ago, and I figure out what I did to
change things!
--
Roy Smith, Public Health Research Institute
455 First Avenue, New York, NY 10016
roy@alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy
"Arcane?  Did you say arcane?  It wouldn't be Unix if it wasn't arcane!"

tom@wcc.oz.au (Tom Evans) (04/24/91)

In article <1991Apr17.193458.28930@phri.nyu.edu>, roy@alanine.phri.nyu.edu (Roy Smith) writes:
> 
> ----------------
> 55.1    N2      128.122.136.160         "NYU Ether"     #Campus IPTalk
          ^^      ^^^^^^^^^^^^^^^
This says the IP broadcast address for this net/subnet is
128.122.255.255 (the "N2" means "two bytes of ones"). If this is right
the address given might need to be "128.122.136.0" as well.

>         I128.122.0.0            I128.122.136.1  # ipbroad, ipname
          ^^^^^^^^^^^^                              ^^^^^^^
This says the IP broadcast address is 128.122.0.0.

They must both be the same, and more importantly, must match what your
CAP host itself believes to be the correct broadcast address. Is your
broadcast address all-ones or all-zeroes? Is your Class B network
subnetted or not? If it is a Sun, "ifconfig" is the command to find out.

========================
Tom Evans  tom@wcc.oz.au ** ADD ".au" MANUALLY (don't trust "reply") **
Webster Computer Corp P/L, 1270 Ferntree Gully Rd Scoresby, Melbourne 3179
Victoria, Australia 61-3-764-1100  FAX ...764-1179  A.C.N. 004 818 455