8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 1/7
Oct 2, 2013
Tweet C OMMENTS 2
What’s The Difference Between The OSI Seven-Layer Network Model And TCP/IP?
Lou Frenz el | Electronic Design
Comparing and contrasting the OSI and TCP/IP models of networking.
Whether it’s w ired or wireless, most data communications today happens by way of
packets of information travelling over one or more net works. But before these networks
can work together, though, they must use a common protocol, or a set of rules f or
transmitting and receiving these packets of data. Many protocols have been developed.
One of the most widely used is the Transmission Control Protocol/Internet Protocol
(TCP/IP). A lso, a generic protocol model used in describing network com munications
known as the Open System Interconnection (OSI) model is useful for comparing and
contrasting different protocols.
Table Of Contents
• The OSI Model
• TCP/IP
• Summary
• References
The OSI Model
Designated ISO/IEC 7498-1, the OSI model is a standard of the International
Organization for Standardization (ISO). I t is a general-purpose paradigm for discussing
or describing how computers communicate with one another over a network. Its seven-
layered approach to data transmission divides the many operations up into specific relatedgroups of actions at each layer (Fig. 1).
RELATED
Adver tisement
Top Articles
1. 10 Essential Skills for EEs
2. What’s The Difference Between Watts
And Volt-Amperes?
3. What’s The Difference Between Bit
Rate And Baud Rate?
4. What’s The Difference Between ATPG
And Logic BIST?
5. What’s The Difference Between The
RS-232 And RS-485 Serial
Interfaces?
Commentaries and Blog s
Why Were The “Prisoners” Discussing
Wireless Charging?
by Paul Why tock
Posted 1 day ago
in London Calling
50 Years of BASIC Programming
by Lou Frenzel
Posted 2 day s ago
in Communiqué
FPGAs Get A Performance/Reliability Lift
From The Bumps
by Paul Why tock
Posted 1 w eek ago
in London Calling
Adver tisement
Contributing Technical Expe rts
HOME > LEARNING RESOURCES > WHAT’S THE DIFFERENCE BETWEEN… > WH AT’S THE DIFFERENCE BETWEEN THE OSI SEVEN-LAYER NETWORK MODEL AND TCP/IP?
SHARE 1Recommend
Ethernet Chip Packs Hardwired TCP/IP Core And PHY »
Many Core Systems Handle Network Processing Chores»
What’s The Difference Between HomePlug And G.hn?»
What’s The Difference Between A Dipole And A Ground Plane Antenna?»
Electronic Design Eur ope St or e Su bscr ibe A bou t Us Con ta ct Us RSS A dv er ti sin g
Technologies News Markets Learning Resources Community Companie s Part Search
REGISTER LOG IN
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 2/7
1. In the OSI model, data flows down the transmit layers, over the physical link, and then up through the
receive layers.
The transmitting computer software gives the data to be transmitted to the applications
layer, where it is processed and passed from layer to layer down the stack w ith each layerperforming its designated functions. The data is then transmitted over the physical layer
of the network until the destination computer or another device receives it. At this point
the data is passed up through the layers again, each layer performing its assigned
operations until the data is used by the receiving computer’s software.
During transmission, each layer adds a header to the data that directs and indentifies the
packet. This process is called encapsulation. The header and data together form the data
packet for the next layer that, in turn, adds its header and so on. The combined
encapsulated packet is then transmitted and received. The receiving computer reverses
the process, de-encapsulating the data at each layer with the header information directing
the operations. Then, the application finally uses the data. The process is continued until
all data is transmitted and received.
All of the necessary and desirable operations required are grouped together in a logical
sequence at each of the layers. Each layer is responsible for specific functions:
• Layer 7 – application: This layer works with the application software to provide
communications functions as required. It verifies the availability of a communications
partner and the resources to support any data transfer. It also works with end
applications such as domain name service (DNS), file transfer protocol (FTP), hypertext
transfer protocol (HTTP), I nternet message access protocol (IMAP), post office protocol
(POP), simple mail transfer protocol (SMTP), Telenet, and terminal emulation.
• Layer 6 – presentation: This layer checks the data to ensure that it is compatible with
the comm unications resources. I t ensures compatibility between the data formats at the
applications level and the lower levels. I t also handles any needed data formatting or codeconversion, as well as data compression and encryption.
• Layer 5 – session: Layer 5 software handles authentication and authorization functions.
It also manages the connection between the two communicating devices, establishing a
connection, maintaining the connection, and ultimately terminating it. This layer verifies
that the data is delivered as well.
• Layer 4 – transport: This layer provides quality of service (QoS) functions and ensures
the complete delivery of the data. The integrity of the data is guaranteed at this layer via
error correction and similar functions.
• Layer 3 – network: The network layer handles packet routing via logical addressing and
switching functions.
• Layer 2 – data link: Layer 2 operations package and unpack the data in frames.
• Layer 1 – physical: This layer defines the logic levels, data rate, physical media, and data
conversion functions that make up the bit stream of packets from one device to another.
E-MAIL:
COUNTRY:
Use A Power Supply As A High-Current
Ohmmeter
by Bob Zollo
Published 2 hours 33 m in 59 sec ago
in Test & Measurement
IEEE Takes The Initiative In Building Smart
Cities
by Gilles Betis
Published on May. 27 , 201 4
in Communications
+48 Is The New –48
by Stephen Oliver
Published on May. 2 2, 2 014
in Power
How Nimble Is Your IoT Approach?
by Mike Santori
Published on May . 9, 201 4
in Communications
Adver tisement
Forums
What is graphic overlay?
CELL PHONE DETECTOR FOR DATA SECURITY
Coursework Writing Help
Vie w A ll
Search Parts
Powered by :
The Original Electronics Parts Search
And Procurment Tool
Newsletter Signup
Sign-up to receive our free newsletters
UNITED STATES
By clicking below, I acknowledge and ag ree to
Penton's Term s of Service an d to Penton's use of
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 3/7
There are two key points to make about the OSI model. First, the OSI model is just that,
a model. I ts use is not mandated for networking, yet m ost protocols and systems adhere
to it quite closely. It is mainly useful for discussing, describing, and understanding
individual network functions.
Second, not all layers are used in some simpler applications. While layers 1, 2, and 3 are
mandatory for any data transmission, the application may use some unique interface
layer to the application instead of the usual upper layers of the model.
TCP/IP
TCP/IP was developed during the 1960s as part of the Department of Defense’s (DoD)
Advanced Research Projects Agency (ARPA) effort to build a nationwide packet data
network. It was first used in UNIX-based computers in universities and government
installations. Today, it is the main protocol used in all Internet operations.
TCP/IP also is a layered protocol but does not use all of the OSI layers, though the layers
are equivalent in operation and function (Fig. 2). The network access layer is equivalent
to OSI layers 1 and 2. The Internet Protocol layer is comparable to layer 3 in the OSI
model. The host-to-host layer is equivalent to OSI layer 4. These are the TCP and UDP
(user datagram protocol) functions. Finally, the application layer is similar to OSI layers
5, 6, and 7 combined.
2. The seven layers of the OSI model somew hat correspond with the four layers that make up the TCP/IP
protocol.
The TCP layer packages the data into packets. A header that’s added to the data includes
source and destination addresses, a sequence number, an acknowledgment num ber, a
check sum for error detection and correction, and some other information (Fig. 3). The
header is 20 octets (octet = 8 bits) grouped in 32-bit increments. These bits are
transmitted from left to right and top to bottom.
my contact informa tion to commun icate wi th
me a bout Penton's or its third-party partn ers'
products, services, even ts and research
opportunities. Penton's use of the information I
prov ide will be consistent with Pent on's Privacy
Policy .
SUBSCRIBE
Webcasts
Connecting with Panasonic Bluetooth® RF
Modules
MIPI Physical Layer Transmitter Test Solutions
Vie w A ll
White Papers
Generate complex, long waveforms with the
highest signal fidelity
Potting Compounds Protect Electronic Circuits
Vie w A ll
Connect With Us
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 4/7
3. The header is added and then removed during the encapsulation and de-encapsulation of the packet
data at the TCP layer.
At the receiving end of the link, TCP reassembles the packets in the correct order and
routes them up the stack to the application. TCP can retransmit a packet if an error
occurs. In any case, TCP’s main job is just to pack and unpack the data and provide some
assurance of the reliable transmission of error-free data. The I P layer actually transmits
the TCP packet.
The IP layer transmits the data over the physical-layer connection. IP adds its own
header to the packet (Fig. 4). The header comprises 32 octets again grouped in 32-bit
words. Note the 32-bit source and destination addresses. These are the well-known IP
addresses that we see in dotted decimal format (e.g., 197.45.204.36) where each 8-bit
octet is expressed in its decimal value. This is the address assigned to the device by the
Internet Assigned Numbers Authority (IANA).
4. The IPv4 header is used during the Internet Protocol process in data transmission. Note the 32-bit
source and destination addresses .
The header in Figure 4 is that used in IP version 4 (IPv4). Since the IANA has run out of
32-bit addresses (232 of them!), a newer version is rapidly being adopted. IPv6 uses 128-
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 5/7
Tweet
bit addresses (Fig. 5). With 21 28 addresses, there should be enough for all of the planet’s
computers, tablets, and smart phones as well as all of the devices that m ay be connected
to form the so-called Internet of Things (IoT).
5. The new IPv6 header for the Internet Protocol is similar to IPv4 but uses 128-bit source and destination
addresses.
Once the IP header is added to the data, it is transferred to the Network Access layer. This
layer repackages the data again into Ethernet packets or some other protocol for final
physical transmission. The Ethernet packets are then reconfigured again for transmission
over a DSL or cable TV connection or over a wide-area network using Sonet or optical
transport network (OTN).
Summary
TCP/IP is the older of the two approaches to data communications and is well established
throughout the world. The OSI model, however, is a proven concept that is used in all
other data communications protocols. It w ill continue to be used as a guideline for all
other communications applications.
References
Frenzel, Louis E., Principles of Electronic Communication Systems, 3rd edition, McGraw
Hill, 2008.
Russell, Andrew, “The Internet That Wasn’t,” IEEE Spectrum, August 2013
Stewart, Michael Stewart, Foundational Focus: OSI Mode –Breaking Down the Seven
Layers, Global Knowledge Training LLC, 2013.
Simoneau, Paul, The TCP/IP and OSI Models, Global Knowledge Training LLC, 2011.
Discuss this Article 2
SHARE 1Recommend
Kanhu on Jan 9, 201 4
Login or register t o post comm ents
It is a good topic for the network engineers.
apak on Feb 6, 201 4
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 6/7
Site Features
Newsletters
RSS
Site Archiv e
Sitemap
Submit Articles
View Mo bile Site
Penton Corporate
About Us
Privacy Policy
Term s of Service
Contact Us
Follow Us
Search ElectronicDesign.com
Microwaves & RF Defense Electronics Engineering TV Global Purchasing Source ESB Power Electronics
ElectronicDesign.com
Technologies News Markets Learning Resources Community Companies Part Search
Electronic Design Related Sites
G0
E-MAIL:
COUNTRY:
Please Log In or Register to post comments.
Related Articles
Ethernet Chip Packs Hardwired TCP/IP Core And PHY
Many Core Systems Handle Network Processing Chores
What’s The Difference Betwe en Sa tellite Radio And HD Radio? 3
What’s The Difference Betwe en A Dipole And A Ground Plane Antenna? 6
What’s the Difference Between 3G and 4G Cellular Systems? 10
Search Parts
powered by:
Newsletter Signup
Sign-up to receive our free newsletters
UNITED STATES
By clicking below, I acknowledge and ag ree to Penton's Terms of Serv ice an d to Penton's use of my
contact information to commu nicate w ith m e about Penton's or its third-party partn ers' products,
services, ev ents and r esearch opportun ities. Penton's use of the inform ation I provide will be
consistent with Penton's Privacy Policy .
SUBSCRIBE
Login or register t o post comm ents
Thanks for useful co ntent
8/12/2019 OSI Networking Model, TCP_IP _ What’s the Difference Between… Content From Electronic Design
http://slidepdf.com/reader/full/osi-networking-model-tcpip-whats-the-difference-between-content-from 7/7
Copy right © 201 4 Penton