home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / tcpbeui.101 < prev    next >
Text File  |  1998-04-29  |  6KB  |  126 lines

  1.  
  2. #: 63262 S5/TCP/IP
  3.     24-Mar-98  17:02:20
  4. Sb: #63253-No TCP/IP OS/2 to NT {20360}
  5. Fm: Les Bell 71210,104
  6. To: Edward Bosco 74156,2430
  7.  
  8. >> What I'm looking at right now is the incompatibility between
  9. MicroSoft TCP/IP, which uses Netbeui/Netbios over TCP/IP; and
  10. straight TCP/IP, as might be used with ibm.net or cserve. <<
  11.  
  12. OK, here's TCPBEUI 101:
  13.  
  14. Microsoft TCP/IP does NOT use NETBIOS over TCP/IP. Right now, I have
  15. two machines on my desktop (NT and 95) which are quite happily using
  16. TCP/IP for web browsing (including to my internal OS/2-based Domino
  17. server), etc. and NETBIOS for access to a Warp Server server. They
  18. are functionally compatible with no problems, except in areas such as
  19. domain logons, public applications, etc. which can be fixed by
  20. downloading the NT/95 clients from the Software Choice website.
  21.  
  22. NETBIOS is a small and simple LAN transport protocol which uses
  23. broadcast discovery of machine names, rather than some form of
  24. addressing. As a consequence, it is not a routable protocol. This
  25. makes large networks very messy and requires bridges to link remote
  26. sites.
  27.  
  28. The major applications which use NETBIOS are the various SMB
  29. requesters and servers, such as MS LAN Manager and IBM LAN Server,
  30. and their derivatives like Windows for Workgroups, the Windows 95
  31. "Client for Microsoft Networks", NT Server and the IBM Peer for OS/2.
  32. A few other applications can use NETBIOS as a transport, like Lotus
  33. Notes, DB2 Client Application Enabler, etc. Note: this doesn't mean
  34. that these applications necessarily HAVE to run over NETBIOS - just
  35. that whatever they call beneath themselves has to look, feel and
  36. smell like NETBIOS, and support the NETBIOS API.
  37.  
  38. TCP/IP by contrast uses addresses which include both a network
  39. portion and a host portion, making routing possible. Thus TCP/IP is
  40. much more suitable for large and geographically distributed networks,
  41. the most obvious example of which is the Internet. We all know TCP/IP
  42. applications: telnet, ftp, SMTP mail programs and of course web
  43. servers & browsers. Whatever is below these apps on your machine had
  44. better look, feel and smell like TCP and UDP.
  45.  
  46. Realising that lots of people were using NETBIOS systems to share
  47. drives and printers, yet could not easily extend their LANs beyond
  48. the immediate building, some bright sparks came up with the idea of
  49. building something that looked and felt like NETBIOS, yet actually
  50. used IP for its transport. The original idea was to take NETBIOS
  51. packets, stick them into TCP or UDP datagrams and let them be routed
  52. around an internet - but that is NOT actually how it works (it's a
  53. close enough mental model for most purposes, though). In actual fact,
  54. the "NETBIOS over TCP/IP" layer presents a NETBIOS API to the
  55. applications it supports, then generates its own datagrams which are
  56. passed to TCP and UDP for routing via IP - there are no actual
  57. encapsulated NETBIOS packets in the network. For full details, see
  58. RFC's 1001 and 1002.
  59.  
  60. Now you are able to run NETBIOS applications like the various SMB
  61. servers and requesters, but they can be on separate LANS if the
  62. systems are configured to support NETBIOS over TCP/IP. Notice that
  63. "NETBIOS over TCP/IP" is, in a sense, a TCP/IP application just like
  64. telnet, ftp, etc.
  65.  
  66. Remember that NETBIOS doesn't use addresses - it uses names, and the
  67. various machines discover the network card MAC addresses that
  68. correspond to the names by doing broadcasts. In the TCP/IP world, you
  69. basically can't broadcast through a router, so this won't work.
  70. Instead, there has to be some method for mapping NETBIOS names to IP
  71. addresses, and this is done either through manual configuration of a
  72. HOSTS or LMHOSTS file, or using a nameserver (not a DNS nameserver -
  73. this is a different animal) called WINS (Windows Internet Naming
  74. Service). This is where the details start to become important for
  75. interoperability of different NETBIOS over TCP/IP implementations -
  76. there are b-node, p-node, h-node and t-node versions (read the RFC's
  77. if you really want to understand this).
  78.  
  79. Getting down to your specific situation:
  80.  
  81. Access to Internet applications like mail, web, etc. does NOT require
  82. NETBIOS over TCP/IP. *Lose it* off your Windows systems. In fact,
  83. having it installed exposes you to a security risk - any servers you
  84. run on a NETBIOS over TCP/IP system (shared drives, printers, etc)
  85. are potentially shared over the entire Internet while you are
  86. connected.
  87.  
  88. You really only want NETBIOS over TCP/IP if a) you intend to share
  89. resources over a MAN or WAN [but there are MAJOR security issues
  90. here] or b) you want to access resources on a UNIX system which
  91. supports an SMB-compatible server like SAMBA (or the reverse - you
  92. want a linux/SAMBA client to access, say, Warp Server shares).
  93.  
  94. Ensure that in your Control Panel / Network you have configured
  95. TCP/IP->Network Adapter (and NETBEUI->Network Adapter, if you need it
  96. to access local LAN resources) but not TCPBEUI.
  97.  
  98. Remember that network applications can only talk to each other over
  99. similarly configured stacks; e.g. "Client for Microsoft Networks"
  100. over TCPBEUI over TCP/IP over Ethernet card *cannot* talk to NT
  101. Server over NETBEUI over Ethernet card. Mixing and matching of
  102. protocols takes a little planning.
  103.  
  104. Now to your basic problem, which is DNS configuration:
  105.  
  106. In your Win95/NT configuration, open the properties for TCP/IP. **
  107. Make sure that DNS support is enabled, and the correct IP address for
  108. the DNS is in there. ** Go to the WINS Configuration tab and make
  109. sure "Disable WINS resolution" is checked. You don't want that WINS
  110. stuff screwing around with your system.
  111.  
  112. Make sure that under "Bindings" the "Client for Microsoft Networks"
  113. is *not* bound to TCP/IP (though this probably isn't important, only
  114. misleading, since it can't bind to TCP/IP anyway, only something that
  115. looks like NETBIOS).
  116.  
  117. Unfortunately, Windows 95 does not have a NSLOOKUP utility, so you
  118. can't use that to diagnose DNS configuration problems (though the NT
  119. nslookup might work - has anybody tried that?). But if you've checked
  120. these settings, and your InJoy configuration is correct (can't help
  121. you there) it should work.
  122.  
  123. Best,
  124.  
  125. --- Les (htp://www.lesbell.com.au, lesbell@lesbell.com.au)
  126.