Download as pdf or txt
Download as pdf or txt
You are on page 1of 65

CHAPTER 2:

NETWORK MODELS

ECCE 0324 ENGR. KRISTINE P. ORTEGA 1


INTRODUCTION
• Network – a combination of
hardware and software that sends
data from one location to another.
• Hardware – consists of the physical
equipment that carries signals from
one point of the network to another.
• Software – consists of instruction sets
that make possible the services that
we expect from
ECCE 0324
a network.
ENGR. KRISTINE P. ORTEGA 2
LAYERED TASKS

ECCE 0324 ENGR. KRISTINE P. ORTEGA 3


LAYERED TASKS
• Hierarchy of Tasks
– Sender Site
– Carrier
– Receiver Site

ECCE 0324 ENGR. KRISTINE P. ORTEGA 4


OSI MODEL
• International Standards Organization
(ISO) – is a multinational body
dedicated to worldwide agreement
on international standards that was
established in 1947
• Open Systems Interconnection
model (OSI) – is an ISO standard
that covers all aspects of network
communications.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 5
OSI MODEL
– it was first introduced in the late 1970s.
– an open system is a set of protocols
that allows any two different systems to
communicate regardless of their
underlying architecture.
– purpose is to show how to facilitate
communication between different
systems without requiring changes to
the logic of the underlying hardware
and software.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 6
OSI MODEL
• OSI Model
– a layered framework for the design of
network systems that allows
communication between all types of
computer systems.
– consists of seven separate but related
layers, each of which defines a part of
the process of moving information
across a network
ECCE 0324 ENGR. KRISTINE P. ORTEGA 7
OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 8


OSI MODEL
• Layered Architecture
– The designer identified which
networking functions had related uses
and collected those functions into
discrete groups that became the
layers.
– Each layer defines a family of functions
distinct from those of the other layers.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 9


OSI MODEL
• Layered Architecture

ECCE 0324 ENGR. KRISTINE P. ORTEGA 10


OSI MODEL
– Communication between machines is
a peer-to-peer process using the
protocols appropriate to a given layer.
• Peer-to-Peer Processes
– At the physical layer, communication is
direct.
– At the higher layers, communication
must move down through the layers on
device A, over to device B, and then
back up through
ECCE 0324
the layers.
ENGR. KRISTINE P. ORTEGA 11
OSI MODEL
– Each layer in the sending device adds
its own information to the message it
receives from the layer just above it
and passes the whole package to
the layer just below it.
– At layer 1 the entire package is
converted to a form that can be
transmitted to the receiving device.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 12


OSI MODEL
– At the receiving machine, the message
is unwrapped layer by layer, with each
process receiving and removing the
data meant for it.
– Interfaces Between Layers
• Each interface defines the information and
services a layer must provide for the layer
above it.
• Well-defined interfaces and layer functions
provide modularity to a network.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 13
OSI MODEL
– Organization of the Layers
• Layers 1, 2, and 3 are the network support
layers; they deal with the physical aspects
of moving data from one device to
another.
• Layer 4 links the two subgroups and ensures
that what the lower layers have transmitted
is in a form that the upper layers can use.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 14


OSI MODEL
• Layers 5, 6, and 7 can be thought of as the
user support layers; they allow
interoperability among unrelated software
systems.
• At each layer, a header, or possibly a
trailer, can be added to the data unit.
Commonly, the trailer is added only at
layer 2.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 15


OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 16


OSI MODEL
• Encapsulation
– The data portion of a packet at level N
– 1 carries the whole packet (data and
header and maybe trailer) from level N.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 17


LAYERS IN THE OSI MODEL
• Physical Layer
– It 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 medium.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 18


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 19


LAYERS IN THE OSI MODEL
– It also defines the procedures and
functions that physical devices and
interfaces have to perform for
transmission to occur.
– Also concerned with:
• Physical characteristics of interfaces and
medium.
• Representation of bits.
• Data Rate.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 20


LAYERS IN THE OSI MODEL
• Synchronization of bits.
• Line configuration.
• Physical Topology.
• Transmission Mode.
• Data Link Layer
– Transforms the physical layer, a raw
transmission facility, to a reliable link.
– It makes the physical layer appear
error-free to the upper layer.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 21
LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 22


LAYERS IN THE OSI MODEL
– Other Responsibilities:
• Framing.
• Physical Addressing.
• Flow Control.
• Error Control.
• Access Control.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 23


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 24


LAYERS IN THE OSI MODEL
• Network Layer
– Responsible for the source-to-
destination delivery of a packet,
possibly across multiple networks (links).
– Whereas the data link layer oversees
the delivery of the packet between
two systems on the same network
(links), the network layer ensures that
each packet gets from its point of
origin to its final destination.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 25
LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 26


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 27


LAYERS IN THE OSI MODEL
– Other responsibilities:
• Logical Addressing.
• Routing.
• Transport Layer
– Responsible for process-to-process
delivery of the entire message.
– Ensures that the whole message arrives
intact and in order, overseeing both
error control and flow control at the
source-to-destination
ECCE 0324
level.
ENGR. KRISTINE P. ORTEGA 28
LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 29


LAYERS IN THE OSI MODEL
– Other responsibilities:
• Service-point addressing.
• Segmentation and reassembly.
• Connection control.
• Flow control.
• Error control.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 30


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 31


LAYERS IN THE OSI MODEL
• Session Layer
– The network dialog controller.
– It establishes, maintains, and
synchronizes the interaction among
communicating systems.
– Specific responsibilities:
• Dialog control.
• Synchronization.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 32


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 33


LAYERS IN THE OSI MODEL
• Presentation Layer
– Concerned with the syntax and
semantics of the information
exchanged between two systems.
– Specific responsibilities:
• Translation.
• Encryption.
• Compression.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 34


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 35


LAYERS IN THE OSI MODEL
• Application Layer
– Enables the user, whether human or
software, to access the network.
– It provides user interfaces and support
for services such as electronic mail,
remote file access and transfer, shared
database management, and other
types of distributed information
services.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 36
LAYERS IN THE OSI MODEL
– Specific services:
• Network virtual terminal.
• File transfer, access, and management.
• Mail services.
• Directory services.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 37


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 38


LAYERS IN THE OSI MODEL

ECCE 0324 ENGR. KRISTINE P. ORTEGA 39


TCP/IP PROTOCOL SUITE
• The layers in the TCP/IP protocol
suite do not exactly match those in
the OSI model.
• The original TCP/IP protocol suite
was defined as having four layers:
host-to-network, internet, transport,
and application.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 40


TCP/IP PROTOCOL SUITE
• However, when TCP/IP is compared
to OSI, the TCP/IP protocol suite is
made of five layers: physical, data
link, network, transport, and
application.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 41


TCP/IP PROTOCOL SUITE

ECCE 0324 ENGR. KRISTINE P. ORTEGA 42


TCP/IP PROTOCOL SUITE
• TCP/IP is a hierarchical protocol
made up of interactive modules,
each of which provides a specific
functionality; however, the modules
are not necessarily interdependent.
– The layers of the TCP/IP protocol suite
contain relatively independent
protocols that can be mixed and
matched depending on the needs of
the system. ENGR. KRISTINE P. ORTEGA
ECCE 0324 43
TCP/IP PROTOCOL SUITE
– The term hierarchical means that each
upper-level protocol is supported by
one or more lower-level protocols.
• At the transport layer, TCP/IP defines
three protocols:
– Transmission Control Protocol (TCP)
– User Datagram Protocol (UDP)
– Stream Control Transmission Protocol
(SCTP)
ECCE 0324 ENGR. KRISTINE P. ORTEGA 44
TCP/IP PROTOCOL SUITE
• At the network layer, the main
protocol defined by TCP/IP is the
Internetworking Protocol (IP).
• Physical and Data Link Layers
– TCP/IP does not define any specific
protocol.
– A network in a TCP/IP internetwork can
be a local-area network or a wide-
area network.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 45
TCP/IP PROTOCOL SUITE
• Network (Internetwork) Layer
– TCP/IP supports the Internetworking
Protocol.
– IP uses four supporting protocols:
• ARP (Address Resolution Protocol)
• RARP (Reverse Address Resolution Protocol)
• ICMP (Internet Control Message Protocol)
• IGMP (Internet Group Message Protocol)

ECCE 0324 ENGR. KRISTINE P. ORTEGA 46


TCP/IP PROTOCOL SUITE
– Internetworking Protocol (IP)
• It is an unreliable and connectionless
protocol a best effort delivery service.
• It assumes the unreliability of the underlying
layers and does its best to get a
transmission through to its destination, but
with no guarantees.
• IP transports data in packets called
datagrams, each of which is transported
separately.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 47


TCP/IP PROTOCOL SUITE
– Address Resolution Protocol (ARP)
• It is used to associate a logical address with
a physical address.
• ARP is used to find the physical address of
the node when its Internet address is
known.
– Reverse Address Resolution Protocol
(RARP)
• It allows a host to discover its Internet
address when it knows only its physical
address.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 48
TCP/IP PROTOCOL SUITE
– Internet Control Message Protocol
(ICMP)
• It is a mechanism used by hosts and
gateways to send notification of datagram
problems back to the sender.
– Internet Group Message Protocol
(IGMP)
• It is used to facilitate the simultaneous
transmission of a message to a group of
recipients.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 49
TCP/IP PROTOCOL SUITE
• Transport Layer
– It was represented in TCP/IP by two
protocols: TCP and UDP.
– IP is a host-to-host protocol.
– UDP and TCP are transport level
protocols responsible for delivery of a
message from a process to another
process.
– A new transport layer protocol, SCTP.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 50
TCP/IP PROTOCOL SUITE
– User Datagram Protocol (UDP)
• It is the simpler of the two standard TCP/IP
transport protocols.
• It is a process-to-process protocol that adds
only port addresses, checksum error
control, and length information to the data
from the upper layer.
– Transmission Control Protocol (TCP)
• It provides full transport-layer services to
applications.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 51


TCP/IP PROTOCOL SUITE
• It is a reliable stream transport protocol.
– Stream means connection-oriented.
• At the sending end of each transmission,
TCP divides a stream of data into smaller
units called segments.
– Segment includes a sequence number for
reordering after receipt, together with an
acknowledgment number for the segments
received.
• Segments are carried across the internet
inside of IP datagrams.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 52


TCP/IP PROTOCOL SUITE
• At the receiving end, TCP collects each
datagram as it comes in and reorders the
transmission based on sequence numbers.
– Stream Control Transmission Protocol
(SCTP)
• It provides support for newer applications
such as voice over the Internet.
• It is a transport layer protocol that
combines the best features of UDP and
TCP.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 53


TCP/IP PROTOCOL SUITE
• Application Layer
– It is equivalent to the combined session,
presentation, and application layers in
the OSI model.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 54


ADDRESSING
• Four levels of addresses are used in
an internet employing the TCP/IP
protocols: physical (link), logical
(IP), port, and specific.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 55


ADDRESSING

ECCE 0324 ENGR. KRISTINE P. ORTEGA 56


ADDRESSING
• Physical Address
– It is also known as the link address.
– It 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.
– Have authority over the network.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 57


ADDRESSING
– The size and format of these addresses
vary depending on the network.
– LAN network commonly use 48-bits
physical address written in 12
hexadecimal digits, every byte is
separated by a colon.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 58


ADDRESSING
• Logical Address
– Necessary for universal
communications that are independent
of underlying physical networks.
– A universal addressing system in which
each host can be identified uniquely,
regardless of the underlying physical
network.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 59


ADDRESSING
– Internet is currently using a 32-bit
address that can uniquely define a host
connected to the Internet.
– 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 usually remain the same.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 60


ADDRESSING

ECCE 0324 ENGR. KRISTINE P. ORTEGA 61


ADDRESSING
• Port Address
– The IP address and the physical
address are necessary for a quantity of
data to travel from a source to the
destination host.
– Arrival at the destination host is not the
final objective of data communications
on the Internet.

ECCE 0324 ENGR. KRISTINE P. ORTEGA 62


ADDRESSING
– The end objective of Internet
communication is a process
communicating with another process.
– It is the label assigned to a process.
– A port address is 16 bits in length
represented by one decimal number.
– The physical addresses will change
from hop to hop, but the logical and
port addresses usually remain the
same.
ECCE 0324 ENGR. KRISTINE P. ORTEGA 63
ADDRESSING

ECCE 0324 ENGR. KRISTINE P. ORTEGA 64


ADDRESSING
• Specific Address
– Some applications have user-friendly
addresses that are designed for that
specific address.
– Examples are e-mail address and the
Universal Resource Locator (URL).
– These addresses get changed to the
corresponding port and logical
addresses by the sending computer
ECCE 0324 ENGR. KRISTINE P. ORTEGA 65

You might also like