Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
Build Your Own Wi-Fi Network (Build Your Own...(McGraw))
By
McGraw-Hill/OsborneMedia
Price: $0.39

Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 5 of 6
$ Check REAL-TIME pricing for Linksys WRT54GS Wireless Router $
CompUSA.com: $64.99 TECHONWEB: $69.43
TigerDirect.com: $64.99 HP Small/Medium Business: $70.15
eBay: $47.95 Jr: $59.99

Internet Layer (Cont'd)

If you pay close attention, we didn’t say that the IP datagram has 65,535 bytes, but it can have up to 65,535 bytes. This means that the data field of the datagram does not have a fixed size. Since datagrams will be send over the network inside frames produced by the Network Interface layer, usually the operating system will configure the size of the IP datagram to have the maximum size of the data area of the data frames used on your network. The maximum size of the data field of the frames that will be sent over the network is called MTU, Maximum Transfer Unit.

Ethernet networks – which is the most common type of network available, including its wireless incarnation – can carry up to 1,500 bytes of data, i.e. its MTU is of 1,500 bytes. Thus usually the operating system automatically configures the IP protocol to create IP datagrams that are 1,500 bytes long, instead of 65,535 (which wouldn’t fit the frame). On the next page we will see that the real size is of 1,497 or 1,492 bytes, as the LLC layer “eats” 3 or 5 bytes for adding its header.

Just a clarification, you may be confused how a network can be classified as TCP/IP and Ethernet at the same time. TCP/IP is a set of protocols that deals with layers 3 to 7 from the OSI reference model. Ethernet is a set of protocols that deals with layers 1 and 2 from the OSI reference model – meaning Ethernet deals with the physical aspect of the data transmission. So they complement each other, as we need the full seven layers (or their equivalents) to establish a network connection. We will explain more about this relationship on next page.

Another feature that IP protocol allows is fragmentation. As we mentioned, until arriving at its destination, the IP datagram will probably pass thru several other networks in the middle of the road. If all networks in the path between the transmitting computer and the receiving one use the same kind of network (e.g. Ethernet) then everything is fine, as all routers will work with the same frame structure (i.e. the same MTU size).

However, if those other networks are not Ethernet networks, they may use a different MTU size. If that happens, the router that is receiving the frames with the MTU set to 1,500 bytes will cut the IP datagram inside each frame in as many as necessary in order to cross over the network with the small MTU size. Upon arriving at a router that has its output connected to an Ethernet network, this router will re-assemble the original datagram.

On Figure 5 you can see an example of this. The original frame uses a MTU of 1,500 bytes. When it arrived at a network with a MTU size of 620 bytes, each frame had to be broken into three frames (two with 600 bytes and one with 300 bytes). Then the router at the exit of this network (router 2) re-assembled the original datagram.

Of course the IP header has a field for controlling fragmentation.

TCP/IP Protocol
click to enlarge
Figure 5: Datagram fragmentation.

Pages (6): « 1 2 3 4 [5] 6 »
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • How to Discover Your Network Card Real Manufacturer
  • How to Build a Wireless Network Without Using a Broadband Router
  • How to Build a Network Using a Cross-Over Cable
  • The OSI Reference Model for Network Protocols
  • How TCP/IP Protocol Works - Part 2

  • Recommended Deals
    Linksys Wireless-N WRT150N Router


    TigerDirect.com: $44.99 Server Supply: $80.00
    Amazon: $45.04 CompUSA.com: $44.99
    Server Supply.com Inc: $80.00 Tech For Less: $78.96
    Linksys WRT350N Wireless Router


    CompUSA.com: $169.99 TigerDirect.com: $169.99
    PCNation: $166.81 Newegg.com: $109.99
    TECHONWEB: $179.99 Nextwarehouse: $154.86
    D-link Xtreme N™ DIR-655 Wireless Router


    TECHONWEB: $100.99 Beach Camera.com: $94.95
    Circuit City: $99.99 Dell: $99.99
    OfficeMax: $119.99 Jr: $109.99
    Linksys WRT54GS Wireless Router


    TECHONWEB: $69.43 HP Small/Medium Business: $70.15
    CompUSA.com: $64.99 TigerDirect.com: $64.99
    eBay: $47.95 J&R Music and Computer World: $59.99
    Linksys WRT300N Wireless Router


    Newegg.com: $94.99 PCNation: $106.09
    CompUSA.com: $109.99 TigerDirect.com: $109.99
    CompuVest: $120.42 Insight: $105.03

    RSSLatest News
    Elpida Develops 65-nm Memory Chips
    October 6, 2008 - 11:10 AM PST
    Transcend Launches T5 Flash Memory
    October 3, 2008 - 11:50 AM PST
    Thermaltake Announces BigTyp14 Pro CPU Cooler
    October 3, 2008 - 11:28 AM PST
    A-Data Announces Triple-Channel DDR3 kits for Core i7 Processors
    October 3, 2008 - 11:17 AM PST
    EVGA Launches nForce 790i SLI FTW Mainboard
    October 3, 2008 - 11:07 AM PST
    GlacialPower Launches 650 W PSU
    October 2, 2008 - 9:56 AM PST
    Manufacturers Launch Radeon HD 4550 and HD 4350 Cards
    October 1, 2008 - 9:51 AM PST
    AMD/ATI Launches Radeon HD 4550 and HD 4350
    September 30, 2008 - 9:25 AM PST
    Buffalo Announces DDR3-2400
    September 29, 2008 - 8:00 AM PST
    OCZ Launches HydroFlow Processor Water Block
    September 26, 2008 - 11:52 AM PST
    .:: More News ::.

    RSSLatest Content
    Kingwin Mach 1 ABT-700MA1S 700 W Power Supply Review
    Thermaltake V9 Case Review
    OCZ Dominatrix Gaming Mouse Review
    Rosewill Wind Ryder RZLS142-AP Case Review
    AeroCool AeroRacer Pro Case Review
    iPod Touch 2nd Generation Review
    Olympus SP-570UZ Digital Camera Review
    Zalman ZM600-HP 600 W Power Supply Review
    Tagan A+ Curbic Case Review
    Everything You Need to Know About The Motherboard Voltage Regulator Circuit
    Inside Atom Architecture
    ECS A790GXM-A Black Series Motherboard Review
    AMD ATI Chips Comparison Table
    All Core 2 Models
    All Celeron Models

    Our Most Popular Articles
    Maximum CPU Temperature
    792,399 views
    nVidia Chips Comparison Table
    493,104 views
    AMD ATI Chips Comparison Table
    435,981 views
    ATI Radeon X1300 Pro Review
    419,813 views
    ATI Radeon X1600 XT Review
    413,994 views
    How to Find Out Your Motherboard Manufacturer and Model
    403,714 views
    Connecting Two PCs Using a USB-USB Cable
    362,544 views
    How To Correctly Apply Thermal Grease
    347,121 views
    Sempron vs. Athlon XP
    283,907 views
    Sempron 3400+ Review
    274,720 views

    Latest Threads in Our Forums
    Budget Gaming PC
    by kiddmanty
    Elpida Develops 65-nm Memory Chips
    by Hardware Secrets Team
    Need advices with a 512 kbps internet connection
    by Gamer Z
    creative x fi elite pro spdif output
    by Gamer Z
    Everything you Need to Know About ATA-66, ATA-100 and ATA-133 Hard Disks
    by aopen
    Recovering Hard Disks with Bad Blocks
    by aopen
    Anatomy of a Hard Disk Drive
    by aopen
    need subject about pcb for hardisk --mr Gabriel Torres
    by aopen
    Kingwin Mach 1 ABT-700MA1S 700 W Power Supply Review
    by C.Gajo
    Mobo faulty
    by Gabriel Torres
    .:: Visit Our Forums ::.


    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)