Hardware Secrets


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




Recommended
Networking Bible
Networking Bible, by Barrie Sosinsky (Wiley), starting at $18.99
Home » Networking
The OSI Reference Model for Network Protocols
Author: Gabriel Torres
Type: Tutorials Last Updated: March 22, 2007
Page: 3 of 4
Real-time pricing for Sony SMP-N100.
Sony SMP-N100 Streaming Player with Wi-Fi SMPN100 Electronics Usually ships in 24 hours
Amazon: $49.99 TigerDirect: $49.99

How It Works

As we explained before, each layer only talks to the layer above or below it. When your computer is transmitting data, the flow of information is from the program to the network (i.e., the data path is from top to bottom), so the program talks to the seventh layer, which in turns talks to the sixth layer and so on. When your computer is receiving data, the flow of information is from the network to the program (i.e., the data path is from bottom to the top), so the network talks to the first layer, which in turn talks to the second layer and so on.

When transmitting data, each layer adds some control information to the data it got from the layer above, and when receiving data the opposite process occurs: each layer removes control information from the data it got from the layer below.

So when sending data to the network, the seventh layer gets the data send by the program and adds its own control information, and sends this new packet formed by the original data plus its own control data to the layer below. The sixth layer will add its own control data to the packet it received from above and sends the new packet down to the fifth layer, now containing the original data, control data added by the seventh layer plus control data added by the sixth layer. And so on. When receiving data the opposite process occurs: each layer will remove the control data it is in charge of.

Each layer only understands control data it is in charge of. When a layer receives data from the layer above it doesn’t understand the control data added by the above layer, so it treats the set data plus control data as if everything was a single data packet.

In Figure 2 we illustrate this idea, where you can see a computer sending data to the network. Each number added to the original data represents the control data added by each layer. Each layer treats the packet it is receiving from the layer above it as a single packet, not differentiating what is the original data from what is control data added by the upper layers.

The OSI Reference Model
click to enlarge
Figure 2: How OSI model works.

We can also say that each layer on the transmitting computer talks directly to the same layer on the receiving computer. For example, the fourth layer on the transmitting computer is talking directly to the fourth layer on the receiving computer. We can say that because the control data added by each layer can only be interpreted by the same layer on the receiving computer.

« Previous |  Page 3 of 4  | Next »
Print Version | Send to Friend | Bookmark Article | Comments (0)

Related Content
  • How to Share Folders and Printers on Your Network
  • How to Discover Your Network Card Real Manufacturer
  • How to Build a Network Using a Cross-Over Cable
  • How TCP/IP Protocol Works - Part 1
  • How TCP/IP Protocol Works - Part 2

  • Recommended Deal.
    ASUS 610839056583ASUS 610839056583

    ASUS RT-N16 Wireless-N 300 Maximum Performance single band Gaming Router Fast Gigabit Ethernet support USB-Hard Drive and Printer Open source DDWRT Asus AS-6962RTN16 Electronics

    Amazon: $95.00

    RSSLatest News
    Antec Announces the One PC Case
    February 9, 2012 - 8:06 AM PST
    Cooler Master Releases Elite 361 PC Case
    February 8, 2012 - 7:50 AM PST
    Microsoft Launches Kinect for Windows
    February 2, 2012 - 8:42 AM PST
    Transcend Announces SSD720 SSD Series
    February 1, 2012 - 7:55 AM PST
    .:: More News ::.


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