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

Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 6 of 6
$ Check REAL-TIME pricing for Linksys WRT54GS Wireless Router $
TECHONWEB: $64.46 TigerDirect.com: $57.99
CompUSA.com: $57.99 CompuVest: $60.00
HP Home & Home Office Store: $99.99 Hpshopping: $99.99

Network Interface Layer

Datagrams generated on the Internet layer will be sent down to the Network Interface layer, if we are sending data, or the Network Interface layer will get data from the network and send it to the Internet layer, if we are receiving data.

This layer is defined by what type of physical network your computer is connected to. Almost always your computer will be connected to an Ethernet network (wireless networks are also Ethernet networks like we will explain).

Like we said on the previous page, TCP/IP is a set of protocols that deals with layers 3 to 7 from the OSI reference model, while Ethernet is a set of protocols that deals with layers 1 and 2 from the OSI reference model – meaning Ethernet deals with the physical aspect of the data transmission. So they complement each other, as we need the full seven layers (or their equivalents) to establish a network connection.

Ethernet has three layers: Logic Link Control (LLC), Media Access Control (MAC) and Physical. LLC and MAC layers correspond, together, to the second layer from the OSI reference model. You can see Ethernet architecture on Figure 6.

TCP/IP Protocol
click to enlarge
Figure 6: Ethernet architecture.

The Logic Link Control layer (LLC) is in charge of adding information of which protocol on the Internet layer delivered data to be transmitted, so when receiving a frame from the network this layer on the receiving computer has to know to which protocol from the Internet layer it should deliver data. This layer is defined by IEEE 802.2 protocol.

The Media Access Control layer (MAC) is in charge of assembling the frame that will be sent over the network. This layer is in charge of adding the source MAC address and the target MAC address – as we explained before, MAC address is the physical address of a network card. Frames that are targeted to another network will use the router MAC address as the target address. This layer is defined by IEEE 802.3 protocol, if a cabled network is being used, or by IEEE 802.11 protocol, if a wireless network is being used.

The Physical layer is in charge of converting the frame generated by the MAC layer into electricity (if a cabled network is being used) or into electromagnetic waves (if a wireless network is being used). This layer is also defined by IEEE 802.3 protocol, if a cabled network is being used, or by IEEE 802.11 protocol, if a wireless network is being used.

The LLC and MAC layers add their own headers to the datagram they receive from the Internet layer. So a complete structure of the frames generated by these two layers can be seen on Figure 7. Notice that the headers added by the upper layers are seen as “data” by the LLC layer. The same thing happens with the header inserted by the LLC layer, which will be seen as data by the MAC layer.

The LLC layer adds a 3-byte or 5-byte header and its datagram has a maximum total size of 1,500 bytes, leaving a maximum of 1,497 or 1,492 bytes for data. The MAC layer adds a 22-byte header and a 4-byte CRC (data correction) data at the end of the datagram received from the LLC layer, forming the Ethernet frame. Thus the maximum size of an Ethernet frame is of 1,526 bytes.

TCP/IP Protocol
click to enlarge
Figure 7: Frame on the Network Interface layer.

To learn more about other TCP/IP protocols and functionalities, read the second part of this tutorial.

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


    HP Home & Home Office: $149.99 Circuit City: $64.99
    TECHONWEB: $119.99 Newegg.com: $99.99
    CompuVest: $99.99 Compusa: $104.99
    D-link Xtreme N™ DIR-655 Wireless Router


    Circuit City: $99.99 TECHONWEB: $98.75
    Newegg.com: $94.99 OfficeMax: $119.99
    Dell: $138.99 Sparco: $275.64
    Linksys WCG200 Wireless Router (DNHWCG200)


    Dell: $135.99 PCNation: $128.31
    Super Warehouse: $131.99 Newegg.com: $121.99
    Superduperclub: $130.99 Zappos: $154.00
    Linksys WRT54GS Wireless Router


    TECHONWEB: $64.46 CompuVest: $60.00
    CompUSA.com: $57.99 TigerDirect.com: $57.99
    Superduperclub: $69.99 Hpshopping: $99.99
    Linksys Wireless-N WRT150N Router


    CompUSA.com: $39.99 TECHONWEB: $89.61
    CompuVest: $74.25 TigerDirect.com: $39.99

    RSSLatest News
    Arctic Cooling Launches Fusion 550R Power Supply
    August 27, 2008 - 4:08 AM PST
    nVidia Launches GeForce 9400 GT
    August 27, 2008 - 3:47 AM PST
    MSI Launches ‘P45-D8 Memory Lover’ Motherboard
    August 26, 2008 - 8:15 AM PST
    Lexar Launches 16 GB JumpDrive FireFly Flash Memory
    August 25, 2008 - 8:52 AM PST
    OCZ Launches Dominatrix Laser Gaming Mouse
    August 22, 2008 - 9:19 AM PST
    Lian Li Launches MAXIMA Force Power Supply Series
    August 21, 2008 - 10:00 AM PST
    Palit Launches Radeon HD 4870 Sonic Edition
    August 20, 2008 - 12:21 PM PST
    OCZ Introduces ModXStream Pro Power Supply Line-Up
    August 19, 2008 - 8:45 AM PST
    Danger Den Launches Radeon HD 4870 X2 Water Block
    August 18, 2008 - 8:08 AM PST
    Thermaltake Launches BlacX A
    August 18, 2008 - 7:30 AM PST
    .:: More News ::.

    RSSLatest Content
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Inside Intel Nehalem Microarchitecture
    OCZ Elixir Gaming Keyboard Review
    Everything You Need to Know About The QuickPath Interconnect (QPI)
    Me and Woz
    Introduction to Wireless USB (WUSB)
    Nikon Coolpix S600 Camera Review
    IDF Fall 2008: Opening Keynote
    Thecus N5200 NAS Review
    ECS GeForce 9800 GTX+ Hydra Video Card Review
    320 GB Hard Disk Drive Round-Up
    Razer Destructor Mouse Pad Review
    Sapphire HD 4870 X2 Video Card Review
    Antec Twelve Hundred Case Review

    Our Most Popular Articles
    Maximum CPU Temperature
    764,984 views
    nVidia Chips Comparison Table
    475,273 views
    AMD ATI Chips Comparison Table
    421,948 views
    ATI Radeon X1300 Pro Review
    412,118 views
    ATI Radeon X1600 XT Review
    406,994 views
    How to Find Out Your Motherboard Manufacturer and Model
    379,110 views
    Connecting Two PCs Using a USB-USB Cable
    343,194 views
    How To Correctly Apply Thermal Grease
    328,513 views
    Sempron vs. Athlon XP
    278,921 views
    Sempron 3400+ Review
    268,987 views

    Latest Threads in Our Forums
    Custom build, getting frustrated
    by snarley25
    Port Scans?
    by Grimreaper
    Hard Drive Partitioning....
    by djprov
    Evga 8800gts
    by Gabriel Torres
    Custom PC Problems!
    by Skye
    Arctic Cooling Launches Fusion 550R Power Supply
    by Hardware Secrets Team
    nVidia Launches GeForce 9400 GT
    by Hardware Secrets Team
    overclocking e8400 problem
    by andybarrel
    oc'ing e8400 with 667mhz ram
    by andybarrel
    How to Build a Small Network Using a Broadband Router
    by zahadum
    .:: 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)