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 $12.01
Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 1 of 6
Real-time pricing for LaCie 301355U.
301355U 5TB Network Storage - Retail LACIE 301355U
Newegg: $779.99 PCRush: $803.45
PC Connection: $874.95 TechOnWeb: $801.52

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.
    Cisco WRT54GLCisco WRT54GL

    Linksys by Cisco WRT54GL Wireless-G Broadband Router Compatible with Linux Electronics Linksys by Cisco Wireless-G Broadband Router Compatible with Linux WRT54GL

    Amazon: $59.82 Wal-Mart: $58.54
    TigerDirect: $64.99 Buy.com: $67.24

    RSSLatest News
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    March 19, 2010 - 10:17 AM PST
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    March 19, 2010 - 9:59 AM PST
    In Win Intros IRONCLAD Mid-Tower Case
    March 19, 2010 - 9:39 AM PST
    A-Data Intros 8 GB DDR3 Memory Kit
    March 17, 2010 - 3:40 PM PST
    Intel Launches Xeon 5600 Series and Core i7-980X Processor
    March 16, 2010 - 3:46 PM PST
    Intel Launches 40 GB X25-V SSD Drive
    March 15, 2010 - 1:43 PM PST
    Arctic Cooling Intros Cooler for Radeon HD 5970 and HD 5870
    March 12, 2010 - 12:19 PM PST
    OCZ Announces 32 GB Onyx SSD Unit
    March 10, 2010 - 4:08 PM PST
    MSI Launches X-Slim X360 Laptop
    March 9, 2010 - 4:15 PM PST
    Spire Launches TherMax Eclipse II CPU Cooler
    March 8, 2010 - 2:59 PM PST
    .:: More News ::.

    RSSLatest Content
    All Mobile Celeron Models
    Epson WorkForce 610 All-in-One Printer Review
    All Core i5 Models
    Mionix Naos 5000 Mouse Review
    Arctic Cooling E361-WM Earphones Review
    Don’t Let Your IT Projects Become Vaporware
    OCZ Z Series 850 W Power Supply Review
    HIS Radeon HD 5570 Fan Video Card Review
    Core i7-980X CPU Review
    Gelid Tranquillo CPU Cooler Review
    How to Discover Your Power Supply Real Manufacturer
    OCZ Z Series 1000 W Power Supply Review
    Amacrox Free Earth 85PLUS 650 W Power Supply Review
    ECS A890GXM-A Motherboard
    ASUS M4A89GTD PRO/USB3 Motherboard Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,155,996 views
    How to Find Out Your Motherboard Manufacturer and Model
    819,075 views
    nVidia Chips Comparison Table
    743,861 views
    Connecting Two PCs Using a USB-USB Cable
    673,379 views
    How To Correctly Apply Thermal Grease
    626,148 views
    AMD ATI Chips Comparison Table
    610,555 views
    ATI Radeon X1300 Pro Review
    506,887 views
    ATI Radeon X1600 XT Review
    494,552 views
    How To Perform a BIOS Upgrade
    444,033 views
    Understanding RAM Timings
    382,096 views

    Latest Threads in Our Forums
    Antec NSK4480 Case Review
    by Olle P
    In Win Intros IRONCLAD Mid-Tower Case
    by Olle P
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    by Olle P
    Custom PC Help
    by Olle P
    Corsair CX400W Power Supply Review
    by anonemus
    Tacens PSU: Any good?
    by anonemus
    All Mobile Celeron Models
    by Hardware Secrets Team
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    by Hardware Secrets Team
    Epson WorkForce 610 All-in-One Printer Review
    by Hardware Secrets Team
    A-Data Intros 8 GB DDR3 Memory Kit
    by Hardware Secrets Team
    .:: 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)