Subject: Re: strange appletalk behavior
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Paul Goyette <paul@whooppee.com>
List: tech-net
Date: 06/15/1999 08:35:15
Looks to me like someone decided to break the route to 34060-34069 up
into pieces with "common high-order bits set" akin to w.x.y.z/bits for
IP addresses. It's much easier to do mask-and-compare than to see if
something is "between" two values.
34060-34063 == 0x850c - 0x850f mask 0xfffc
34064-34067 == 0x8510 - 0x8513 mask 0xfffc
34068-34069 == 0x8514 - 0x8515 mask 0xfffe
On Tue, 15 Jun 1999, Manuel Bouyer wrote:
> Hi,
> I played a bit with appletalk today, and found an interesting thing:
> the local network is range 34060-34069. When I first started atalkd
> it got address 34068.158. The router (a winNT box) has address
> 34066.164.
> In the routing table, I had:
> AppleTalk:
> Destination Gateway Flags Refs Use Mtu Interface
> 0.0 0.0 U 0 6 - lo0
> 34060-34063.0 34068.158 U 0 0 - de0
> 34064-34067.0 34068.158 U 1 2 - de0
> 34068-34069.0 34068.158 U 0 7 - de0
> 34068.158 0.0 UH 0 0 - lo0
>
> Why this ? Is there a limit on how many "blocks" a route can aggregate ?
> I would have expected a single entry for 34060-34069.
> The problem is that when atalkd started adding entries in the routing table
> for remote networks, it got "network is unreacheable" for each. Nothing
> got added to the routing table.
> nbplkup could see all machines on my local network, but nothing throuh the
> router.
>
> Then atalkd created a /usr/pkg/etc/atalkd.conf.
> I edited it, changed my address from 34068.158 to 34066.158 to be in
> the same "block" as my router, and restarted atalkd. This solved the problem !
> All the routes where added to the table without errors, and nbplkup can see
> all the nodes.
> Does someone have an idea of what's wrong ?
>
> --
> Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
> --
>
--------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
--------------------------------------------------------------------------