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.32

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 $
eBay: $43.10 TigerDirect.com: $59.99
TECHONWEB: $56.41 P.C. Richard & Son: $49.99
CompUSA.com: $59.99 Amazon: $73.99

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 Deals
    Linksys WRT300N Wireless Router


    CompUSA.com: $109.99 PCNation: $106.09
    TigerDirect.com: $109.99 Comparemaster: $89.00
    Amazon: $113.51 IT-DREAMZ.NET: $110.87
    Linksys WRT350N Wireless Router


    PCNation: $166.81 Dell: $179.99
    TigerDirect.com: $169.99 CompUSA.com: $169.99
    Super Warehouse: $167.99 B&H Photo-Video: $119.95
    Linksys WRT54GS Wireless Router


    TigerDirect.com: $59.99 eBay: $43.10
    P.C. Richard & Son: $49.99 TECHONWEB: $56.41
    PC Connection: $64.95 Server Supply.com Inc: $79.00
    D-link Xtreme N™ DIR-655 Wireless Router


    TigerDirect.com: $99.99 CompUSA.com: $99.99
    Beach Camera.com: $99.00 BuyDig.com: $92.00
    SafeMart: $438.19 Dell Small Business: $336.99
    Linksys WRT54GL Wireless Router


    eBay: $57.99 Dell: $69.99
    TECHONWEB: $63.71 CompUSA.com: $69.99
    Amazon: $57.99 PC Connection: $69.95

    RSSLatest News
    Titan Launches Cooler for Intel Core i7 CPUs
    November 20, 2008 - 4:47 PM PST
    Thermaltake Launches Fanless 330 VGA Cooler
    November 19, 2008 - 6:17 PM PST
    Mushkin Launches Triple-Channel DDR3 kits for Core i7 Processors
    November 18, 2008 - 6:43 PM PST
    Manufacturers Launch Intel X58 Motherboards
    November 18, 2008 - 6:11 PM PST
    Intel Launches Core i7 Processors
    November 18, 2008 - 6:02 PM PST
    Scythe Kama Panel 3.5” Multifunctional Panel
    November 17, 2008 - 6:50 PM PST
    AMD Launches 45-nm Opteron Processors
    November 14, 2008 - 4:34 PM PST
    Noctua Presents Cooler for Intel Core i7 CPUs
    November 12, 2008 - 11:37 AM PST
    Thermalright Launches Ultra-120 eXtreme Cooler
    November 11, 2008 - 4:04 AM PST
    PowerColor Launches Water-Cooling Ready Radeon HD 4870
    November 10, 2008 - 4:22 PM PST
    .:: More News ::.

    RSSLatest Content
    Seventeam ST-550P-AG Power Supply Review
    Logitech QuickCam Pro 9000 Review
    GeForce GTX 260 with 216 cores Video Card Review
    Laptop Design: What are some ways that form can enhance function?
    Panasonic Link-to-Cell Phone System Review
    Topower TOP-1100P10 Power Supply Review
    Gigabyte MA78GM-S2H Motherboard
    OCZ Neural Impulse Actuator Review
    OCZ EliteXStream 1000 W Power Supply Review
    Everything You Need to Know About Megapixels
    Battery Life: How Long Does a Battery Need to Last?
    Corsair HX1000W Power Supply Review
    AMD ATI Chips Comparison Table
    What is the ideal size for a notebook?
    ASUS P6T Deluxe OC Palm Edition Motherboard

    Our Most Popular Articles
    Maximum CPU Temperature
    822,384 views
    nVidia Chips Comparison Table
    512,475 views
    AMD ATI Chips Comparison Table
    451,302 views
    How to Find Out Your Motherboard Manufacturer and Model
    432,937 views
    ATI Radeon X1300 Pro Review
    428,910 views
    ATI Radeon X1600 XT Review
    422,438 views
    Connecting Two PCs Using a USB-USB Cable
    384,222 views
    How To Correctly Apply Thermal Grease
    368,685 views
    Sempron vs. Athlon XP
    289,595 views
    Sempron 3400+ Review
    281,979 views

    Latest Threads in Our Forums
    Seventeam ST-550P-AG Power Supply Review
    by Olle P
    Thermaltake Launches Fanless 330 VGA Cooler
    by Olle P
    Best thermal paste on the market?
    by zargon48
    Thnx for help w/new buid!!
    by zargon48
    How to Manually Clean Your VCR Heads
    by Gabriel Torres
    Titan Launches Cooler for Intel Core i7 CPUs
    by Hardware Secrets Team
    Computer to Sony Bravia 23 in (1920 x 1080)
    by Wromx
    Logitech QuickCam Pro 9000 Review
    by Hardware Secrets Team
    Motherboard Repairing
    by joseph
    GeForce GTX 260 with 216 cores Video Card Review
    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)