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.08
Home » Networking
How TCP/IP Protocol Works - Part 1
Author: Gabriel Torres
Type: Tutorials Last Updated: March 28, 2007
Page: 6 of 6
Real-time pricing for HP 412648-B21.
HP NC360T PCI Express Dual Port Gigabit Server Adapter 412648-B21
PC Connection: $239.00 TechOnWeb: $177.55
CTIStore: $175.00 Newegg: $239.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 Deal.
    DLink DIR-655DLink DIR-655

    D-Link DIR-655 Extreme N Wireless Router Electronics D Link D-Link Extreme N Wireless Router DIR-655

    Amazon: $91.54 Wal-Mart: $91.54
    TigerDirect: $94.99 Newegg: $91.54

    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,154,637 views
    How to Find Out Your Motherboard Manufacturer and Model
    817,424 views
    nVidia Chips Comparison Table
    743,041 views
    Connecting Two PCs Using a USB-USB Cable
    672,225 views
    How To Correctly Apply Thermal Grease
    625,180 views
    AMD ATI Chips Comparison Table
    609,822 views
    ATI Radeon X1300 Pro Review
    506,666 views
    ATI Radeon X1600 XT Review
    494,325 views
    How To Perform a BIOS Upgrade
    443,328 views
    Understanding RAM Timings
    381,414 views

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