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 $20.14
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 D Link DWA-556.
DLink D-Link DWA-556 Xtreme N PCI Express Desktop Adapter A54M552 Electronics Used and New Usually ships in 24 hours
Amazon: $58.22 TigerDirect: $69.99
CompUSA: $69.99 Buy.com: $58.82

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

« Previous |  Page 6 of 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.
    ASUS RT-N16ASUS RT-N16

    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 2-2548189 Electronics Gi

    Amazon: $87.71 TigerDirect: $89.99
    CompUSA: $89.99 Buy.com: $87.99

    RSSLatest News
    Corsair Upgrades GS Series Power Supplies
    May 17, 2012 - 12:49 PM PST
    New 140 mm Case Fans from Arctic
    May 17, 2012 - 12:47 PM PST
    Intel Intros New Intel Xeon Processors
    May 15, 2012 - 5:04 PM PST
    Transcend Launches mSATA SSD Drives
    May 11, 2012 - 8:56 AM PST
    NVIDIA Launches GeForce GTX 670
    May 10, 2012 - 7:44 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)