background image
OSI Layer 3: Routed and Routing Protocols
81
of network addresses that you want included on the segment in the extended
address.
AppleTalk nodes dynamically obtain node addresses upon startup. When
a new machine starts up, it sends out a ZIP to find the network address or
the address range, if extended addressing is being used. The machine then
selects a random node address and issues an AARP (AppleTalk Address Res-
olution Protocol) to see if anyone is using that particular network node
address. If there's no response, the machine continues using that address.
Node addressing is completely dynamic and requires no administration.
When an AppleTalk node starts up, it sets up a provisional address. If the
node is being started for the very first time, it chooses a network number
between 65,280 and 65,534 at random. This range is referred to as the star-
tup range
. The node number is also chosen at random. If the node was
started before, it uses its previous address as a hint. In either case, the node
uses AARP to check whether the selected provisional address is in use. If the
address is in use, it selects another node number and checks again. If the node
is using a hint and subsequently exhausts all available node numbers without
finding an unused address, it chooses a new network address from the star-
tup range and a new node number, and then repeats the check for an unused
address.
Once the node has selected an unused provisional address, it can send a
ZIP GetNetInfo request to a router to determine the actual segment's cable
range. If the network number for the provisional address falls between the
segment's cable range, the address is kept. Otherwise, a new network num-
ber is chosen from this cable range, and the resulting node address is checked
by using AARP. If the address is in use, the node selects another node num-
ber. If it runs out of node numbers, it chooses another network number from
within the segment's cable range and repeats the node-address check process.
Once the node finds an unused network number and node number combi-
nation, it becomes its final node address. The address is saved and used as a
future hint.
Datagram Delivery Protocol (DDP)
Datagram Delivery Protocol (DDP), in conjunction with AppleTalk
Address Resolution Protocol (AARP)
, makes up the OSI Layer 3 equivalent.
DDP is responsible for connectivity to the upper-layer protocols, whereas
AARP is charged with connectivity to the lower layers.
Look at a DDP packet. The following EtherPeek trace analysis gives you
what you need to know about the packet. It is important to realize that there
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com