LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-24-2005, 05:04 AM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 120

Rep: Reputation: 15
TCP Packet Size


Hello Friends

How much default size in TCP/IP Packet size in windows 2000 professional.

Anybody to know please explain.

Thank You
 
Old 10-24-2005, 02:55 PM   #2
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 278

Rep: Reputation: 41
Does the OS Matter?

I believe its 1152 - regardless of operating system. So called "Jumbo Packets" are 1500 but are very hardware dependent.

But I could be wrong, I'm going from memory. I don't have my "Network Protocol Handbook" handy.
 
Old 10-24-2005, 03:14 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,650

Rep: Reputation: 210Reputation: 210Reputation: 210
There's no default size - it depends on the amount of data that's ready to send. There's maximum and minimum length, however. Maximum size depends on the media. For Ethernet you have 1500B max (with everything). Longer IP packets are fragmented, so it's possible to send more than 1500B in one, but it's rarely used this way.
 
Old 11-03-2005, 06:46 AM   #4
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 878

Rep: Reputation: 184Reputation: 184
Bit of confusion with your OSI Layers here -

TCP deals in streams, it chops these streams into segments and then hands them to IP which builds a packet. IP packets can go up to 65536 bytes in length.

This IP packet is then handed to the media access layer which fragments the IP packet up into frames of a maximum size depending on the physical transmission media you are using.

Ethernet has always had a maximum PAYLOAD size of 1500bytes. When you add the frame itself not including preamble or interframe gap you get 1518bytes. Anything over this is a jumbo frame, which some devices support and other don't.

The source of confusion is that it was found that passing large ip packets across the internet was wastefull as internet routers that have to fragment a packet have to do it in software not in the application specific hardware they normally use for packet switching. This was leading to excessive loading on internet routers so the IETF decided to modify TCP so that it would negotiate a Maximum Segment Size to coincide with the MTU of the transmission media., so that large segments would never get sent in the first place.

Last edited by baldy3105; 11-03-2005 at 06:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in TCP packet live_dont_exist Programming 3 05-16-2005 06:00 AM
TCP Packet Collisions artematalento Linux - Networking 5 11-11-2004 08:48 PM
tcp packet size dellcom1800 Linux - Networking 2 07-28-2004 07:49 AM
Linux tcp/ip packet optimizer wildtiger23 Linux - Networking 1 06-09-2004 05:00 PM
Which function does TCP call to handover a packet to IP? jamesbond Programming 1 06-04-2003 05:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration