ipddp.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Text file for ipddp.c:
  2. AppleTalk-IP Decapsulation and AppleTalk-IP Encapsulation
  3. This text file is written by Jay Schulist <jschlst@samba.org>
  4. Introduction
  5. ------------
  6. AppleTalk-IP (IPDDP) is the method computers connected to AppleTalk
  7. networks can use to communicate via IP. AppleTalk-IP is simply IP datagrams
  8. inside AppleTalk packets.
  9. Through this driver you can either allow your Linux box to communicate
  10. IP over an AppleTalk network or you can provide IP gatewaying functions
  11. for your AppleTalk users.
  12. You can currently encapsulate or decapsulate AppleTalk-IP on LocalTalk,
  13. EtherTalk and PPPTalk. The only limit on the protocol is that of what
  14. kernel AppleTalk layer and drivers are available.
  15. Each mode requires its own user space software.
  16. Compiling AppleTalk-IP Decapsulation/Encapsulation
  17. =================================================
  18. AppleTalk-IP decapsulation needs to be compiled into your kernel. You
  19. will need to turn on AppleTalk-IP driver support. Then you will need to
  20. select ONE of the two options; IP to AppleTalk-IP encapsulation support or
  21. AppleTalk-IP to IP decapsulation support. If you compile the driver
  22. statically you will only be able to use the driver for the function you have
  23. enabled in the kernel. If you compile the driver as a module you can
  24. select what mode you want it to run in via a module loading param.
  25. ipddp_mode=1 for AppleTalk-IP encapsulation and ipddp_mode=2 for
  26. AppleTalk-IP to IP decapsulation.
  27. Basic instructions for user space tools
  28. =======================================
  29. To enable AppleTalk-IP decapsulation/encapsulation you will need the
  30. proper tools. You can get the tools for decapsulation from
  31. http://spacs1.spacs.k12.wi.us/~jschlst/index.html and for encapsulation
  32. from http://www.maths.unm.edu/~bradford/ltpc.html
  33. I will briefly describe the operation of the tools, but you will
  34. need to consult the supporting documentation for each set of tools.
  35. Decapsulation - You will need to download a software package called
  36. MacGate. In this distribution there will be a tool called MacRoute
  37. which enables you to add routes to the kernel for your Macs by hand.
  38. Also the tool MacRegGateWay is included to register the
  39. proper IP Gateway and IP addresses for your machine. Included in this
  40. distribution is a patch to netatalk-1.4b2+asun2.0a17.2 (available from
  41. ftp.u.washington.edu/pub/user-supported/asun/) this patch is optional
  42. but it allows automatic adding and deleting of routes for Macs. (Handy
  43. for locations with large Mac installations)
  44. Encapsulation - You will need to download a software daemon called ipddpd.
  45. This software expects there to be an AppleTalk-IP gateway on the network.
  46. You will also need to add the proper routes to route your Linux box's IP
  47. traffic out the ipddp interface.
  48. Common Uses of ipddp.c
  49. ----------------------
  50. Of course AppleTalk-IP decapsulation and encapsulation, but specifically
  51. decapsulation is being used most for connecting LocalTalk networks to
  52. IP networks. Although it has been used on EtherTalk networks to allow
  53. Macs that are only able to tunnel IP over EtherTalk.
  54. Encapsulation has been used to allow a Linux box stuck on a LocalTalk
  55. network to use IP. It should work equally well if you are stuck on an
  56. EtherTalk only network.
  57. Further Assistance
  58. -------------------
  59. You can contact me (Jay Schulist <jschlst@samba.org>) with any
  60. questions regarding decapsulation or encapsulation. Bradford W. Johnson
  61. <johns393@maroon.tc.umn.edu> originally wrote the ipddp.c driver for IP
  62. encapsulation in AppleTalk.