SlideShare a Scribd company logo
1 of 41
2.1
Chapter 2
Network Models
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.2
2-1 LAYERED TASKS2-1 LAYERED TASKS
We use the concept ofWe use the concept of layerslayers in our daily life. As anin our daily life. As an
example, let us consider two friends who communicateexample, let us consider two friends who communicate
through postal mail. The process of sending a letter to athrough postal mail. The process of sending a letter to a
friend would be complex if there were no servicesfriend would be complex if there were no services
available from the post office.available from the post office.
Sender, Receiver, and Carrier
Hierarchy
Topics discussed in this section:Topics discussed in this section:
2.3
Figure 2.1 Tasks involved in sending a letter
2.4
2-2 THE OSI MODEL2-2 THE OSI MODEL
Established in 1947, the International StandardsEstablished in 1947, the International Standards
Organization (Organization (ISOISO) is a multinational body dedicated to) is a multinational body dedicated to
worldwide agreement on international standards. An ISOworldwide agreement on international standards. An ISO
standard that covers all aspects of networkstandard that covers all aspects of network
communications is the Open Systems Interconnectioncommunications is the Open Systems Interconnection
((OSIOSI) model. It was first introduced in the late 1970s.) model. It was first introduced in the late 1970s.
Layered Architecture
Peer-to-Peer Processes
Encapsulation
Topics discussed in this section:Topics discussed in this section:
2.5
ISO is the organization.
OSI is the model.
Note
2.6
Figure 2.2 Seven layers of the OSI model
2.7
Figure 2.3 The interaction between layers in the OSI model
2.8
Figure 2.4 An exchange using the OSI model
2.9
2-3 LAYERS IN THE OSI MODEL2-3 LAYERS IN THE OSI MODEL
In this section we briefly describe the functions of eachIn this section we briefly describe the functions of each
layer in the OSI model.layer in the OSI model.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer
Topics discussed in this section:Topics discussed in this section:
2.10
Figure 2.5 Physical layer
2.11
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Note
2.12
Figure 2.6 Data link layer
2.13
The data link layer is responsible for moving
frames from one hop (node) to the next.
Note
2.14
Figure 2.7 Hop-to-hop delivery
2.15
Figure 2.8 Network layer
2.16
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Note
2.17
Figure 2.9 Source-to-destination delivery
2.18
Figure 2.10 Transport layer
2.19
The transport layer is responsible for the delivery
of a message from one process to another.
Note
2.20
Figure 2.11 Reliable process-to-process delivery of a message
2.21
Figure 2.12 Session layer
2.22
The session layer is responsible for dialog
control and synchronization.
Note
2.23
Figure 2.13 Presentation layer
2.24
The presentation layer is responsible for translation,
compression, and encryption.
Note
2.25
Figure 2.14 Application layer
2.26
The application layer is responsible for
providing services to the user.
Note
2.27
Figure 2.15 Summary of layers
2.28
2-4 TCP/IP PROTOCOL SUITE2-4 TCP/IP PROTOCOL SUITE
The layers in theThe layers in the TCP/IP protocol suiteTCP/IP protocol suite do not exactlydo not exactly
match those in the OSI model. The original TCP/IPmatch those in the OSI model. The original TCP/IP
protocol suite was defined as having four layers:protocol suite was defined as having four layers: host-to-host-to-
networknetwork,, internetinternet,, transporttransport, and, and applicationapplication. However,. However,
when TCP/IP is compared to OSI, we can say that thewhen TCP/IP is compared to OSI, we can say that the
TCP/IP protocol suite is made of five layers:TCP/IP protocol suite is made of five layers: physicalphysical,,
data linkdata link,, networknetwork,, transporttransport, and, and applicationapplication..
Physical and Data Link Layers
Network Layer
Transport Layer
Application Layer
Topics discussed in this section:Topics discussed in this section:
2.29
Figure 2.16 TCP/IP and OSI model
2.30
2-5 ADDRESSING2-5 ADDRESSING
Four levels of addresses are used in an internet employingFour levels of addresses are used in an internet employing
the TCP/IP protocols:the TCP/IP protocols: physicalphysical,, logicallogical,, portport, and, and specificspecific..
Physical Addresses
Logical Addresses
Port Addresses
Specific Addresses
Topics discussed in this section:Topics discussed in this section:
2.31
Figure 2.17 Addresses in TCP/IP
2.32
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.33
In Figure 2.19 a node with physical address 10 sends a
frame to a node with physical address 87. The two nodes
are connected by a link (bus topology LAN). As the
figure shows, the computer with physical address 10 is
the sender, and the computer with physical address 87 is
the receiver.
Example 2.1
2.34
Figure 2.19 Physical addresses
2.35
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:
Example 2.2
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
2.36
Figure 2.20 shows a part of an internet with two routers
connecting three LANs. Each device (computer or
router) has a pair of addresses (logical and physical) for
each connection. In this case, each computer is
connected to only one link and therefore has only one
pair of addresses. Each router, however, is connected to
three networks (only two are shown in the figure). So
each router has three pairs of addresses, one for each
connection.
Example 2.3
2.37
Figure 2.20 IP addresses
2.38
Figure 2.21 shows two computers communicating via
the Internet. The sending computer is running three
processes at this time with port addresses a, b, and c. The
receiving computer is running two processes at this time
with port addresses j and k. Process a in the sending
computer needs to communicate with process j in the
receiving computer. Note that although physical
addresses change from hop to hop, logical and port
addresses remain the same from the source to
destination.
Example 2.4
2.39
Figure 2.21 Port addresses
2.40
The physical addresses will change from hop to hop,
but the logical addresses usually remain the same.
Note
2.41
Example 2.5
A port address is a 16-bit address represented by one
decimal number as shown.
753
A 16-bit port address represented
as one single number.

More Related Content

What's hot (19)

Ch2 v1
Ch2 v1Ch2 v1
Ch2 v1
 
Network Models
Network ModelsNetwork Models
Network Models
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
Unit 1 network models & typical examples(part a)
Unit 1 network models & typical examples(part a)Unit 1 network models & typical examples(part a)
Unit 1 network models & typical examples(part a)
 
Ch02
Ch02Ch02
Ch02
 
Ch2 v1
Ch2 v1Ch2 v1
Ch2 v1
 
Ch1 v1
Ch1 v1Ch1 v1
Ch1 v1
 
Network Models in Networking.
Network Models in Networking.Network Models in Networking.
Network Models in Networking.
 
Chapter 2: Network Models
Chapter 2: Network ModelsChapter 2: Network Models
Chapter 2: Network Models
 
Ch2 network models
Ch2 network modelsCh2 network models
Ch2 network models
 
Networking Models
Networking ModelsNetworking Models
Networking Models
 
Chap 03
Chap 03Chap 03
Chap 03
 
02 Network Models
02 Network Models02 Network Models
02 Network Models
 
01 Introduction (CN)
01 Introduction (CN)01 Introduction (CN)
01 Introduction (CN)
 
Ch 02
Ch 02Ch 02
Ch 02
 
Chapter 4 v6.11
Chapter 4 v6.11Chapter 4 v6.11
Chapter 4 v6.11
 
Chapter 1 v6.1
Chapter 1 v6.1Chapter 1 v6.1
Chapter 1 v6.1
 
Chapter 3 v6.01
Chapter 3 v6.01Chapter 3 v6.01
Chapter 3 v6.01
 
computer communication networks MCQs
 computer communication networks MCQs   computer communication networks MCQs
computer communication networks MCQs
 

Similar to Data Communication And Networking - Network Models

Similar to Data Communication And Networking - Network Models (20)

1
11
1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Computer Network - Chapter 2
Computer Network - Chapter 2Computer Network - Chapter 2
Computer Network - Chapter 2
 
Data Communications and Networking ch02
Data Communications and Networking  ch02Data Communications and Networking  ch02
Data Communications and Networking ch02
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
 
dcn 2.ppt
dcn 2.pptdcn 2.ppt
dcn 2.ppt
 
ANAND1.ppt
ANAND1.pptANAND1.ppt
ANAND1.ppt
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
 
Network.ppt
Network.pptNetwork.ppt
Network.ppt
 
ch2_Network Model , layered task, OSI model
ch2_Network Model  , layered task, OSI modelch2_Network Model  , layered task, OSI model
ch2_Network Model , layered task, OSI model
 
Model Jaringan network jaringan komputer.pdf
Model Jaringan network jaringan komputer.pdfModel Jaringan network jaringan komputer.pdf
Model Jaringan network jaringan komputer.pdf
 
All about Network Models under Data Communications
All about Network Models under Data CommunicationsAll about Network Models under Data Communications
All about Network Models under Data Communications
 
ch2_v1.ppt
ch2_v1.pptch2_v1.ppt
ch2_v1.ppt
 
ch2_v1.pptx
ch2_v1.pptxch2_v1.pptx
ch2_v1.pptx
 
Lec2_CH02.PPT
Lec2_CH02.PPTLec2_CH02.PPT
Lec2_CH02.PPT
 
Network Models.ppt
Network Models.pptNetwork Models.ppt
Network Models.ppt
 
Ch02
Ch02Ch02
Ch02
 
ch02.ppt
ch02.pptch02.ppt
ch02.ppt
 
L2_Networks_OSI_TCP_IP.pptx
L2_Networks_OSI_TCP_IP.pptxL2_Networks_OSI_TCP_IP.pptx
L2_Networks_OSI_TCP_IP.pptx
 

More from Avijeet Negel

More from Avijeet Negel (20)

TCP/IP
TCP/IPTCP/IP
TCP/IP
 
Upper OSI LAYER
Upper OSI LAYERUpper OSI LAYER
Upper OSI LAYER
 
SONET/SDH
SONET/SDHSONET/SDH
SONET/SDH
 
ATM
ATMATM
ATM
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
X.25
X.25X.25
X.25
 
Integrated Services Digital Network (ISDN)
Integrated Services Digital Network (ISDN)Integrated Services Digital Network (ISDN)
Integrated Services Digital Network (ISDN)
 
Switching
SwitchingSwitching
Switching
 
Point to Point Protocol
Point to Point ProtocolPoint to Point Protocol
Point to Point Protocol
 
Networking and Networking Devices
Networking and Networking DevicesNetworking and Networking Devices
Networking and Networking Devices
 
DATA Link Control
DATA Link ControlDATA Link Control
DATA Link Control
 
CRC
CRCCRC
CRC
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and Correction
 
Telephone Network
Telephone NetworkTelephone Network
Telephone Network
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division Multiplexing
 
MULTIPLEXING
MULTIPLEXINGMULTIPLEXING
MULTIPLEXING
 
Radio Communication Band
Radio Communication BandRadio Communication Band
Radio Communication Band
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
 
DB-37 AND DB-9 CONNECTORS
DB-37 AND DB-9 CONNECTORSDB-37 AND DB-9 CONNECTORS
DB-37 AND DB-9 CONNECTORS
 
Transmission Of Digital Data
Transmission Of Digital DataTransmission Of Digital Data
Transmission Of Digital Data
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 

Data Communication And Networking - Network Models

  • 1. 2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
  • 2. 2.2 2-1 LAYERED TASKS2-1 LAYERED TASKS We use the concept ofWe use the concept of layerslayers in our daily life. As anin our daily life. As an example, let us consider two friends who communicateexample, let us consider two friends who communicate through postal mail. The process of sending a letter to athrough postal mail. The process of sending a letter to a friend would be complex if there were no servicesfriend would be complex if there were no services available from the post office.available from the post office. Sender, Receiver, and Carrier Hierarchy Topics discussed in this section:Topics discussed in this section:
  • 3. 2.3 Figure 2.1 Tasks involved in sending a letter
  • 4. 2.4 2-2 THE OSI MODEL2-2 THE OSI MODEL Established in 1947, the International StandardsEstablished in 1947, the International Standards Organization (Organization (ISOISO) is a multinational body dedicated to) is a multinational body dedicated to worldwide agreement on international standards. An ISOworldwide agreement on international standards. An ISO standard that covers all aspects of networkstandard that covers all aspects of network communications is the Open Systems Interconnectioncommunications is the Open Systems Interconnection ((OSIOSI) model. It was first introduced in the late 1970s.) model. It was first introduced in the late 1970s. Layered Architecture Peer-to-Peer Processes Encapsulation Topics discussed in this section:Topics discussed in this section:
  • 5. 2.5 ISO is the organization. OSI is the model. Note
  • 6. 2.6 Figure 2.2 Seven layers of the OSI model
  • 7. 2.7 Figure 2.3 The interaction between layers in the OSI model
  • 8. 2.8 Figure 2.4 An exchange using the OSI model
  • 9. 2.9 2-3 LAYERS IN THE OSI MODEL2-3 LAYERS IN THE OSI MODEL In this section we briefly describe the functions of eachIn this section we briefly describe the functions of each layer in the OSI model.layer in the OSI model. Physical Layer Data Link Layer Network Layer Transport Layer Session Layer Presentation Layer Application Layer Topics discussed in this section:Topics discussed in this section:
  • 11. 2.11 The physical layer is responsible for movements of individual bits from one hop (node) to the next. Note
  • 12. 2.12 Figure 2.6 Data link layer
  • 13. 2.13 The data link layer is responsible for moving frames from one hop (node) to the next. Note
  • 16. 2.16 The network layer is responsible for the delivery of individual packets from the source host to the destination host. Note
  • 19. 2.19 The transport layer is responsible for the delivery of a message from one process to another. Note
  • 20. 2.20 Figure 2.11 Reliable process-to-process delivery of a message
  • 22. 2.22 The session layer is responsible for dialog control and synchronization. Note
  • 24. 2.24 The presentation layer is responsible for translation, compression, and encryption. Note
  • 26. 2.26 The application layer is responsible for providing services to the user. Note
  • 28. 2.28 2-4 TCP/IP PROTOCOL SUITE2-4 TCP/IP PROTOCOL SUITE The layers in theThe layers in the TCP/IP protocol suiteTCP/IP protocol suite do not exactlydo not exactly match those in the OSI model. The original TCP/IPmatch those in the OSI model. The original TCP/IP protocol suite was defined as having four layers:protocol suite was defined as having four layers: host-to-host-to- networknetwork,, internetinternet,, transporttransport, and, and applicationapplication. However,. However, when TCP/IP is compared to OSI, we can say that thewhen TCP/IP is compared to OSI, we can say that the TCP/IP protocol suite is made of five layers:TCP/IP protocol suite is made of five layers: physicalphysical,, data linkdata link,, networknetwork,, transporttransport, and, and applicationapplication.. Physical and Data Link Layers Network Layer Transport Layer Application Layer Topics discussed in this section:Topics discussed in this section:
  • 29. 2.29 Figure 2.16 TCP/IP and OSI model
  • 30. 2.30 2-5 ADDRESSING2-5 ADDRESSING Four levels of addresses are used in an internet employingFour levels of addresses are used in an internet employing the TCP/IP protocols:the TCP/IP protocols: physicalphysical,, logicallogical,, portport, and, and specificspecific.. Physical Addresses Logical Addresses Port Addresses Specific Addresses Topics discussed in this section:Topics discussed in this section:
  • 32. 2.32 Figure 2.18 Relationship of layers and addresses in TCP/IP
  • 33. 2.33 In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. Example 2.1
  • 35. 2.35 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: Example 2.2 07:01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address.
  • 36. 2.36 Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection. Example 2.3
  • 37. 2.37 Figure 2.20 IP addresses
  • 38. 2.38 Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination. Example 2.4
  • 40. 2.40 The physical addresses will change from hop to hop, but the logical addresses usually remain the same. Note
  • 41. 2.41 Example 2.5 A port address is a 16-bit address represented by one decimal number as shown. 753 A 16-bit port address represented as one single number.