You are on page 1of 30

Chapter 2

Network
Models
McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

2.1 Layered Tasks

Sender, Receiver, and


Carrier
Hierarchy
Services
McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.1

McGraw-Hill

Sending a letter

The McGraw-Hill Companies, Inc., 2004

2.2 Internet Model

Peer-to-Peer Processes
Functions of Layers
Summary of Layers
McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.2

McGraw-Hill

Internet layers

The McGraw-Hill Companies, Inc., 2004

Figure 2.3

McGraw-Hill

Peer-to-peer processes

The McGraw-Hill Companies, Inc., 2004

Figure 2.4

McGraw-Hill

An exchange using the Internet model

The McGraw-Hill Companies, Inc., 2004

Figure 2.5

McGraw-Hill

Physical layer

The McGraw-Hill Companies, Inc., 2004

Note:
The physical layer is responsible for
transmitting individual bits from one
node to the next.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.6

McGraw-Hill

Data link layer

The McGraw-Hill Companies, Inc., 2004

Note:
The data link layer is responsible for
transmitting frames from
one node to the next.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.7

McGraw-Hill

Node-to-node delivery

The McGraw-Hill Companies, Inc., 2004

Example 1
InFigure2.8anodewithphysicaladdress10sendsa
frametoanodewithphysicaladdress87.Thetwonodes
areconnectedbyalink.Atthedatalinklevelthisframe
containsphysicaladdressesintheheader.Thesearethe
onlyaddressesneeded.Therestoftheheadercontains
otherinformationneededatthislevel.Thetrailerusually
containsextrabitsneededforerrordetection

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.8

McGraw-Hill

Example 1

The McGraw-Hill Companies, Inc., 2004

Figure 2.9

McGraw-Hill

Network layer

The McGraw-Hill Companies, Inc., 2004

Note:
The network layer is responsible for
the delivery of packets from the
original source to the
final destination.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.10

McGraw-Hill

Source-to-destination delivery

The McGraw-Hill Companies, Inc., 2004

Example 2
InFigure2.11wewanttosenddatafromanodewith
networkaddressAandphysicaladdress10,locatedon
oneLAN,toanodewithanetworkaddressPand
physicaladdress95,locatedonanotherLAN.Because
thetwodevicesarelocatedondifferentnetworks,we
cannotusephysicaladdressesonly;thephysical
addressesonlyhavelocaljurisdiction.Whatweneedhere
areuniversaladdressesthatcanpassthroughtheLAN
boundaries.Thenetwork(logical)addresseshavethis
characteristic.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.11 Example 2

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.12

McGraw-Hill

Transport layer

The McGraw-Hill Companies, Inc., 2004

Note:
The transport layer is responsible for
delivery of a message from one process
to another.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.12

McGraw-Hill

Reliable process-to-process delivery of a message

The McGraw-Hill Companies, Inc., 2004

Example 3
Figure2.14showsanexampleoftransportlayer
communication.Datacomingfromtheupperlayershave
portaddressesjandk(jistheaddressofthesending
process,andkistheaddressofthereceivingprocess).
Sincethedatasizeislargerthanthenetworklayercan
handle,thedataaresplitintotwopackets,eachpacket
retainingtheportaddresses(jandk).Theninthenetwork
layer,networkaddresses(AandP)areaddedtoeach
packet.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.14

McGraw-Hill

Example 3

The McGraw-Hill Companies, Inc., 2004

Figure 2.15

McGraw-Hill

Application layer

The McGraw-Hill Companies, Inc., 2004

Note:
The application layer is responsible for
providing services to the user.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.16

McGraw-Hill

Summary of duties

The McGraw-Hill Companies, Inc., 2004

2.3 OSI Model

A comparison

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

Figure 2.17

McGraw-Hill

OSI model

The McGraw-Hill Companies, Inc., 2004

Note:
The OSI model is briefly discussed in
Appendix C.

McGraw-Hill

The McGraw-Hill Companies, Inc., 2004

You might also like