0% found this document useful (0 votes)
2 views47 pages

Network Models

The document discusses network models essential for data communication, emphasizing the layered approach that breaks complex tasks into manageable subtasks. It details the responsibilities of various layers in the Internet model, including the physical, data link, network, transport, and application layers, and contrasts it with the OSI model. Additionally, it outlines common data communication standards and information formats used in networking.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views47 pages

Network Models

The document discusses network models essential for data communication, emphasizing the layered approach that breaks complex tasks into manageable subtasks. It details the responsibilities of various layers in the Internet model, including the physical, data link, network, transport, and application layers, and contrasts it with the OSI model. Additionally, it outlines common data communication standards and information formats used in networking.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

Data Communications

Chapter 2 - Network Models


Network Models
▪ Networks require a combination of
hardware and software to send data from
one location to another
▪ To make communications efficient, many
components are involved, each with a
specific function or service

3
Layered Tasks
▪ Hierarchy
The complex task is broken into smaller subtasks
▪ Services
The higher layer uses the services of the lower
layer

4
Example of Person-to-person communication

▪ Cognitive : Defines purpose of message exchange

▪ Linguistic : Provides common language

▪ Physical : Physically transmits information


between users

5
Example of Sending a letter

6
Internet Model
▪ Dominant model in data communications and
networking
▪ 5 ordered layers; often referred to as TCP/IP
protocol suite

7
Internet Model Layers
▪ Each layer defines distinct functions
▪ Each layer calls services of layer just below and
provides services to layer just above
▪ Between machines, corresponding layers
communicate (i.e. network to network; transport
to transport, etc.) are called peer-to-peer
processes
▪ This communication is governed by protocols

8
Peer-to-Peer Process

9
Data Exchange Between Two Devices

10
Physical layer

11
Physical Layer Responsibilities
▪ Physical characteristics of interfaces and media
▪ Representation of bits without interpretation
▪ Data rate: number of bits per second
▪ Synchronization of bits

12
Note:

The physical layer is responsible for


transmitting individual bits from one
node to the next.

13
Data link layer

14
Data Link Layer Responsibilities
▪ Defines frames into manageable data units
▪ Physical addressing
▪ Flow control
▪ Error control
▪ Access control

15
Note:

The data link layer is responsible for


transmitting frames from
one node to the next.

16
Node-to-node delivery

17
Example 1
In below figure 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 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

18
Network layer

19
Network Layer Responsibilities
▪ If the two systems are attached to different
networks with connecting devices between the
networks, there is often a need for the network
layer
▪ Source-to-destination delivery, possibly across
multiple networks
▪ Logical addressing
▪ Routing

20
Note:

The network layer is responsible for


the delivery of packets from the
original source to the
final destination.

21
Source-to-destination delivery

22
Example 2
In Figure 3.11 we want to send data from a node with
network address A and physical address 10, located on
one LAN, to a node with a network address P and
physical address 95, located on another LAN. Because
the two devices are located on different networks, we
cannot use physical addresses only; the physical
addresses only have local jurisdiction. What we need here
are universal addresses that can pass through the LAN
boundaries. The network (logical) addresses have this
characteristic.

23
Figure 3.11 Example 2

24
Transport layer

25
Transport Layer Responsibilities
▪ Process-to-process delivery of entire message
▪ Port addressing
▪ Segmentation and reassembly
▪ Connection control: connectionless or
connection-oriented
▪ End-to-end flow control
▪ End-to-end error control

26
Note:

The transport layer is responsible for


delivery of a message from one process
to another.

27
Reliable process-to-process delivery of a message

28
Example 3
Figure 3.14 shows an example of transport layer
communication. Data coming from the upper layers 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 port addresses (j and k). Then in the network
layer, network addresses (A and P) are added to each
packet.

29
Figure 3.14 Example 3

30
Application layer

31
Application Layer Responsibilities
▪ Enables user access to the network
▪ User interfaces and support for services such as
E-Mail
File transfer and access
Remote log-in
WWW

32
Note:

The application layer is responsible for


providing services to the user.

33
Summary of duties

34
OSI Model
▪ Open Systems Interconnection model
▪ 7 layer theoretical model of how a protocol stack
should be implemented

35
OSI model

36
OSI model define two extra layers
▪ Session layer: network dialog controller; establish,
maintain, and synchronize communications
between systems
▪ Presentation layer: To handle the syntax and
semantics of the information exchange between
the two systems.
data translation
encryption/decryption
compression
▪ These duties are often handled by other layers
now, hence the Internet model

37
Summary of OSI model

38
TCP/IP and OSI model

39
OSI vs TCP/IP
OSI TCP/IP
Application

User space
Presentation Application

Software
Session
Transport Transport

Operating System
Firmware
Network Network

Hardware
Data Link Data Link
Physical Physical
40
Some common data communications standards

Layer Common Standards


5. Application layer HTTP, HTML (Web)
MPEG, H.323 (audio/video)
IMAP, POP (e-mail)

4. Transport layer TCP (Internet)


SPX (Novell LANs)
3. Network layer IP (Internet)
IPX (Novell LANs)
2. Data link layer Ethernet (LAN)
PPP (dial-up via modem)
1. Physical layer RS-232c cable (LAN)
Category 5 twisted pair (LAN)
V.92 (56 kbps modem)
Protocol Stacks

42
Information Format
▪ Frame
An information unit whose source and
destination are data link layer entities
Composed of the data link layer header (trailer)
and upper-layer data

Frame
Data link layer Data link layer
Upper layer data
header trailer

43
Information Format Layer (cont.)
▪ Packet
An information unit whose source and
destination are network layer entities
Composed of the network layer header (trailer)
and upper-layer data

Packet

Network layer Network layer


Upper layer data
header trailer

44
Information Format Layer (cont.)
▪ Datagram
Usually refers to an information unit whose source
and destination are network layer entities that use
connectionless network service
▪ Segment
Refers to an information unit whose source and
destination are transport layer entities
▪ Message
An information unit whose source and destination
entities exist above the network layer (often at the
application layer)
45
Information Format Layer (cont.)
▪ Cell
An information unit of a fixed size whose source
and destination are data link layer entities
Cells are used in switched environments, such
as Asynchronous Transfer Mode (ATM) and
Switched Multimegabit Data Service (SMDS)
network.
Cell

Cell header (5 Payload


bytes) (48 bytes)

53 bytes
46
Credits
▪ All figures obtained from publisher-provided
instructor downloads
Data Communications and Networking, 3rd edition by
Behrouz A. Forouzan. McGraw Hill Publishing, 2004

47

You might also like