home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / tcpip / ibmpc / 6234 < prev    next >
Encoding:
Text File  |  1992-11-11  |  3.7 KB  |  81 lines

  1. Newsgroups: comp.protocols.tcp-ip.ibmpc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cs.utexas.edu!news.uta.edu!hermes.chpc.utexas.edu!news.utdallas.edu!corpgate!bnrgate!bnr.co.uk!pipex!ibmpcug!impmh!cm
  3. From: cm@impmh.uucp (Colin Manning)
  4. Subject: Re: Fragmented IP packets: any PD implementations?
  5. Message-ID: <1992Nov11.124424.16173@impmh.uucp>
  6. Keywords: IP fragments TCP/IP
  7. Organization: Integrated Micro Products Ltd
  8. References: <1992Nov8.203621.6902@mnemosyne.cs.du.edu> <BxGtps.BHM@watserv1.uwaterloo.ca>
  9. Date: Wed, 11 Nov 1992 12:44:24 GMT
  10. Lines: 69
  11.  
  12. In <BxGtps.BHM@watserv1.uwaterloo.ca> erick@demorgan.uwaterloo.ca (Erick Engelke) writes:
  13.  
  14. >A common misconception is that we will get fragmented packets from
  15. >outside our LAN, such as gateways through slower media.  But it is
  16. >the gateway's responsibility to reassemble the frags before putting
  17. >the data onto the LAN at the other end.  That's why people using
  18. >all these freeware TCPs didn't know they didn't have frag support.
  19.  
  20. Surely, for a gateway, the following is true:
  21. If the received frags from the input network, when assembled, make a 
  22. datagram that is larger than the MTU for the output network, the
  23. gateway will have no choice but to fragment it. Similarly, if the MTU
  24. for the output network is less than the MTU of the input net, it may
  25. have to fragment packets that were received unfragmented (assuming
  26. DF is not set; if it is, the packet will get discarded thus 
  27. preventing communication completely).
  28.  
  29. As far as I recall the IP RFC states that support for fragments is
  30. mandatory and not optional. 
  31.  
  32.  
  33.  
  34. >The remaining use of fragments is for UDP based services such as
  35. >NFS/RPC/UDP or possibly SNMP.  I have always been critical of the
  36. >use of fragmented RPC's and wished people would migrate over to TCP
  37. >as they are starting to do now for NFS. 
  38.  
  39. >Here's my frustration, fragments rely on 100% delivery and are 
  40. >costly in gateways.  And when you encounter problems on your LAN,
  41. >large UDP packets clog it in a needless and futile manner whereas 
  42. >TCP adapts.
  43.  
  44. That is true, but there are other more fundamental reasons why you 
  45. would not want to use a connection oriented protocol like TCP, in
  46. certain applications. UDP and IP are stateless. Although a 
  47. fragmented datagram will only get there if all its fragments get 
  48. there, whatever is using IP must assume that IP datagram delivery 
  49. is unreliable.
  50.  
  51. Personally, I do not think that a network application should
  52. ever knowingly attempt to send a datagram that is bigger than
  53. the MTU of the local net, since it knows (or should do if its
  54. IP layer is compliant with RFC1122) that fragmentation will occur. 
  55. Fragmentation should only occur when a gateway discovers that it 
  56. has no choice but to fragment when passing a datagram on to a net 
  57. with a smaller MTU. I think that NFS is the obvious culprit here. 
  58. Given that the large majority of Sun workstations are connected 
  59. via a network with an MTU a lot less than 8k, i.e ethernet, this 
  60. is a misuse of fragmentation.
  61.  
  62. Put another way, in my view the point about fragments is that they 
  63. are there to provide a mechanism for networks with naturally small 
  64. packet sizes to interwork reasonably well with networks with larger 
  65. packet sizes. They were not invented in order for applications to
  66. ship objects unlimited by physical network packet size. That is
  67. a function for higher level protocols.
  68.  
  69. >>Has anyone implemented IP fragment handling in any of the above mentioned
  70. >>products? My personal favorite is WATTCP, but I would be willing to entertain
  71. >>any PD implementation that handles frags. My only alternative is to roll my
  72. >>own :-(.
  73.  
  74. I have done it in my own TCP/IP.
  75.  
  76. -- 
  77. Colin Manning     cm@impmh.uucp      Tel: +44 753 516599
  78.  
  79. -- 
  80. Colin Manning     cm@impmh.uucp      Tel: +44 753 516599
  81.