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: 1 of 6
$ Check REAL-TIME pricing for Linksys WRT54GS Wireless Router Products $
Dell: $69.99 HP Home & Home Office: $99.99
TigerDirect.com: $44.99 CompUSA.com: $44.99
AlishaTech: $52.55

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
  • Connecting Two PCs Using a USB-USB Cable
  • How to Discover Your Network Card Real Manufacturer
  • How to Build a Network Using a Cross-Over Cable
  • The OSI Reference Model for Network Protocols
  • How TCP/IP Protocol Works - Part 2

  • Compare Prices for Wireless RouterPowered by Shopping.com
    Linksys Wireless-N WRT150N Router
    Functionalities: Wireless Access Point, Wireless Security: WEP, WPA, WPA2, WEP: 256 bit, 128 bit
    Read full description...

    Read 6 Epinions reviews
    $80 - $117 Compare Prices
    D-link RangeBooster G? WBR-2310 Wireless Router
    108 Mbps, 802.11b/g, Functionalities: VPN Pass-Thru, Firewall, DHCP Server, LAN: 10/100 Base-T, Firewall: Stateful Packet Inspecti...
    Read full description...

    Read 6 Epinions reviews
    $40 - $143 Compare Prices
    D-link Xtreme N? DIR-655 Wireless Router
    Pre-802.11n, Functionalities: Firewall, Firewall: Stateful Packet Inspection (SPI), NAT, Wireless Security: WEP, WPA, WPA2, WEP: 4...
    Read full description...

    Read 16 Epinions reviews
    $117 - $180 Compare Prices
    Linksys WRT54GS Wireless Router
    54 Mbps, 802.11b/g, Functionalities: VPN Pass-Thru, DHCP Server, WAN: 1 x 10/100 Base-T, LAN: 10/100 Base-T, Firewall: Stateful Pa...
    Read full description...

    Read 148 Epinions reviews
    $45 - $105 Compare Prices
    Linksys WRT300N Wireless Router
    54 Mbps, Pre-802.11n, Functionalities: Wireless Access Point, VPN Pass-Thru, Firewall, DHCP Server, WAN: 1 x 10/100 Base-T, LAN: 1...
    Read full description...

    Read 8 Epinions reviews
    $51 - $152 Compare Prices

    RSSLatest News
    Transcend Releases aXeRam DDR3-1800
    July 4, 2008 - 2:06 PM
    Leadtek Launches WinFast PX9800 GTX+
    July 4, 2008 - 11:44 AM
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    July 4, 2008 - 9:22 AM
    Arctic Cooling Launches Accelero TWIN TURBO
    July 3, 2008 - 11:27 AM
    Cooler Mater V8 CPU Cooler
    July 3, 2008 - 10:59 AM
    New DDR3 Intel Extreme Memory Series From OCZ
    July 2, 2008 - 2:59 PM
    New AMD Phenom Processors
    July 2, 2008 - 2:21 PM
    OCZ Announces Core Series SATA-300 2.5" SSD
    July 2, 2008 - 6:45 AM
    Lian Li Launches PC-A77 Case
    July 1, 2008 - 11:48 AM
    BFG Announces Factory-Overclocked GeForce GTX 260 Graphics Cards
    July 1, 2008 - 7:48 AM
    .:: More News ::.

    RSSLatest Content
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    DirectX Versions
    All Phenom Models
    Everything You Need to Know About Serial ATA
    Sapphire HD 4850 Video Card Review
    How Things Are Around Here
    Gigabyte GA-EP31-DS3L Motherboard
    Zalman FPSGun FG1000 Mouse Review
    AMD ATI Chips Comparison Table
    Amazon Kindle Review
    Tagan A+ Black Pearl Case Review
    Western Digital VelociRaptor WD3000GLFS Hard Disk Drive Review
    The new GeForce 9800 GTX+ and PhysX
    Sapphire Atomic HD 3870 X2 Video Card Review
    nVidia Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    723,318 views
    nVidia Chips Comparison Table
    451,904 views
    AMD ATI Chips Comparison Table
    406,815 views
    ATI Radeon X1300 Pro Review
    401,763 views
    ATI Radeon X1600 XT Review
    396,675 views
    How to Find Out Your Motherboard Manufacturer and Model
    347,804 views
    Connecting Two PCs Using a USB-USB Cable
    317,727 views
    How To Correctly Apply Thermal Grease
    302,202 views
    Sempron vs. Athlon XP
    271,912 views
    Sempron 3400+ Review
    261,719 views

    Latest Threads in Our Forums
    Transcend Releases aXeRam DDR3-1800
    by Hardware Secrets Team
    Leadtek Launches WinFast PX9800 GTX+
    by Hardware Secrets Team
    Urgent, Asus My Logo killed my Mobo
    by Viper Masse
    Modding a PSU for hobby purposes, combining rails?
    by Vantskruv
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    by Hardware Secrets Team
    P5q Deluxe
    by BedCommando
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    by Cheetos
    Nu Build
    by Cheetos
    Arctic Cooling Launches Accelero TWIN TURBO
    by Cheetos
    Cooler Mater V8 CPU Cooler
    by Hardware Secrets Team
    .:: 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)