Chapter - Two of Networking212
Chapter - Two of Networking212
Chapter - Two of Networking212
Architectures
Protocol standards
Open standard
the receiving computer must perform the same steps, but in reverse order
accept the data from the NIC
remove transmitting information that was added by the transmitting computer
reassemble the packets of data in to the original message
Cntd…
the key elements of a protocol are:
syntax: refers to the structure or format of the data or signal level
semantics: refers to the meaning of each section of bits
timing: refers to when data should be sent and how fast they can be sent
Monolithic/structured
• Communications is a complex task for a single unit
• One big protocol vs. many structured protocols function as one.
5
Motivations for standards
Promote and maintain an open and competitive market for network
hardware and software.
The overwhelming need for interoperability both nationally and
internationally,
Increased the set of choices in terms of vendor and capability for
each aspect of data communications
buy hardware and software from any vendor whose equipment meets
the standard
help to promote more competition and hold down prices.
5
Layered architecture
It is to divide the design into small pieces
Each layer in the model has specific sets of procedures, functions, and
protocols.
One layer can communicate with an adjacent layer by using its interface.
It provides modularity and clear interfaces
Each layer provides a service to the layer above it and gets service from
below it in the protocol specification.
Each layer communicates with the same layer’s software or hardware on
other computers.
Each layer should perform a well-defined function
The lower 4 layers (transport, network, data link and physical : Layers 4, 3,
2, and 1) are concerned with the flow of data from end to end through the
network.
The upper three layers of the OSI model (application, presentation and
session: Layers 7, 6 and 5) are orientated more toward services to the
applications.
Open Systems Interconnection (OSI) Reference
Model …
19
Open Systems Interconnection (OSI) Reference
Model …
Cntd…
Encapsulation :- is a process in which protocol information is added
to the data.
7
Functions of the seven layer of OSI model
Layer 7: Application
The application layer is the OSI layer that is closest to the user.
It provides network services to the user’s applications.
contains all the higher level protocols that are commonly needed by
users
Layer 6: Presentation
The presentation layer ensures that the information that the application
layer of one system sends out is readable by the application layer of
another system.
It receives the data from upper layer and converts into smaller units
known as segments.
Services include:
Service point addressing
Port number
Segmentation /reassembly
Connection control
.Connectionless or connection oriented
Flow and error control
(Transport layer )Cntd…
Segmentation and reassembly
the message receives from the upper layer, it divides the message into
multiple segments and each segment is assigned with a sequence
number that uniquely identifies each segment.
When the message has arrived at the destination, then the transport
layer reassembles the message based on their sequence numbers.
reasons for segmentation:
the communication network may only accept blocks of data up to a
certain size
error control may be more efficient with a smaller frame size; fewer
bits need to be retransmitted when a frame gets corrupted
7
facilitates more equitable access to shared transmission
(Transport layer ) Cntd…
disadvantages
If one segmented packet is missing , then the overall file cannot
be read
Needs a queuing and rebuilding system for segmented packets
Time it takes to Processing
More Bandwidth of Overhead
Service-point addressing:- adds the header that contains the address
known as a service-point address or port address
It is to transmit the message to the correct process( process to
process)
Transport layer ) Cntd…
Connection control: two types of protocols (services)
1. Connection-oriented service :- a logical association or connection is
established between the communicating computers (devices).
data transmission between the nodes within a network and manages the
connections between physically connected devices such as switches.
The raw data received from physical layer is synchronized and pack-
aged into data frames.
The data link layer is divided into two sublayers:
Logical Link Control (LLC) sublayer is responsible for flow controls
and error controls that ensure error-free and accurate data transmission
between the network nodes.
Media Access Control (MAC) sublayer is responsible for managing ac-
cess and permissions to transmit data between the network nodes.
Cntd…
Layer 2: Data Link ...
The data link layer provides reliable transit of data across a physical
link by using the Media Access Control (MAC) addresses.
The data link layer uses the MAC address to define a hardware or data
link address in order to uniquely identify multiple stations to locally.
Examples :- Ethernet, Frame Relay, FDDI.
Cntd…
Layer 1: Physical
the layer that actually interacts with the transmission media
the physical part of the network that connects network components to-
gether
involved in physically carrying information from one node in the network
to the next
The physical layer deals with the physical characteristics of the transmis-
sion medium.
It defines
mechanical: the size and shape of the network connector, how many
pins does the network connector has and what each pin is used for
electrical: how many volts represent a 1 and how many a 0
Cntd…
a. Such characteristics as voltage levels, timing of voltage changes, physical
data rates, maximum transmission distances, physical connectors, and
other similar attributes are defined by physical layer specifications.
Examples :- EIA/TIA-232, RJ45, BNC
TCP/IP Reference Model
Shortcomings of TCP/IP
the model does not clearly separate the concepts of service, inter-
face, and protocol
It is not generic in nature which fails to represent any protocol stack
other than the TCP/IP suite e.g. cannot describe the Bluetooth con-
nection.
the host-to-network layer is not really a layer at all
does not distinguish (or even mention) the physical and data link
layers
OSI vs. TCP/IP
In OSI:
Network –Connectionless/ Connection oriented
Transport –Only Connection oriented
In TCP/IP:
Transport - Connectionless/ Connection oriented
Very useful for simple request reply
Network – Only Connectionless
OSI:
Difficult to Implement
Cntd…
Wi-Fi(wireless fidelity)
ATM
PPP
Ethernet
Fast Ethernet
FDDI
Token ring