162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci=========================================================
462306a36Sopenharmony_ciAppleTalk-IP Decapsulation and AppleTalk-IP Encapsulation
562306a36Sopenharmony_ci=========================================================
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciDocumentation ipddp.c
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciThis file is written by Jay Schulist <jschlst@samba.org>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciIntroduction
1262306a36Sopenharmony_ci------------
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciAppleTalk-IP (IPDDP) is the method computers connected to AppleTalk
1562306a36Sopenharmony_cinetworks can use to communicate via IP. AppleTalk-IP is simply IP datagrams
1662306a36Sopenharmony_ciinside AppleTalk packets.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciThrough this driver you can either allow your Linux box to communicate
1962306a36Sopenharmony_ciIP over an AppleTalk network or you can provide IP gatewaying functions
2062306a36Sopenharmony_cifor your AppleTalk users.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciYou can currently encapsulate or decapsulate AppleTalk-IP on LocalTalk,
2362306a36Sopenharmony_ciEtherTalk and PPPTalk. The only limit on the protocol is that of what
2462306a36Sopenharmony_cikernel AppleTalk layer and drivers are available.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciEach mode requires its own user space software.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciCompiling AppleTalk-IP Decapsulation/Encapsulation
2962306a36Sopenharmony_ci==================================================
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciAppleTalk-IP decapsulation needs to be compiled into your kernel. You
3262306a36Sopenharmony_ciwill need to turn on AppleTalk-IP driver support. Then you will need to
3362306a36Sopenharmony_ciselect ONE of the two options; IP to AppleTalk-IP encapsulation support or
3462306a36Sopenharmony_ciAppleTalk-IP to IP decapsulation support. If you compile the driver
3562306a36Sopenharmony_cistatically you will only be able to use the driver for the function you have
3662306a36Sopenharmony_cienabled in the kernel. If you compile the driver as a module you can
3762306a36Sopenharmony_ciselect what mode you want it to run in via a module loading param.
3862306a36Sopenharmony_ciipddp_mode=1 for AppleTalk-IP encapsulation and ipddp_mode=2 for
3962306a36Sopenharmony_ciAppleTalk-IP to IP decapsulation.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciBasic instructions for user space tools
4262306a36Sopenharmony_ci=======================================
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciI will briefly describe the operation of the tools, but you will
4562306a36Sopenharmony_cineed to consult the supporting documentation for each set of tools.
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciDecapsulation - You will need to download a software package called
4862306a36Sopenharmony_ciMacGate. In this distribution there will be a tool called MacRoute
4962306a36Sopenharmony_ciwhich enables you to add routes to the kernel for your Macs by hand.
5062306a36Sopenharmony_ciAlso the tool MacRegGateWay is included to register the
5162306a36Sopenharmony_ciproper IP Gateway and IP addresses for your machine. Included in this
5262306a36Sopenharmony_cidistribution is a patch to netatalk-1.4b2+asun2.0a17.2 (available from
5362306a36Sopenharmony_ciftp.u.washington.edu/pub/user-supported/asun/) this patch is optional
5462306a36Sopenharmony_cibut it allows automatic adding and deleting of routes for Macs. (Handy
5562306a36Sopenharmony_cifor locations with large Mac installations)
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciEncapsulation - You will need to download a software daemon called ipddpd.
5862306a36Sopenharmony_ciThis software expects there to be an AppleTalk-IP gateway on the network.
5962306a36Sopenharmony_ciYou will also need to add the proper routes to route your Linux box's IP
6062306a36Sopenharmony_citraffic out the ipddp interface.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciCommon Uses of ipddp.c
6362306a36Sopenharmony_ci----------------------
6462306a36Sopenharmony_ciOf course AppleTalk-IP decapsulation and encapsulation, but specifically
6562306a36Sopenharmony_cidecapsulation is being used most for connecting LocalTalk networks to
6662306a36Sopenharmony_ciIP networks. Although it has been used on EtherTalk networks to allow
6762306a36Sopenharmony_ciMacs that are only able to tunnel IP over EtherTalk.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciEncapsulation has been used to allow a Linux box stuck on a LocalTalk
7062306a36Sopenharmony_cinetwork to use IP. It should work equally well if you are stuck on an
7162306a36Sopenharmony_ciEtherTalk only network.
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ciFurther Assistance
7462306a36Sopenharmony_ci-------------------
7562306a36Sopenharmony_ciYou can contact me (Jay Schulist <jschlst@samba.org>) with any
7662306a36Sopenharmony_ciquestions regarding decapsulation or encapsulation. Bradford W. Johnson
7762306a36Sopenharmony_ci<johns393@maroon.tc.umn.edu> originally wrote the ipddp.c driver for IP
7862306a36Sopenharmony_ciencapsulation in AppleTalk.
79