SlideShare a Scribd company logo
1 of 42
Download to read offline
Chapter 2
Network Models
2.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
22--11 LAYERED TASKSLAYERED TASKS
WeWe useuse thethe conceptconcept ofof layerslayers inin ourour dailydaily lifelife.. AsAs anan
ll ll idid f i df i d hh iiexample,example, letlet usus considerconsider twotwo friendsfriends whowho communicatecommunicate
throughthrough postalpostal mailmail.. TheThe processprocess ofof sendingsending aa letterletter toto aa
f i df i d ldld bb ll ifif hh iifriendfriend wouldwould bebe complexcomplex ifif therethere werewere nono servicesservices
availableavailable fromfrom thethe postpost officeoffice..
S d R i d C i
Topics discussed in this section:Topics discussed in this section:
Sender, Receiver, and Carrier
Hierarchy
2.2
Figure 2.1 Tasks involved in sending a letter
2.3
22--22 THE OSI MODELTHE OSI MODEL
EstablishedEstablished inin 19471947,, thethe InternationalInternational StandardsStandards
OrganizationOrganization ((ISOISO)) isis aa multinationalmultinational bodybody dedicateddedicated totogg (( )) yy
worldwideworldwide agreementagreement onon internationalinternational standardsstandards.. AnAn ISOISO
standardstandard thatthat coverscovers allall aspectsaspects ofof networknetworkpp ff
communicationscommunications isis thethe OpenOpen SystemsSystems InterconnectionInterconnection
((OSIOSI)) modelmodel.. ItIt waswas firstfirst introducedintroduced inin thethe latelate 19701970ss..(( )) ff
L d A hit t
Topics discussed in this section:Topics discussed in this section:
Layered Architecture
Peer-to-Peer Processes
Encapsulation
2.4
Encapsulation
Note
ISO is the organization.
OSI i th d lOSI is the model.
2.5
Figure 2.2 Seven layers of the OSI modelg
2.6
Figure 2.3 The interaction between layers in the OSI model
2.7
Figure 2.4 An exchange using the OSI model
2.8
22--33 LAYERS IN THE OSI MODELLAYERS IN THE OSI MODEL
InIn thisthis sectionsection wewe brieflybriefly describedescribe thethe functionsfunctions ofof eacheach
layerlayer inin thethe OSIOSI modelmodellayerlayer inin thethe OSIOSI modelmodel..
i
Topics discussed in this section:Topics discussed in this section:
Physical Layer
Data Link Layer
Network LayerNetwork Layer
Transport Layer
Session Layery
Presentation Layer
Application Layer
2.9
Figure 2.5 Physical layer
2.10
Note
The physical layer is responsible for movements of
Note
p y y p
individual bits from one hop (node) to the next.
2.11
Figure 2.6 Data link layer
2.12
Note
The data link layer is responsible for moving
Note
y p g
frames from one hop (node) to the next.
2.13
Figure 2.7 Hop-to-hop delivery
2.14
Figure 2.8 Network layer
2.15
Note
The network layer is responsible for the
Note
y p
delivery of individual packets from
the source host to the destination host.
2.16
Figure 2.9 Source-to-destination delivery
2.17
Figure 2.10 Transport layer
2.18
Note
The transport layer is responsible for the delivery
Note
p y p y
of a message from one process to another.
2.19
Figure 2.11 Reliable process-to-process delivery of a message
2.20
Figure 2.12 Session layerFigure 2.12 Session layer
2.21
Note
The session layer is responsible for dialog
Note
y p g
control and synchronization.
2.22
Figure 2.13 Presentation layer
2.23
Note
The presentation layer is responsible for translation,
Note
p y p ,
compression, and encryption.
2.24
Figure 2.14 Application layer
2.25
Note
The application layer is responsible for
Note
pp y p
providing services to the user.
2.26
Figure 2.15 Summary of layers
2.27
22--44 TCP/IP PROTOCOL SUITETCP/IP PROTOCOL SUITE
TheThe layerslayers inin thethe TCP/IPTCP/IP protocolprotocol suitesuite dodo notnot exactlyexactly
matchmatch thosethose inin thethe OSIOSI modelmodel TheThe originaloriginal TCP/IPTCP/IPmatchmatch thosethose inin thethe OSIOSI modelmodel.. TheThe originaloriginal TCP/IPTCP/IP
protocolprotocol suitesuite waswas defineddefined asas havinghaving fourfour layerslayers:: hosthost--toto--
networknetwork internetinternet transporttransport andand applicationapplication HoweverHowevernetworknetwork,, internetinternet,, transporttransport,, andand applicationapplication.. However,However,
whenwhen TCP/IPTCP/IP isis comparedcompared toto OSI,OSI, wewe cancan saysay thatthat thethe
TCP/IPTCP/IP protocolprotocol suitesuite isis mademade ofof fivefive layerslayers:: physicalphysicalTCP/IPTCP/IP protocolprotocol suitesuite isis mademade ofof fivefive layerslayers:: physicalphysical,,
datadata linklink,, networknetwork,, transporttransport,, andand applicationapplication..
Physical and Data Link Layers
Topics discussed in this section:Topics discussed in this section:
Physical and Data Link Layers
Network Layer
Transport Layer
2.28
Application Layer
Figure 2.16 TCP/IP and OSI model
2.29
22--55 ADDRESSINGADDRESSING
FourFour levelslevels ofof addressesaddresses areare usedused inin anan internetinternet employingemploying
thth TCP/IPTCP/IP t lt l h i lh i l l i ll i l tt dd ifiifithethe TCP/IPTCP/IP protocolsprotocols:: physicalphysical,, logicallogical,, portport,, andand specificspecific..
Physical Addresses
Topics discussed in this section:Topics discussed in this section:
y
Logical Addresses
Port Addresses
Specific Addresses
2.30
Figure 2.17 Addresses in TCP/IP
2.31
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.32
Example 2.1
In Figure 2 19 a node with physical address 10 sends aIn 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 theare 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 isthe sender, and the computer with physical address 87 is
the receiver.
2.33
Figure 2.19 Physical addresses
2.34
Example 2.2
As we will see in Chapter 13 most local area networksAs we will see in Chapter 13, most local-area networks
use a 48-bit (6-byte) physical address written as 12
hexadecimal digits; every byte (2 hexadecimal digits) ishexadecimal digits; every byte (2 hexadecimal digits) is
separated by a colon, as shown below:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.y ( g ) p y
2.35
Example 2.3
Fi 2 20 h t f i t t ith t tFigure 2.20 shows a part of an internet with two routers
connecting three LANs. Each device (computer or
t ) h i f dd (l i l d h i l) frouter) has a pair of addresses (logical and physical) for
each connection. In this case, each computer is
t d t l li k d th f h lconnected to only one link and therefore has only one
pair of addresses. Each router, however, is connected to
th t k ( l t h i th fi ) Sthree networks (only two are shown in the figure). So
each router has three pairs of addresses, one for each
ticonnection.
2.36
Figure 2.20 IP addresses
2.37
Example 2.4
Figure 2.21 shows two computers communicating via theFigure 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. Theprocesses 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 sendingwith port addresses j and k. Process a in the sending
computer needs to communicate with process j in the
receiving computer. Note that although physicalreceiving computer. Note that although physical
addresses change from hop to hop, logical and port
addresses remain the same from the source toaddresses remain the same from the source to
destination.
2.38
Figure 2.21 Port addresses
2.39
Note
The physical addresses will change from hop to hop,
Note
p y g p p,
but the logical addresses usually remain the same.
2.40
Example 2.5
As we will see in Chapter 23 a port address is a 16 bitAs we will see in Chapter 23, 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.
2.41
Note
The physical addresses change from hop to hop,
Note
p y g p p,
but the logical and port addresses usually remain the same.
2.42

More Related Content

What's hot

13 Wired Lans_Ethernet
13 Wired Lans_Ethernet13 Wired Lans_Ethernet
13 Wired Lans_EthernetAhmar Hashmi
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicastingkavish dani
 
Dcf learn and performance analysis of 802.11 b wireless network
Dcf learn and performance analysis of 802.11 b wireless networkDcf learn and performance analysis of 802.11 b wireless network
Dcf learn and performance analysis of 802.11 b wireless networkIJCNCJournal
 
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferChapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferWayne Jones Jnr
 
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...TELKOMNIKA JOURNAL
 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_TransferAhmar Hashmi
 
Computer Networking Multiple Choice Questions
Computer Networking Multiple Choice QuestionsComputer Networking Multiple Choice Questions
Computer Networking Multiple Choice QuestionsAbhishek Jaguessar
 
Survey on Error Control Coding Techniques
Survey on Error Control Coding TechniquesSurvey on Error Control Coding Techniques
Survey on Error Control Coding TechniquesIJTET Journal
 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...ijceronline
 
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...Associate Professor in VSB Coimbatore
 
Chap 03
Chap 03Chap 03
Chap 03IGNOU
 
Quanta zqta, zqsa_r1a_20111111_schematics
Quanta zqta, zqsa_r1a_20111111_schematicsQuanta zqta, zqsa_r1a_20111111_schematics
Quanta zqta, zqsa_r1a_20111111_schematicsdoubletonine
 
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...vtunotesbysree
 

What's hot (20)

Computer network
Computer networkComputer network
Computer network
 
CN Unit 3
CN Unit 3 CN Unit 3
CN Unit 3
 
13 Wired Lans_Ethernet
13 Wired Lans_Ethernet13 Wired Lans_Ethernet
13 Wired Lans_Ethernet
 
Chap 02
Chap 02Chap 02
Chap 02
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting
 
Networking models tcp
Networking models tcpNetworking models tcp
Networking models tcp
 
Chapter 6 v6.0
Chapter 6 v6.0Chapter 6 v6.0
Chapter 6 v6.0
 
Dcf learn and performance analysis of 802.11 b wireless network
Dcf learn and performance analysis of 802.11 b wireless networkDcf learn and performance analysis of 802.11 b wireless network
Dcf learn and performance analysis of 802.11 b wireless network
 
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferChapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
 
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
 
26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer26 Remote Logging_Electronic_Mail_and_File_Transfer
26 Remote Logging_Electronic_Mail_and_File_Transfer
 
Computer Networking Multiple Choice Questions
Computer Networking Multiple Choice QuestionsComputer Networking Multiple Choice Questions
Computer Networking Multiple Choice Questions
 
Survey on Error Control Coding Techniques
Survey on Error Control Coding TechniquesSurvey on Error Control Coding Techniques
Survey on Error Control Coding Techniques
 
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
Reduced Energy Min-Max Decoding Algorithm for Ldpc Code with Adder Correction...
 
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...
Reduced Complexity Maximum Likelihood Decoding Algorithm for LDPC Code Correc...
 
Chap 03
Chap 03Chap 03
Chap 03
 
Quanta zqta, zqsa_r1a_20111111_schematics
Quanta zqta, zqsa_r1a_20111111_schematicsQuanta zqta, zqsa_r1a_20111111_schematics
Quanta zqta, zqsa_r1a_20111111_schematics
 
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
VTU 6TH SEM CSE COMPUTER NETWORKS 2 SOLVED PAPERS OF JUNE-2013 JUNE-14 & JUNE...
 
Ch13
Ch13Ch13
Ch13
 
Network Layer
Network LayerNetwork Layer
Network Layer
 

Similar to Ch02 network models-jdb (20)

Lecture-2 Data Communication ~www.fida.com.bd
Lecture-2 Data Communication ~www.fida.com.bdLecture-2 Data Communication ~www.fida.com.bd
Lecture-2 Data Communication ~www.fida.com.bd
 
Lec2_CH02.PPT
Lec2_CH02.PPTLec2_CH02.PPT
Lec2_CH02.PPT
 
ch02.ppt
ch02.pptch02.ppt
ch02.ppt
 
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
Ch2 v1Ch2 v1
Ch2 v1
 
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
 
Data Communications and Networking ch02
Data Communications and Networking  ch02Data Communications and Networking  ch02
Data Communications and Networking ch02
 
Ch02
Ch02Ch02
Ch02
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
Computer Network - Chapter 2
Computer Network - Chapter 2Computer Network - Chapter 2
Computer Network - Chapter 2
 

Recently uploaded

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call 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
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
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
 
(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
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
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
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 

Recently uploaded (20)

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
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
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
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
 
(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...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
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
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 

Ch02 network models-jdb

  • 1. Chapter 2 Network Models 2.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
  • 2. 22--11 LAYERED TASKSLAYERED TASKS WeWe useuse thethe conceptconcept ofof layerslayers inin ourour dailydaily lifelife.. AsAs anan ll ll idid f i df i d hh iiexample,example, letlet usus considerconsider twotwo friendsfriends whowho communicatecommunicate throughthrough postalpostal mailmail.. TheThe processprocess ofof sendingsending aa letterletter toto aa f i df i d ldld bb ll ifif hh iifriendfriend wouldwould bebe complexcomplex ifif therethere werewere nono servicesservices availableavailable fromfrom thethe postpost officeoffice.. S d R i d C i Topics discussed in this section:Topics discussed in this section: Sender, Receiver, and Carrier Hierarchy 2.2
  • 3. Figure 2.1 Tasks involved in sending a letter 2.3
  • 4. 22--22 THE OSI MODELTHE OSI MODEL EstablishedEstablished inin 19471947,, thethe InternationalInternational StandardsStandards OrganizationOrganization ((ISOISO)) isis aa multinationalmultinational bodybody dedicateddedicated totogg (( )) yy worldwideworldwide agreementagreement onon internationalinternational standardsstandards.. AnAn ISOISO standardstandard thatthat coverscovers allall aspectsaspects ofof networknetworkpp ff communicationscommunications isis thethe OpenOpen SystemsSystems InterconnectionInterconnection ((OSIOSI)) modelmodel.. ItIt waswas firstfirst introducedintroduced inin thethe latelate 19701970ss..(( )) ff L d A hit t Topics discussed in this section:Topics discussed in this section: Layered Architecture Peer-to-Peer Processes Encapsulation 2.4 Encapsulation
  • 5. Note ISO is the organization. OSI i th d lOSI is the model. 2.5
  • 6. Figure 2.2 Seven layers of the OSI modelg 2.6
  • 7. Figure 2.3 The interaction between layers in the OSI model 2.7
  • 8. Figure 2.4 An exchange using the OSI model 2.8
  • 9. 22--33 LAYERS IN THE OSI MODELLAYERS IN THE OSI MODEL InIn thisthis sectionsection wewe brieflybriefly describedescribe thethe functionsfunctions ofof eacheach layerlayer inin thethe OSIOSI modelmodellayerlayer inin thethe OSIOSI modelmodel.. i Topics discussed in this section:Topics discussed in this section: Physical Layer Data Link Layer Network LayerNetwork Layer Transport Layer Session Layery Presentation Layer Application Layer 2.9
  • 10. Figure 2.5 Physical layer 2.10
  • 11. Note The physical layer is responsible for movements of Note p y y p individual bits from one hop (node) to the next. 2.11
  • 12. Figure 2.6 Data link layer 2.12
  • 13. Note The data link layer is responsible for moving Note y p g frames from one hop (node) to the next. 2.13
  • 14. Figure 2.7 Hop-to-hop delivery 2.14
  • 15. Figure 2.8 Network layer 2.15
  • 16. Note The network layer is responsible for the Note y p delivery of individual packets from the source host to the destination host. 2.16
  • 18. Figure 2.10 Transport layer 2.18
  • 19. Note The transport layer is responsible for the delivery Note p y p y of a message from one process to another. 2.19
  • 20. Figure 2.11 Reliable process-to-process delivery of a message 2.20
  • 21. Figure 2.12 Session layerFigure 2.12 Session layer 2.21
  • 22. Note The session layer is responsible for dialog Note y p g control and synchronization. 2.22
  • 24. Note The presentation layer is responsible for translation, Note p y p , compression, and encryption. 2.24
  • 26. Note The application layer is responsible for Note pp y p providing services to the user. 2.26
  • 27. Figure 2.15 Summary of layers 2.27
  • 28. 22--44 TCP/IP PROTOCOL SUITETCP/IP PROTOCOL SUITE TheThe layerslayers inin thethe TCP/IPTCP/IP protocolprotocol suitesuite dodo notnot exactlyexactly matchmatch thosethose inin thethe OSIOSI modelmodel TheThe originaloriginal TCP/IPTCP/IPmatchmatch thosethose inin thethe OSIOSI modelmodel.. TheThe originaloriginal TCP/IPTCP/IP protocolprotocol suitesuite waswas defineddefined asas havinghaving fourfour layerslayers:: hosthost--toto-- networknetwork internetinternet transporttransport andand applicationapplication HoweverHowevernetworknetwork,, internetinternet,, transporttransport,, andand applicationapplication.. However,However, whenwhen TCP/IPTCP/IP isis comparedcompared toto OSI,OSI, wewe cancan saysay thatthat thethe TCP/IPTCP/IP protocolprotocol suitesuite isis mademade ofof fivefive layerslayers:: physicalphysicalTCP/IPTCP/IP protocolprotocol suitesuite isis mademade ofof fivefive layerslayers:: physicalphysical,, datadata linklink,, networknetwork,, transporttransport,, andand applicationapplication.. Physical and Data Link Layers Topics discussed in this section:Topics discussed in this section: Physical and Data Link Layers Network Layer Transport Layer 2.28 Application Layer
  • 29. Figure 2.16 TCP/IP and OSI model 2.29
  • 30. 22--55 ADDRESSINGADDRESSING FourFour levelslevels ofof addressesaddresses areare usedused inin anan internetinternet employingemploying thth TCP/IPTCP/IP t lt l h i lh i l l i ll i l tt dd ifiifithethe TCP/IPTCP/IP protocolsprotocols:: physicalphysical,, logicallogical,, portport,, andand specificspecific.. Physical Addresses Topics discussed in this section:Topics discussed in this section: y Logical Addresses Port Addresses Specific Addresses 2.30
  • 31. Figure 2.17 Addresses in TCP/IP 2.31
  • 32. Figure 2.18 Relationship of layers and addresses in TCP/IP 2.32
  • 33. Example 2.1 In Figure 2 19 a node with physical address 10 sends aIn 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 theare 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 isthe sender, and the computer with physical address 87 is the receiver. 2.33
  • 34. Figure 2.19 Physical addresses 2.34
  • 35. Example 2.2 As we will see in Chapter 13 most local area networksAs we will see in Chapter 13, most local-area networks use a 48-bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) ishexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below: 07:01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address.y ( g ) p y 2.35
  • 36. Example 2.3 Fi 2 20 h t f i t t ith t tFigure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or t ) h i f dd (l i l d h i l) frouter) has a pair of addresses (logical and physical) for each connection. In this case, each computer is t d t l li k d th f h lconnected to only one link and therefore has only one pair of addresses. Each router, however, is connected to th t k ( l t h i th fi ) Sthree networks (only two are shown in the figure). So each router has three pairs of addresses, one for each ticonnection. 2.36
  • 37. Figure 2.20 IP addresses 2.37
  • 38. Example 2.4 Figure 2.21 shows two computers communicating via theFigure 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. Theprocesses 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 sendingwith port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physicalreceiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source toaddresses remain the same from the source to destination. 2.38
  • 39. Figure 2.21 Port addresses 2.39
  • 40. Note The physical addresses will change from hop to hop, Note p y g p p, but the logical addresses usually remain the same. 2.40
  • 41. Example 2.5 As we will see in Chapter 23 a port address is a 16 bitAs we will see in Chapter 23, 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. 2.41
  • 42. Note The physical addresses change from hop to hop, Note p y g p p, but the logical and port addresses usually remain the same. 2.42