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




Recommended
Wireless Home Networking For Dummies
Wireless Home Networking For Dummies, by Edward Ferris (For Dummies), starting at $10.59
Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 1 of 6
$ Check REAL-TIME pricing for Storage Enclosure D-Link 2-Bay Network 2BAY NAS $.
Newegg: $117.99 BestBuy: $149.99
TigerDirect: $119.99 Buy.com: $122.77

Introduction

TCP/IP is the most used network protocol nowadays. In this tutorial we will explain how it works in a very easy to follow language.

So, what is a network protocol anyway? Protocol is like a language used to make two computers to talk to each other. Like in real world, if they are not talking the same language, they cannot communicate.

Before going further, we recommend you to read our tutorial The OSI Reference Model for Network Protocols, which is a primer for understanding how network protocols work. Consider the present tutorial as a sequel to our OSI Reference Model tutorial.

TCP/IP is not really a protocol, but a set of protocols – a protocol stack, as it is most commonly called. Its name, for example, already refers to two different protocols, TCP (Transmission Control Protocol) and IP (Internet Protocol). There are several other protocols related to TCP/IP like FTP, HTTP, SMTP and UDP – just to name a few. Don’t worry about this for now; we will explain all you need to know about them later.

TCP/IP architecture can be seen on Figure 1.

TCP/IP Protocol
Figure 1: TCP/IP architecture.

As you can see, TCP/IP has four layers. Programs talk to the Application layer. On the Application layer you will find Application protocols such as SMTP (for e-mail), FTP (for file transfer) and HTTP (for web browsing). Each kind of program talks to a different Application protocol, depending on the program purpose.

After processing the program request, the protocol on the Application layer will talk to another protocol from the Transport layer, usually TCP. This layer is in charge of getting data sent by the upper layer, dividing them into packets and sending them to the layer below, Internet. Also, during data reception, this layer is in charge of putting the packets received from the network in order (because they can be received out-of-order) and also checking if the contents of the packets are intact.

On the Internet layer we have the IP (Internet Protocol), which gets the packets received from the Transport layer and adds virtual address information, i.e. adds the address of the computer that is sending data and the address of the computer that will receive this data. These virtual addresses are called IP addresses. Then the packet is sent to the lower layer, Network Interface. On this layer packets are called datagrams.

The Network Interface will get the packets sent by the Internet layer and send them over the network (or receive them from the network, if the computer is receiving data). What is inside this layer will depend on the type of network your computer is using. Nowadays almost all computers use a type of network called Ethernet (which is available in several different speed grades; wireless networks are also Ethernet networks) and thus you should find inside the Network Interface layer the Ethernet layers, which are Logic Link Control (LLC), Media Access Control (MAC) and Physical, listed from up to bottom. Packets transmitted over the network are called frames.

Let’s now talk more in depth about the TCP/IP layers and protocols.

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 Deal.
    D-Link Router SWITCH 802.11n DRAFT 4-Port providesD-Link Router SWITCH 802.11n DRAFT 4-Port provides


    Newegg: $48.00 Amazon: $49.99
    BestBuy: $69.99 TigerDirect: $49.99

    RSSLatest News
    AMD/ATI Launches Radeon HD 5570
    February 9, 2010 - 10:38 AM PST
    Samsung Announces Hard Disk with Michael Jackson's THIS IS IT
    February 8, 2010 - 11:19 AM PST
    New Toughpower XT PSUs from Thermaltake
    February 5, 2010 - 11:41 AM PST
    MSI Launches R5770 Hawk Video Card
    February 5, 2010 - 11:32 AM PST
    NZXT Unveils Line of Premium Cables and Case Fans
    February 5, 2010 - 11:24 AM PST
    AMD/ATI Launches Radeon HD 5450
    February 4, 2010 - 11:44 AM PST
    Patriot Debuts Sector 5 Memory Kit
    February 3, 2010 - 7:41 AM PST
    Samsung Intros 1.5 TB/2 TB EcoGreen F3EG Hard Disks
    February 3, 2010 - 7:38 AM PST
    Acer Launches Full HD 3D LCD Monitor
    February 3, 2010 - 7:32 AM PST
    New Strider Essential PSUs from SilverStone
    February 1, 2010 - 9:17 AM PST
    .:: More News ::.

    RSSLatest Content
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    Thermaltake SpinQ VT CPU Cooler Review
    All Atom Models
    Motorola Droid Cell Phone Review
    Cooler Master GX 750 W Power Supply Review
    MSI P55-GD85 Motherboard
    ASRock H55DE3 Motherboard
    ECS H55H-CM Motherboard
    NZXT Hades Case Review
    Is It Time to Move to Solid-State Storage?
    EVGA H55 Motherboard
    SilverStone Strider Plus 750 W Power Supply Review
    Anatomy of SSD Units
    Mushkin Volta 600 W Power Supply Review
    Power Supplies Re-Tested - Part 4

    Our Most Popular Articles
    Maximum CPU Temperature
    1,128,171 views
    How to Find Out Your Motherboard Manufacturer and Model
    781,502 views
    nVidia Chips Comparison Table
    723,701 views
    Connecting Two PCs Using a USB-USB Cable
    646,776 views
    How To Correctly Apply Thermal Grease
    604,017 views
    AMD ATI Chips Comparison Table
    591,809 views
    ATI Radeon X1300 Pro Review
    500,721 views
    ATI Radeon X1600 XT Review
    489,097 views
    How To Perform a BIOS Upgrade
    427,488 views
    Understanding RAM Timings
    364,177 views

    Latest Threads in Our Forums
    New builder needs feedback on rig....
    by RedwoodRythym
    AMD/ATI Launches Radeon HD 5570
    by Hardware Secrets Team
    Thermaltake TR2 RX 750 W Power Supply Review
    by Silentbob
    How fast is fast? How much heat is too much??
    by Ios_Angel
    DVD-ROM problems (Pioneer DVD-115HA)
    by Ios_Angel
    Partitioning a Reformatted HD
    by Merman
    AMD Phenom II X4 925 on my AM2 board
    by tomahawk 1705
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    by Hardware Secrets Team
    Working on Frankenstein
    by nicolatesla
    Thermaltake SpinQ VT CPU Cooler Review
    by Olle P
    .:: Visit Our Forums ::.


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