SlideShare a Scribd company logo
1 of 43
The OSI Model , TCP/IPThe OSI Model , TCP/IP
Protocol Suite and IPProtocol Suite and IP
AdAdddressingressing
By:
Marwan Majeed Nayyfe
DR.abd alkareem
Alanbar Univercity
Contents
 The OSImo del
 Layers in the OSI Model
 Organization of the Layers in OSI
 TCP/IP Protocol Suite
 Comparison between OSI and TCP/IP Protocol Suite
 Relationship of layers and addresses inTCP/IP
 Addressing
 Summery
The OSImo del
 International Standards Organization (ISO) is a multinational body
dedicated to worldwide agreement on international standards. . It was first
introduced in the late 1970s.
 An ISO standard that covers all aspects of network communications is the
Open Systems Interconnection (OSI) model
 OSIOSI stands for Open Systems Interconnection
 Created by International Standards Organization
 open system is a set of protocols that allows any two different systems to
communicate regardless of their underlying architecture.
The main purpose of the OSI model : Is to show how to facilitate
communication between different systems without requiring
changes to the logic of the underlying hardware and software
The Layers OSImo del
 The OSI model is composed of seven ordered layers:
physical (layer 1), data link(layer 2), network (layer 3), transport (layer 4),
session (layer 5), presentation (layer 6),and application (layer 7)
 Headers are added to the data at layers 6, 5, 4, 3, and 2. Trailers are
usually added only at layer 2.
The job of OSI model is travels message from source-to-destination , it
may pass through many intermediate nodes. These intermediate nodes
usually involve on the first three layers of the OSI model
The Organizatio n OF OSIlayers
Figure 1.2
An exchange using the OSI model
1.PhysicalLayer
1.Physical Layer : coordinates the functions required to carry a bit stream over a
physical medium. It deals with the mechanical and electrical specifications of the
interface and transmission media. show in figure 1.3
The physical layer is also concerned with the following:
 Physical characteristics of interfaces and media:It defines characterstics of
interface between two devices
 Representation of bits. Represent by (0 s&1 s)
 Data rate :the number of bits sent each second .
 Synchronization of bits:the sender and receiver not use the same bit rate
 but also must be synchronized at the bit level
 Line confiuration :concerned with the connection of devices to the media. In a
point-to-point configuration, multipoint configuration
 Physical topology : show in figure 1.4
 Transmission mode : show in figure 1.5
The main purpose :The physical layer is responsible for the movement of
individual bits from one hop (node) to the next.
Physical Layer
Figure 1.3
Figure 1.4 Figure 1.5
Figure 1.5
Data Link Layer
Other responsibilities of the data link layer include the following :
 Framing: divides the stream of bits into manageable data called frames.
 Physical addressing :Add header to the frame to define the sender and/or
receiver of the frame.
 Flow control: regulates the amount of data that can be transmitted at one time
 Error control: achieved through a trailer added to the end of the frame to detect and
retransmit damaged or lost frames.
 Access control: used for determining the sequence of device at access time.
The main purpose : The data link layer is responsible for moving frames from
one hop (node) to the next.
Data Link Layer
Figure 1.6
Netwo rk Layer
Other responsibilities of the network layer include the following:
 Logical addressing. packet passes the network boundary.we need another
addressing system to help distinguish the source and destination systems.
 Routing: When independent networks or links are connected together to create
internetworks (network of networks)the connecting devices or a large
network(called routers or switches) route or switch the packets to their final
destination.
 Show in figure 1.7
The main purpose : it is responsible for the delivery of individual
packets from the source host to the destination host. When the two
systems are attached to different networks
Netwo rk Layer
Figure 1.7
Transport Layer
Other responsibilities of the transport layer include the following
 Service-point addressing. the transport layer gets the entire message to the correct
process on that computer.
 Segmentation and reassembly. A message is divided into transmittable segments,
with each segment containing a sequence number. These numbers enable the
transport layer to reassemble the message correctly upon arriving at the
destination
 Connection control. The transport layer can be either connectionless UDP or
Connection oriented TCP .
 Flow control. flow control at this layer is performed end to end rather than across
a single link. regulates the amount of data that can be transmited at one time
 Error control. The sending transport layer makes sure that the entire message
arrives at the receiving transport layer without error (damage, loss, or
duplication). Error correction is usually achieved through retransmission.
The transport layer it is responsible for process-to-process delivery of the
entire message and error recovery
Session Layer
Specific responsibilities of the session layer include the following:
 Dialog control. It to allows the communication between two processes: take
place in either half duplex (one way at a time) or full-duplex (two ways at
time) mode
 Synchronization. The session layer allows a process to add checkpoints
(synchronization points) into a stream of data. For example, if a system is
sending a file of 2,000 pages, it is advisable to insert checkpoints after every 100
pages to ensure that each 100-page unit is received and acknowledged
independently.
session layer is the network dialog controller. It establishes, maintains, and
synchronizes the interaction between communicating systems.
Presentation Layer

Specific responsibilities of the presentation layer include the following:
 Translation . The processes (running programs) in two systems are usually
exchanging information in the form of character strings, numbers, and so on.
Because different computers use different encoding systems.
 Encryption. To carry sensitive information a system must be able to assure privacy.
 Compression. Data compression reduces the number of bits contained in the
information. such as text, audio, and video.
The presentation layer is concerned with the syntax and semantics
of the information exchanged between two systems
Application Layer
Specific services provided by the application layer include the following:
 Network virtual terminal. It is a software version of a physical terminal and
allows a user to log on to a remote host
 File transfer, access, and management (FTAM). This application allows a user to
access files in a remote host (to make changes or read data.
 E-mail services. This application provides the basis for e-mail forwarding and
storage.
 Directory services. This application provides distributed database sources and
access for global information about various objects and services.
The main purpose :. It provides user interfaces and support for services
such as electronic mail, remote file access and transfer and other types
of distributed information services.
TCP/IP Protocol Suite
The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the
layers in the TCP/IP protocol suite do not match exactly with those in the OSI
model. The original TCP/IP protocol suite was defined as four software layers
built upon the hardware. Today, however, TCP/IP is thought of as a five-layer
model with the layers named similarly to the ones in the OSI model.
The topics that well be discussed:
Physical Layers
Data link layer
Network Layer
Transport Layer
Application Layer
TCP/IP Protocol Suite
Physical LayerPhysical Layer
 It supports all of the standard and proprietary protocols.
 At this level, the communication is between two hops or nodes, either a
computer or router.
 The unit of communication is a single bit.
 When the connection is established between the two nodes, a stream of
bits is flowing between them.
 The physical layer, however, treats each bit individually
TCP/IP Protocol Suite
TCP/IP Protocol Suite
Data Link Layer
TCP/IP does not define any specific protocol for the data link layer either.
It supports all of the standard and proprietary protocols. At this level, the
communication is also between two hops or nodes. The unit of
communication however, is a packet called frame. A frame is a packet
that encapsulates the data received from the network layer with an
added header and sometimes a trailer.
The head, among other communication information, includes the source and
destination of frame. The destination address is needed to define the right
recipient of the frame because many nodes may have been connected to the
link. The source address is needed for possible response or acknowledgment
as may be required by some protocols. Figure 1.11 shows the communication
at the data link layer
m
TCP/IP Protocol Suite
Network LayerNetwork Layer
At the network layer (or, more accurately, the internetwork layer), TCP/IP
supports the Internet Protocol (IP). The Internet Protocol (IP) is the
transmission mechanism used by the TCP/IP protocols. IP transports data in
packets called datagram's, each of which is transported separately.
Datagrams can travel along different routes and can arrive out of sequence
or be duplicated. IP does not keep track of the routes and has no facility for
reordering datagrams once they arrive at their destination. Figure 1.10
shows the communication at the network layer.
The network layer is responsible for sending individual datagrams from
computer A to B.
TCP/IP Protocol Suite
Transport Layer
 There is a main difference between the transport layer and the network layer.
Although all nodes in a network need to have the network layer, only the two end
computers need to have the transport layer.the transport layer is responsible for
delivering the whole message, which is called a segment,
 the transport layer was represented in the TCP/IP suite by two protocols:
User Datagram Protocol (UDP) and Transmission Control Protocol (TCP).
 The unit of communication at the transport layer is a segment, user datagram,
or a packet, depending on the specific protocol used in this layer.
TCP/IP Protocol Suite
Application LayerApplication Layer
It is combination of application ,presentation and session layer of OSI model .
 this layer provided various services to different user application.
 It is include high level protocol that are used for wide verity application like:
 TELNET(Terminal Network) : used for remote login.
 FTP(File Transfer Protocol) : used for transfer of file from one system to
another.
 HTTP(Hyper Text Transfer Protocol)|: for fetching web pages on WWW
The unit of communication at the application layer is a message show in Figure
1.12
Comparison between OSI and TCP/IP Protocol SuiteComparison between OSI and TCP/IP Protocol Suite
 OSI model has seven layer.
 In TCP/IP we find that two layers, session and presentation, are missing.
 OSI model provide clear destination between services , interface and protocol.
 TCP/IP doesn’t provide clear destination between services , interface and protocol.
 In OSI transport layer is connection oriented.
 In TCP/IP transport layer is both connection oriented and connectionless.
 . Protocol do not fit well into OSI model .
 Protocol fit well in TCP/IP model.
 Minimum size of OSI header is 5 bytes.
 In TCP/IP minimum size of the header is 20 bytes.
Comparison between OSI and TCP/IP Protocol SuiteComparison between OSI and TCP/IP Protocol Suite
Figure 1.12
Relationship of layers and addresses in TCP/IPRelationship of layers and addresses in TCP/IP
Figure 1.13
AddressingAddressing
there are four type of addresses are used in an internet employing the TCP/IP
protocols: physical address, logical address, port address, and application-
specific address. Each address is related to a one layer in the TCP/IP
architecture . show in this figure
AddressingAddressing
Physical Addresses
 The physical address, also known as the link address, is the address of a node as
defined by its LAN or WAN. It is included in the frame used by the data link layer.
It is the lowest-level address. The physical addresses have authority over the link
(LAN or WAN). The size and format of these addresses vary depending on the
network. For example, Ethernet uses a 6-byte (48-bit) physical address.
 Physical addresses can be either unicast (one single recipient), multicast (a group
of recipients), or broadcast (to be received by all systems in the network.
Example 1 :
Most local area networks use a 48-bit (6-byte) physical address written as 12
hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as
shown below:
A 6-byte (12 hexadecimal digits) physical address
07:01:02:01:2C:4B
Physical Addresses
Example 2: in figure 1.15 a node with physical address 10 sends a frame to a
node with physical address 87. The two nodes are connected by a link. At the data link
level this frame contains physical (link) addresses in the header. These are the only
addresses needed. The rest of the header contains other information needed at this
level. The trailer usually contains extra bits needed for error detection.
AddressingAddressing
2.Logical Addresses
 Logical addresses are used by networking software to allow packets to be
independent of the physical connection of the network, that is, to work with different
network topologies and types of media
 A logical address in the Internet is currently a 32-bit address that can uniquely
define a host connected to the Internet. An internet address in IPv4 in decimal
numbers  132.24.75.9
 No two publicly addressed and visible hosts on the Internet can have the same IP
address.
 The physical addresses will change from hop to hop, but the logical addresses
remain the same
Example 3
 The computer with logical address A and physical address 10 needs to
send a packet to the computer with logical address P and physical address
95. We use letters to show the logical addresses and numbers for physical
addresses. The sender encapsulates its data in a packet at the network layer
and adds two logical addresses (A and P) remain the same from the
original source to the final destination. They will not change when we go
from network to network. However, the physical addresses will change as
the packet moves from one network to another.
 The router decapsulates the packet from the frame to read the logical
destination address P.
 The destination logical address P matches the logical address of the
computer. Show in figure 1.16
AddressingAddressing
3.Port Addresses
 There are many application running on the computer. Each application run with a
port no.(logically) on the computer.
 A port number is part of the addressing information used to identify the senders
and receivers of messages.
 Port numbers are most commonly used with TCP/IP connections.
 These port numbers allow different applications on the same computer to share
network resources simultaneously.
 The physical addresses change from hop to hop, but the logical and port
addresses usually remain the same.
Example 3
 Example of transport layer communication. Data coming from the
upperlayers have port addresses j and k ( j is the address of the
sending process, and k is the address of the receiving process). Since
the data size is larger than the network layer can handle, the data are
split into two packets, each packet retaining the service-point
addresses ( j and k). Then in the network layer, network addresses (A
and P) are added to each packet.
 The packets can travel on different paths and arrive at the destination
either in order or out of order. The two packets are delivered to the
destination transport layer, which is responsible for removing the
network layer headers and combining the two pieces of data for
delivery to the upper layers.
AddressingAddressing
44..Application-Specific AddressesApplication-Specific Addresses
Some applications have user-friendly addresses that are designed for that
specific application. Examples include the e-mail address (for example,
forouzan@fhda.edu) and the Universal Resource Locator (URL) (for
example, www.mhhe.com). The first defines the recipient of an e-mail; the
second is used to find a document on the World Wide Web. These addresses,
however, get changed to the corresponding port and logical addresses by the
sending computer
SummarySummary
OSIOSI
 The International Standards Organization (ISO) created a model called the Open
Systems Interconnection (OSI), which allows diverse systems to communicate. The
seven-layer OSI model provides guidelines for the development of universally
compatible networking protocols. The physical, data link, and network layers are the
network support layers. The session, presentation, and application layers are the user
support layers. The transport layer links the network support layers and the user
support layers.
 The physical layer coordinates the functions required to transmit a bit stream over a
physical medium. The data link layer is responsible for delivering data units
TCPIPTCPIP
 The Application layer of the TCP/IP Model encompasses the same functions as the
Application, Presentation, and Session layers of the OSI Model.
 The Transport layer of the TCP/IP Model functions the same as the Transport layer in
OSI Model and part of Session layer.
 The Internet of layer of the TCP/IP Model Performs the same functions as the OSI
Model Network layer and many of the functions of the LLC sub layer of the OSI
Model Data Link layer.
SummarySummary
fig
m

More Related Content

What's hot

Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network LayerManoj Kumar
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11Shreejan Acharya
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer networkmiteshppt
 
Congestion control
Congestion controlCongestion control
Congestion controlAman Jaiswal
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesSayed Chhattan Shah
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applicationsjajinekkanti
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPMukesh Chinta
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IPMichael Lamont
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)Ramola Dhande
 

What's hot (20)

IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
TCP IP Model | Computer Science
TCP IP Model | Computer ScienceTCP IP Model | Computer Science
TCP IP Model | Computer Science
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
Presentation on arp protocol
Presentation on arp protocolPresentation on arp protocol
Presentation on arp protocol
 
osi vs tcp/ip
osi vs tcp/iposi vs tcp/ip
osi vs tcp/ip
 
Congestion control
Congestion controlCongestion control
Congestion control
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
WLAN
WLANWLAN
WLAN
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applications
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IP
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Introduction to TCP/IP
Introduction to TCP/IPIntroduction to TCP/IP
Introduction to TCP/IP
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 

Similar to Osi , tcp/ip protocol and Addressing

Similar to Osi , tcp/ip protocol and Addressing (20)

Chapeter 2
Chapeter 2Chapeter 2
Chapeter 2
 
Computer networking
Computer networkingComputer networking
Computer networking
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 
Ch 2 network
Ch 2 networkCh 2 network
Ch 2 network
 
OSI Pankaj yadav
OSI  Pankaj yadavOSI  Pankaj yadav
OSI Pankaj yadav
 
computer network OSI layer
computer network OSI layercomputer network OSI layer
computer network OSI layer
 
Osi model
Osi modelOsi model
Osi model
 
Topology Chapter 2.pptx
Topology Chapter 2.pptxTopology Chapter 2.pptx
Topology Chapter 2.pptx
 
OSI Model
OSI ModelOSI Model
OSI Model
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
OSI &TCP/IP Model
OSI &TCP/IP ModelOSI &TCP/IP Model
OSI &TCP/IP Model
 
COMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IPCOMPUTER NETWORK_OSI & TCP/IP
COMPUTER NETWORK_OSI & TCP/IP
 
OSI and TCP/IP Model
OSI and TCP/IP ModelOSI and TCP/IP Model
OSI and TCP/IP Model
 
Osi model
Osi modelOsi model
Osi model
 
OSI MODEL AND ITS LAYERS FUNCTION
OSI  MODEL AND ITS LAYERS FUNCTIONOSI  MODEL AND ITS LAYERS FUNCTION
OSI MODEL AND ITS LAYERS FUNCTION
 
Computer Network Unit-1 ppt
Computer Network Unit-1 pptComputer Network Unit-1 ppt
Computer Network Unit-1 ppt
 
OSI 7 layer Architecture and explain the functions of each layer
OSI 7 layer Architecture and explain the functions of each layerOSI 7 layer Architecture and explain the functions of each layer
OSI 7 layer Architecture and explain the functions of each layer
 
OSI reference Model
OSI reference ModelOSI reference Model
OSI reference Model
 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
 
CN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.pptCN unit 1 part 2 2023.ppt
CN unit 1 part 2 2023.ppt
 

Recently uploaded

Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 

Recently uploaded (20)

Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 

Osi , tcp/ip protocol and Addressing

  • 1. The OSI Model , TCP/IPThe OSI Model , TCP/IP Protocol Suite and IPProtocol Suite and IP AdAdddressingressing By: Marwan Majeed Nayyfe DR.abd alkareem Alanbar Univercity
  • 2. Contents  The OSImo del  Layers in the OSI Model  Organization of the Layers in OSI  TCP/IP Protocol Suite  Comparison between OSI and TCP/IP Protocol Suite  Relationship of layers and addresses inTCP/IP  Addressing  Summery
  • 3. The OSImo del  International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. . It was first introduced in the late 1970s.  An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model  OSIOSI stands for Open Systems Interconnection  Created by International Standards Organization  open system is a set of protocols that allows any two different systems to communicate regardless of their underlying architecture. The main purpose of the OSI model : Is to show how to facilitate communication between different systems without requiring changes to the logic of the underlying hardware and software
  • 4. The Layers OSImo del  The OSI model is composed of seven ordered layers: physical (layer 1), data link(layer 2), network (layer 3), transport (layer 4), session (layer 5), presentation (layer 6),and application (layer 7)  Headers are added to the data at layers 6, 5, 4, 3, and 2. Trailers are usually added only at layer 2. The job of OSI model is travels message from source-to-destination , it may pass through many intermediate nodes. These intermediate nodes usually involve on the first three layers of the OSI model
  • 5.
  • 6. The Organizatio n OF OSIlayers Figure 1.2
  • 7. An exchange using the OSI model
  • 8. 1.PhysicalLayer 1.Physical Layer : coordinates the functions required to carry a bit stream over a physical medium. It deals with the mechanical and electrical specifications of the interface and transmission media. show in figure 1.3 The physical layer is also concerned with the following:  Physical characteristics of interfaces and media:It defines characterstics of interface between two devices  Representation of bits. Represent by (0 s&1 s)  Data rate :the number of bits sent each second .  Synchronization of bits:the sender and receiver not use the same bit rate  but also must be synchronized at the bit level  Line confiuration :concerned with the connection of devices to the media. In a point-to-point configuration, multipoint configuration  Physical topology : show in figure 1.4  Transmission mode : show in figure 1.5 The main purpose :The physical layer is responsible for the movement of individual bits from one hop (node) to the next.
  • 9. Physical Layer Figure 1.3 Figure 1.4 Figure 1.5 Figure 1.5
  • 10. Data Link Layer Other responsibilities of the data link layer include the following :  Framing: divides the stream of bits into manageable data called frames.  Physical addressing :Add header to the frame to define the sender and/or receiver of the frame.  Flow control: regulates the amount of data that can be transmitted at one time  Error control: achieved through a trailer added to the end of the frame to detect and retransmit damaged or lost frames.  Access control: used for determining the sequence of device at access time. The main purpose : The data link layer is responsible for moving frames from one hop (node) to the next.
  • 12. Netwo rk Layer Other responsibilities of the network layer include the following:  Logical addressing. packet passes the network boundary.we need another addressing system to help distinguish the source and destination systems.  Routing: When independent networks or links are connected together to create internetworks (network of networks)the connecting devices or a large network(called routers or switches) route or switch the packets to their final destination.  Show in figure 1.7 The main purpose : it is responsible for the delivery of individual packets from the source host to the destination host. When the two systems are attached to different networks
  • 14. Transport Layer Other responsibilities of the transport layer include the following  Service-point addressing. the transport layer gets the entire message to the correct process on that computer.  Segmentation and reassembly. A message is divided into transmittable segments, with each segment containing a sequence number. These numbers enable the transport layer to reassemble the message correctly upon arriving at the destination  Connection control. The transport layer can be either connectionless UDP or Connection oriented TCP .  Flow control. flow control at this layer is performed end to end rather than across a single link. regulates the amount of data that can be transmited at one time  Error control. The sending transport layer makes sure that the entire message arrives at the receiving transport layer without error (damage, loss, or duplication). Error correction is usually achieved through retransmission. The transport layer it is responsible for process-to-process delivery of the entire message and error recovery
  • 15. Session Layer Specific responsibilities of the session layer include the following:  Dialog control. It to allows the communication between two processes: take place in either half duplex (one way at a time) or full-duplex (two ways at time) mode  Synchronization. The session layer allows a process to add checkpoints (synchronization points) into a stream of data. For example, if a system is sending a file of 2,000 pages, it is advisable to insert checkpoints after every 100 pages to ensure that each 100-page unit is received and acknowledged independently. session layer is the network dialog controller. It establishes, maintains, and synchronizes the interaction between communicating systems.
  • 16. Presentation Layer  Specific responsibilities of the presentation layer include the following:  Translation . The processes (running programs) in two systems are usually exchanging information in the form of character strings, numbers, and so on. Because different computers use different encoding systems.  Encryption. To carry sensitive information a system must be able to assure privacy.  Compression. Data compression reduces the number of bits contained in the information. such as text, audio, and video. The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems
  • 17. Application Layer Specific services provided by the application layer include the following:  Network virtual terminal. It is a software version of a physical terminal and allows a user to log on to a remote host  File transfer, access, and management (FTAM). This application allows a user to access files in a remote host (to make changes or read data.  E-mail services. This application provides the basis for e-mail forwarding and storage.  Directory services. This application provides distributed database sources and access for global information about various objects and services. The main purpose :. It provides user interfaces and support for services such as electronic mail, remote file access and transfer and other types of distributed information services.
  • 18. TCP/IP Protocol Suite The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the layers in the TCP/IP protocol suite do not match exactly with those in the OSI model. The original TCP/IP protocol suite was defined as four software layers built upon the hardware. Today, however, TCP/IP is thought of as a five-layer model with the layers named similarly to the ones in the OSI model. The topics that well be discussed: Physical Layers Data link layer Network Layer Transport Layer Application Layer
  • 19. TCP/IP Protocol Suite Physical LayerPhysical Layer  It supports all of the standard and proprietary protocols.  At this level, the communication is between two hops or nodes, either a computer or router.  The unit of communication is a single bit.  When the connection is established between the two nodes, a stream of bits is flowing between them.  The physical layer, however, treats each bit individually
  • 21. TCP/IP Protocol Suite Data Link Layer TCP/IP does not define any specific protocol for the data link layer either. It supports all of the standard and proprietary protocols. At this level, the communication is also between two hops or nodes. The unit of communication however, is a packet called frame. A frame is a packet that encapsulates the data received from the network layer with an added header and sometimes a trailer. The head, among other communication information, includes the source and destination of frame. The destination address is needed to define the right recipient of the frame because many nodes may have been connected to the link. The source address is needed for possible response or acknowledgment as may be required by some protocols. Figure 1.11 shows the communication at the data link layer
  • 22. m
  • 23. TCP/IP Protocol Suite Network LayerNetwork Layer At the network layer (or, more accurately, the internetwork layer), TCP/IP supports the Internet Protocol (IP). The Internet Protocol (IP) is the transmission mechanism used by the TCP/IP protocols. IP transports data in packets called datagram's, each of which is transported separately. Datagrams can travel along different routes and can arrive out of sequence or be duplicated. IP does not keep track of the routes and has no facility for reordering datagrams once they arrive at their destination. Figure 1.10 shows the communication at the network layer. The network layer is responsible for sending individual datagrams from computer A to B.
  • 24.
  • 25. TCP/IP Protocol Suite Transport Layer  There is a main difference between the transport layer and the network layer. Although all nodes in a network need to have the network layer, only the two end computers need to have the transport layer.the transport layer is responsible for delivering the whole message, which is called a segment,  the transport layer was represented in the TCP/IP suite by two protocols: User Datagram Protocol (UDP) and Transmission Control Protocol (TCP).  The unit of communication at the transport layer is a segment, user datagram, or a packet, depending on the specific protocol used in this layer.
  • 26. TCP/IP Protocol Suite Application LayerApplication Layer It is combination of application ,presentation and session layer of OSI model .  this layer provided various services to different user application.  It is include high level protocol that are used for wide verity application like:  TELNET(Terminal Network) : used for remote login.  FTP(File Transfer Protocol) : used for transfer of file from one system to another.  HTTP(Hyper Text Transfer Protocol)|: for fetching web pages on WWW The unit of communication at the application layer is a message show in Figure 1.12
  • 27.
  • 28. Comparison between OSI and TCP/IP Protocol SuiteComparison between OSI and TCP/IP Protocol Suite  OSI model has seven layer.  In TCP/IP we find that two layers, session and presentation, are missing.  OSI model provide clear destination between services , interface and protocol.  TCP/IP doesn’t provide clear destination between services , interface and protocol.  In OSI transport layer is connection oriented.  In TCP/IP transport layer is both connection oriented and connectionless.  . Protocol do not fit well into OSI model .  Protocol fit well in TCP/IP model.  Minimum size of OSI header is 5 bytes.  In TCP/IP minimum size of the header is 20 bytes.
  • 29. Comparison between OSI and TCP/IP Protocol SuiteComparison between OSI and TCP/IP Protocol Suite Figure 1.12
  • 30. Relationship of layers and addresses in TCP/IPRelationship of layers and addresses in TCP/IP Figure 1.13
  • 31. AddressingAddressing there are four type of addresses are used in an internet employing the TCP/IP protocols: physical address, logical address, port address, and application- specific address. Each address is related to a one layer in the TCP/IP architecture . show in this figure
  • 32. AddressingAddressing Physical Addresses  The physical address, also known as the link address, is the address of a node as defined by its LAN or WAN. It is included in the frame used by the data link layer. It is the lowest-level address. The physical addresses have authority over the link (LAN or WAN). The size and format of these addresses vary depending on the network. For example, Ethernet uses a 6-byte (48-bit) physical address.  Physical addresses can be either unicast (one single recipient), multicast (a group of recipients), or broadcast (to be received by all systems in the network. Example 1 : Most local area networks use a 48-bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below: A 6-byte (12 hexadecimal digits) physical address 07:01:02:01:2C:4B
  • 33. Physical Addresses Example 2: in figure 1.15 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link. At the data link level this frame contains physical (link) addresses in the header. These are the only addresses needed. The rest of the header contains other information needed at this level. The trailer usually contains extra bits needed for error detection.
  • 34. AddressingAddressing 2.Logical Addresses  Logical addresses are used by networking software to allow packets to be independent of the physical connection of the network, that is, to work with different network topologies and types of media  A logical address in the Internet is currently a 32-bit address that can uniquely define a host connected to the Internet. An internet address in IPv4 in decimal numbers  132.24.75.9  No two publicly addressed and visible hosts on the Internet can have the same IP address.  The physical addresses will change from hop to hop, but the logical addresses remain the same
  • 35. Example 3  The computer with logical address A and physical address 10 needs to send a packet to the computer with logical address P and physical address 95. We use letters to show the logical addresses and numbers for physical addresses. The sender encapsulates its data in a packet at the network layer and adds two logical addresses (A and P) remain the same from the original source to the final destination. They will not change when we go from network to network. However, the physical addresses will change as the packet moves from one network to another.  The router decapsulates the packet from the frame to read the logical destination address P.  The destination logical address P matches the logical address of the computer. Show in figure 1.16
  • 36.
  • 37. AddressingAddressing 3.Port Addresses  There are many application running on the computer. Each application run with a port no.(logically) on the computer.  A port number is part of the addressing information used to identify the senders and receivers of messages.  Port numbers are most commonly used with TCP/IP connections.  These port numbers allow different applications on the same computer to share network resources simultaneously.  The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.
  • 38. Example 3  Example of transport layer communication. Data coming from the upperlayers have port addresses j and k ( j is the address of the sending process, and k is the address of the receiving process). Since the data size is larger than the network layer can handle, the data are split into two packets, each packet retaining the service-point addresses ( j and k). Then in the network layer, network addresses (A and P) are added to each packet.  The packets can travel on different paths and arrive at the destination either in order or out of order. The two packets are delivered to the destination transport layer, which is responsible for removing the network layer headers and combining the two pieces of data for delivery to the upper layers.
  • 40. 44..Application-Specific AddressesApplication-Specific Addresses Some applications have user-friendly addresses that are designed for that specific application. Examples include the e-mail address (for example, forouzan@fhda.edu) and the Universal Resource Locator (URL) (for example, www.mhhe.com). The first defines the recipient of an e-mail; the second is used to find a document on the World Wide Web. These addresses, however, get changed to the corresponding port and logical addresses by the sending computer
  • 41. SummarySummary OSIOSI  The International Standards Organization (ISO) created a model called the Open Systems Interconnection (OSI), which allows diverse systems to communicate. The seven-layer OSI model provides guidelines for the development of universally compatible networking protocols. The physical, data link, and network layers are the network support layers. The session, presentation, and application layers are the user support layers. The transport layer links the network support layers and the user support layers.  The physical layer coordinates the functions required to transmit a bit stream over a physical medium. The data link layer is responsible for delivering data units TCPIPTCPIP  The Application layer of the TCP/IP Model encompasses the same functions as the Application, Presentation, and Session layers of the OSI Model.  The Transport layer of the TCP/IP Model functions the same as the Transport layer in OSI Model and part of Session layer.  The Internet of layer of the TCP/IP Model Performs the same functions as the OSI Model Network layer and many of the functions of the LLC sub layer of the OSI Model Data Link layer.
  • 43. m