Subject: Re: Netatalk: problems with zones >255 under NetBSD 1.3.1
To: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-mac68k
Date: 05/09/1998 08:44:59
> >         We are seeing a problem where nbplkup (and the mac chooser) on
> > 	zones with cable ranges >255 fail to pass through the netatalk
> > 	box.
> > 
> Coudl you send me the output of netstat -r?
> 
> The NetBSD netatalk code is derived from the FreeBSD code. They recently
> fixed problems in their code, and I've not had a chance to port them to
> NetBSD yet.

	It doesn't seem like a routing problem as machines in high numbered
	zones can successfully npblkup the contents of low numbered zones
	through the netatalk router (filter), just not vica versa.

	Included below:
		ifconfig -a
		netstat -rn
		getzones
		cat /tmp/atalkd.debug	(after sending a USR1 to atalkd)

(filter ~)1# ifconfig -a
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:40:05:a0:4e:3d
        media: 100baseTX <full-duplex> status: no carrier
        inet 192.168.20.5 netmask 0xffffff00 broadcast 192.168.20.255
        atalk 202.205 range 202-202 phase 2 broadcast 202.205
de1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:00:92:96:fa:9a
        media: 100baseTX <full-duplex> status: no carrier
        inet 10.127.3.10 netmask 0xffffff00 broadcast 10.127.3.255
        atalk 93.210 range 93-93 phase 2 broadcast 93.210
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
        inet 127.0.0.1 netmask 0xff000000 
        atalk 0.0 range 0-0 phase 2
(filter ~)2# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
default            10.127.3.11        UGS         1      218      -  de1
10.127.3/24        link#2             UC          0        0      -  de1
10.127.3.11        00:00:a2:c3:3c:ae  UHL         1        0      -  de1
10.127.3.20        00:00:81:3e:a8:40  UHL         0        1      -  de1
10.127.3.255       link#2             UHL         0        1      -  de1
127.0.0.1          127.0.0.1          UH          0        0      -  lo0
172.16             192.168.20.1       UGS         0      196      -  de0
192.168            192.168.20.1       UGS         0        0      -  de0
192.168.1          192.168.20.1       UGS         0        1      -  de0
192.168.2          192.168.20.1       UGS         0        0      -  de0
192.168.3          192.168.20.1       UGS         0        0      -  de0
192.168.4          192.168.20.1       UGS         0        1      -  de0
192.168.5          192.168.20.1       UGS         0        0      -  de0
192.168.6          192.168.20.1       UGS         0        1      -  de0
192.168.7          192.168.20.1       UGS         0        3      -  de0
192.168.8          192.168.20.1       UGS         0        0      -  de0
192.168.11         192.168.20.1       UGS         0        3      -  de0
192.168.12         192.168.20.1       UGS         0        0      -  de0
192.168.13         192.168.20.1       UGS         0        1      -  de0
192.168.17         192.168.20.1       UGS         0        0      -  de0
192.168.20         link#1             UC          0        0      -  de0
192.168.20.1       00:00:ef:04:12:40  UHL        21        0      -  de0
192.168.20.5       00:40:05:a0:4e:3d  UHL         1       20      -  lo0
192.168.20.255     link#1             UHL         0        1      -  de0
192.168.23         192.168.20.1       UGS         0        0      -  de0
207.3.193          192.168.20.1       UGS         0       29      -  de0
207.3.194          192.168.20.1       UGS         0       13      -  de0
207.3.195          192.168.20.1       UGS         0        4      -  de0
207.3.197          192.168.20.1       UGS         0        0      -  de0
207.3.203          192.168.20.1       UGS         0        0      -  de0
207.3.204          192.168.20.1       UGS         0        0      -  de0

AppleTalk:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
0.0                0.0                U           0        2      -  lo0
50.0               93.44              UG          0        0      -  de1
51.0               93.44              UG          0        0      -  de1
52.0               93.44              UG          0        0      -  de1
53.0               93.44              UG          0        0      -  de1
54.0               93.44              UG          0        0      -  de1
55.0               93.44              UG          0        0      -  de1
56.0               93.44              UG          0        0      -  de1
57.0               93.44              UG          0        0      -  de1
58.0               93.44              UG          0        0      -  de1
59.0               93.44              UG          0        0      -  de1
60.0               93.44              UG          0        0      -  de1
61.0               93.44              UG          0        0      -  de1
62.0               93.44              UG          0        0      -  de1
63.0               93.44              UG          0        0      -  de1
64.0               93.44              UG          0        0      -  de1
65.0               93.44              UG          0        0      -  de1
66.0               93.44              UG          0        0      -  de1
67.0               93.44              UG          0        0      -  de1
68.0               93.44              UG          0        0      -  de1
69.0               93.44              UG          0        0      -  de1
70.0               93.44              UG          0        9      -  de1
71.0               93.44              UG          0        0      -  de1
72.0               93.44              UG          0        0      -  de1
73.0               93.44              UG          0        0      -  de1
74.0               93.44              UG          0        0      -  de1
75.0               93.44              UG          0        2      -  de1
76.0               93.44              UG          0        0      -  de1
77.0               93.44              UG          0        0      -  de1
78.0               93.44              UG          0        0      -  de1
79.0               93.44              UG          0        0      -  de1
80.0               93.44              UG          0        0      -  de1
81.0               93.44              UG          0        0      -  de1
82.0               93.44              UG          0        0      -  de1
83.0               93.44              UG          0        0      -  de1
84.0               93.44              UG          0        0      -  de1
85.0               93.44              UG          0        0      -  de1
86.0               93.44              UG          0        0      -  de1
91.0               93.44              UG          0        0      -  de1
92.0               93.44              UG          0        0      -  de1
93.0               93.210             U         126       15      -  de1
93.210             0.0                UH          0        0      -  lo0
98.0               93.44              UG          0        0      -  de1
99.0               93.44              UG          0        0      -  de1
100.0              93.44              UG          0        0      -  de1
101.0              93.44              UG          0        0      -  de1
102.0              93.44              UG          0        0      -  de1
103.0              93.44              UG          0        0      -  de1
104.0              93.44              UG          0        0      -  de1
105.0              93.44              UG          0        0      -  de1
150.0              93.44              UG          0        0      -  de1
151.0              93.44              UG          0        0      -  de1
201.0              202.100            UG          0        0      -  de0
202.0              202.205            U          18        7      -  de0
202.174            0.0                UH          0        0      -  lo0
202.205            0.0                UH          1        2      -  lo0
210.0              202.100            UG          0        0      -  de0
211.0              202.100            UG          0        0      -  de0
212.0              202.100            UG          0        2      -  de0
213.0              202.100            UG          0        0      -  de0
214.0              202.100            UG          0        0      -  de0
215.0              202.100            UG          0        0      -  de0
216.0              202.100            UG          0        0      -  de0
217.0              202.100            UG          0        0      -  de0
218.0              202.100            UG          0        0      -  de0
219.0              202.100            UG          0        0      -  de0
220.0              202.100            UG          0        0      -  de0
244.0              202.100            UG          0        0      -  de0
245.0              202.100            UG          0        0      -  de0
246.0              202.100            UG          0        0      -  de0
247.0              202.100            UG          1        1      -  de0
301.0              93.44              UG          0        0      -  de1
302.0              93.44              UG          0        0      -  de1
303.0              93.44              UG          0        0      -  de1
304.0              93.44              UG          0        0      -  de1
305.0              93.44              UG          0        0      -  de1
306.0              93.44              UG          0        0      -  de1
996.0              93.44              UG          0        0      -  de1
997.0              93.44              UG          0        0      -  de1
999.0              93.44              UG          0        0      -  de1
1001.0             93.44              UG          0        0      -  de1
1002.0             93.44              UG          0        0      -  de1
1003.0             93.44              UG          0        0      -  de1
1004.0             93.44              UG          0        0      -  de1
1005.0             93.44              UG          0        0      -  de1
1006.0             93.44              UG          0        0      -  de1
1007.0             93.44              UG          0        0      -  de1
1008.0             93.44              UG          0        0      -  de1
1009.0             93.44              UG          0        0      -  de1
4999.0             93.44              UG          0        0      -  de1
5000.0             93.44              UG          0        0      -  de1
5001.0             93.44              UG          0        0      -  de1
9000.0             93.44              UG          0        0      -  de1
10001.0            93.44              UG          0        0      -  de1
10002.0            93.44              UG          0        0      -  de1
30011.0            93.44              UG          0        0      -  de1
30012.0            93.44              UG          0        0      -  de1
30013.0            93.44              UG          0        0      -  de1
30014.0            93.44              UG          0        0      -  de1
30015.0            93.44              UG          0        0      -  de1
30016.0            93.44              UG          0        0      -  de1
30019.0            93.44              UG          0        0      -  de1
30021.0            93.44              UG          0        0      -  de1
30022.0            93.44              UG          0        0      -  de1
30023.0            93.44              UG          0        0      -  de1
30024.0            93.44              UG          0        0      -  de1
30025.0            93.44              UG          0        0      -  de1
30026.0            93.44              UG          0        0      -  de1
40001.0            93.44              UG          0        0      -  de1
54000.0            93.44              UG          0        0      -  de1
54001.0            93.44              UG          0        0      -  de1
54002.0            93.44              UG          0        0      -  de1
54003.0            93.44              UG          0        0      -  de1
54004.0            93.44              UG          0        0      -  de1
54005.0            93.44              UG          0        0      -  de1
54006.0            93.44              UG          0        0      -  de1
54007.0            93.44              UG          0        0      -  de1
54008.0            93.44              UG          0        0      -  de1
56566.0            93.44              UG          0        0      -  de1
64969.0            93.44              UG          0        0      -  de1
64970.0            93.44              UG          0        0      -  de1
64971.0            93.44              UG          0        0      -  de1
64972.0            93.44              UG          0        0      -  de1
64977.0            93.44              UG          0        0      -  de1
64978.0            93.44              UG          0        0      -  de1
64979.0            93.44              UG          0        0      -  de1
64980.0            93.44              UG          0        0      -  de1
64981.0            93.44              UG          0        0      -  de1
64982.0            93.44              UG          0        0      -  de1
64984.0            93.44              UG          0        0      -  de1
64985.0            93.44              UG          0        0      -  de1
64986.0            93.44              UG          0        0      -  de1
64987.0            93.44              UG          0        0      -  de1
64988.0            93.44              UG          0        0      -  de1
64989.0            93.44              UG          0        0      -  de1
64990.0            93.44              UG          0        0      -  de1
64991.0            93.44              UG          0        0      -  de1
64992.0            93.44              UG          0        0      -  de1
64993.0            93.44              UG          0        0      -  de1
64994.0            93.44              UG          0        0      -  de1
64995.0            93.44              UG          0        0      -  de1
64996.0            93.44              UG          0        0      -  de1
64997.0            93.44              UG          0        0      -  de1
64998.0            93.44              UG          0        0      -  de1
64999.0            93.44              UG          0        0      -  de1
(filter ~)3# getzones
LKS_Anim_DC
Animation
LKS_Anim_Backbone
GLD_Anim_Riverside1
GLD_Anim_Riverside3
GLD_Anim_Camp_1
GLD_Anim_Camp_2
GLD_Anim_Camp_3
GLD_Anim_Riverside2
GLD_Anim_Creative_Services2
GLD_Anim_Feature_1
GLD_Anim_Feature_2
GLD_Anim_Feature_3
GLD_Anim_DC
LKS_Anim_1W
LKS_Anim_1E
LKS_Anim_2W
LKS_Anim_2E
Amblin_Novell
LKS_2
LKS_1
ENC_4
Grandview_1
NYC_1
TOR_1
Montecito1
Interactive
Dreamworks
Rvr_Svr_Frm
Glen_Riverside
Glen_Directors
Glen_Creative_Services
Glen_Feature_Animation
Glen_TV_Animation
Glen_TV_Animationtwo
Glen_TV_Animation_one
Glen_TV_Anim_3
Remote
Zone_ATM
Glen_Wan
Montecito_Wan
NY_1
BelAir_1st
TestLab
TXC_22
TXC_27
TXC_35
TXC_34
(filter ~)4# kill -USR1 721
(filter ~)5# cat /tmp/atalkd.debug 
interface lo0 0.0 2AC
        0-0 xi
interface de0 202.205 2ACL
        202-202 zxi 'LKS_Anim_DC'
gate 202.100 1
        201-201 zxi 'LKS_Anim_Backbone'
        202-202 x
        210-210 zxi 'GLD_Anim_Riverside1'
        211-211 zxi 'GLD_Anim_Riverside3'
        212-212 zxi 'GLD_Anim_Camp_1'
        213-213 zxi 'GLD_Anim_Camp_2'
        214-214 zxi 'GLD_Anim_Camp_3'
        215-215 zxi 'GLD_Anim_Riverside2'
        216-216 zxi 'GLD_Anim_Creative_Services2'
        217-217 zxi 'GLD_Anim_Feature_1'
        218-218 zxi 'GLD_Anim_Feature_2'
        219-219 zxi 'GLD_Anim_Feature_3'
        220-220 zxi 'GLD_Anim_DC'
        244-244 zxi 'LKS_Anim_1W'
        245-245 zxi 'LKS_Anim_1E'
        246-246 zxi 'LKS_Anim_2W'
        247-247 zxi 'LKS_Anim_2E'
interface de1 93.210 2ACL
        93-93 zxi 'Animation'
gate 93.44 2
        93-93 x
        50-59 zxi 'Amblin_Novell'
        60-69 zxi 'Amblin_Novell'
        70-80 zxi 'Animation'
        81-82 zxi 'LKS_2'
        83-84 zxi 'LKS_2'
        85-86 zxi 'LKS_2'
        91-92 zxi 'LKS_1'
        98-99 zxi 'LKS_1'
        100-101 zxi 'LKS_1'
        102-103 zxi 'LKS_2'
        104-105 zxi 'ENC_4'
        150-151 zxi 'Grandview_1'
        301-302 zxi 'NYC_1'
        303-304 zxi 'TOR_1'
        305-306 zxi 'Montecito1'
        996-996 zi 'Animation'
        997-997 zi 'Interactive'
        999-999 zi 'Dreamworks'
        1001-1001 zxi 'Rvr_Svr_Frm'
        1002-1002 zxi 'Glen_Riverside'
        1003-1003 zxi 'Glen_Directors'
        1004-1004 zxi 'Glen_Creative_Services'
        1005-1005 zxi 'Glen_Feature_Animation'
        1006-1006 zxi 'Glen_TV_Animation'
        1007-1007 zxi 'Glen_TV_Animationtwo'
        1008-1008 zxi 'Glen_TV_Animation_one'
        1009-1009 zxi 'Glen_TV_Anim_3'
        4999-4999 zi 'Remote'
        5000-5001 zxi 'Remote'
        9000-9000 zxi 'Amblin_Novell'
        10001-10001 zxi 'Zone_ATM'
        10002-10002 zxi 'Glen_Wan'
        30011-30012 zxi 'Dreamworks'
        30013-30014 zxi 'Dreamworks'
        30015-30016 zxi 'Dreamworks'
        30019-30019 zxi 'Amblin_Novell'
        30021-30022 zxi 'NYC_1'
        30023-30024 zxi 'Montecito_Wan'
        30025-30026 zxi 'NY_1'
        40001-40001 zxi 'TOR_1'
        54000-54000 zxi 'Interactive'
        54001-54001 zxi 'Interactive'
        54002-54002 zxi 'Interactive'
        54003-54003 zxi 'Interactive'
        54004-54004 zxi 'Interactive'
        54005-54005 zxi 'Interactive'
        54006-54006 zxi 'Interactive'
        54007-54007 zxi 'Interactive'
        54008-54008 zxi 'BelAir_1st'
        56566-56566 zi 'Dreamworks'
        64969-64969 zxi 'TestLab'
        64970-64970 zxi 'TXC_22'
        64971-64971 zxi 'TXC_22'
        64972-64972 zxi 'TXC_22'
        64977-64978 zxi 'TXC_27'
        64979-64980 zxi 'TXC_27'
        64981-64982 zxi 'TXC_27'
        64984-64985 zxi 'Dreamworks'
        64986-64987 zxi 'Dreamworks'
        64988-64989 zxi 'TXC_35'
        64990-64991 zxi 'TXC_35'
        64992-64993 zxi 'TXC_35'
        64994-64995 zxi 'TXC_34'
        64996-64997 zxi 'TXC_34'
        64998-64999 zxi 'TXC_34'
(filter ~)6# exit