home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14947 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.4 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!norstad.acns.nwu.edu!user
  2. From: j-norstad@nwu.edu (John Norstad)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: MacTCP over LocalTalk
  5. Message-ID: <j-norstad-030992123006@norstad.acns.nwu.edu>
  6. Date: 3 Sep 92 17:26:38 GMT
  7. Article-I.D.: norstad.j-norstad-030992123006
  8. References: <1992Sep2.234214.19655@unixland.natick.ma.us>
  9. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  10. Followup-To: comp.sys.mac.programmer
  11. Organization: Northwestern University
  12. Lines: 43
  13.  
  14. In article <1992Sep2.234214.19655@unixland.natick.ma.us>,
  15. cramer@unixland.natick.ma.us (Bill Cramer) wrote:
  16. > According to the MacTCP manual, I can run MacTCP through a direct 
  17. > Ethernet connection or over LocalTalk.  To run over LocalTalk,
  18. > however, I need a bridge which frames and unframes TCP/IP packets
  19. > between AppleTalk and raw EtherNet protocols.
  20. > So far, so good.  But what if I want to use TCP/IP between two
  21. > Macs -- no Ethernet, just two macs connected with LocalTalk.  Can
  22. > this be done?  In theory, there is no need for the bridge since
  23. > my packets never reach an ethernet network.  In practice, I get an
  24. > error -98 (port not configured) error when I try to PBOpen the 
  25. > driver.  Am I simply not configuring things correctly or is what
  26. > I'm trying to do simply not possible?
  27.  
  28. It should work with MacTCP 1.1 configured with static IP addresses. 
  29.  
  30. When an AppleTalk/IP gateway is present, MacTCP 1.1 sends all of its
  31. encapsulated IP-in-DDP packets to the gateway. When a gateway is not
  32. present, it should use a technique called "NBP ARP" to locate the
  33. destination Mac, and then it delivers the IP-in-DDP packet directly to that
  34. Mac.
  35.  
  36. NBP ARP on the source Mac does an NBP lookup for the entity name
  37. x.y.z.w:IPADDRESS@zone, where "x.y.z.w" is the IP address of of the
  38. destination Mac. MacTCP on the destination Mac should have registered this
  39. entity name.
  40.  
  41. This is the same address resolution protocol used by gateways to deliver
  42. incoming IP packets to LocalTalk Macs.
  43.  
  44. MacTCP needs to be open on both Macs. MacTCP is not opened until it is
  45. called for the first time after restarting by some TCP/IP application
  46. program.
  47.  
  48. All this is guessing on my part - I've never actually tried this. This is
  49. how it should work, though, according to the MacIP protocol.
  50.  
  51. John Norstad
  52. Academic Computing and Network Services
  53. Northwestern University
  54. j-norstad@nwu.edu
  55.