home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / tcpip / 4107 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.6 KB

  1. Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!purdue!news.cs.indiana.edu!umn.edu!noc.msc.net!uc.msc.edu!shamash!easyaspi.udev.cdc.com!gsa
  2. From: gsa@easyaspi.udev.cdc.com (gary s anderson)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: Re: Raw IP
  5. Message-ID: <46458@shamash.cdc.com>
  6. Date: 14 Aug 92 15:46:02 GMT
  7. References: <1992Aug14.120245.8688@news.uit.no>
  8. Sender: usenet@shamash.cdc.com
  9. Reply-To: gsa@easyaspi.udev.cdc.com (gary s anderson)
  10. Lines: 28
  11.  
  12. In article <1992Aug14.120245.8688@news.uit.no>, rune@regina.itek.norut.no (Rune Hamnvik (Stud IT)) writes:
  13. |> Hello
  14. |> We are using Berkeley sockets and we wish for some reason to use
  15. |> raw sockets, but we have a problem. We can not send packets greater
  16. |> than about 1500 - 2000 bytes. Why is that ?
  17. |> Does the protocol spesify this or is it only the implementation that
  18. |> has this limitation ? 
  19. |> I have read that IP can do fragmentation and that the maximum
  20. |> size of an IP datagram is 65536 bytes. Is this true ?
  21. |> 
  22. |> Can someone please help us ?
  23. |> 
  24. |> Rune Hamnvik
  25.  
  26. Here are two possible reasons:
  27.  
  28. 1)    The socket send and/or receive buffers are not large enough.
  29.     A nominal value used in BSD code is 2048 bytes.  You can use
  30.     the getsockopt to check the sizes and the setsockopt to
  31.     change the sizes.
  32.  
  33. 2)    You are going between network solutions and the don't fragment
  34.     option is set (e.g. when going from FDDI to Ethernet).  Unless
  35.     you have control over the IP headers you may be SOL (NOTE - if
  36.     you're lucky you might be able to configure the FDDI MTU size).
  37.  
  38. My guess is that issue "1" is the problem, however, one is always 
  39. humbled by new findings.
  40.