network_no._01
network_no._01
By
Dr. / Tarek Ahmed Wrshana
International standard organization (ISO) established a committee in 1977 to develop an
architecture for computer communication.
Open Systems Interconnection (OSI) reference model is the result of this effort.
In 1984, the Open Systems Interconnection (OSI) reference model was approved as an
international standard for communications architecture.
Term “open” denotes the ability to connect any two systems which conform to the
reference model and associated standards.
The OSI model is now considered the primary Architectural model for inter-computer
communications.
The OSI model describes how information or data makes its way from application
programmes (such as spreadsheets) through a network medium (such as wire) to another
application programme located on another network.
The OSI reference model divides the problem of moving information between computers
over a network medium into SEVEN smaller and more manageable problems .
This separation into smaller more manageable functions is known as layering.
OSI Reference Model: 7 Layers
The process of breaking up the functions or tasks of networking into layers reduces complexity.
Each layer provides a service to the layer above it in the protocol specification.
Each layer communicates with the same layer’s software or hardware on other computers.
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 four layers of the OSI model (application, presentation and session—Layers 7, 6 and 5) are orientated more
toward services to the applications.
Data is Encapsulated with the necessary protocol information as it moves down the layers before network transit.
Physical Layer
Data link layer attempts to provide reliable communication over the physical layer interface.
Breaks the outgoing data into frames and reassemble the received frames.
Create and detect frame boundaries.
Handle errors by implementing an acknowledgement and retransmission scheme.
Implement flow control.
Supports points-to-point as well as broadcast communication.
Supports simplex, half-duplex or full-duplex communication.
Defines the most optimum path the packet should take from the source to the destination
Defines logical addressing so that any endpoint can be identified.
Handles congestion in the network.
Facilitates interconnection between heterogeneous networks (Internetworking).
The network layer also defines how to fragment a packet into smaller packets to
accommodate different media.
Network Layer
Purpose of this layer is to provide a reliable mechanism for the exchange of data between
two processes in different computers.
Transport Layer
Session layer provides mechanism for controlling the dialogue between the two end
systems. It defines how to start, control and end conversations (called sessions)
between applications.
This layer requests for a logical connection to be established on an end-user’s request.
Any necessary log-on or password validation is also handled by this layer.
Session layer is also responsible for terminating the connection.
This layer provides services like dialogue discipline which can be full duplex or half
duplex.
Session layer can also provide check-pointing mechanism such that if a failure of some
sort occurs between checkpoints, all data can be retransmitted from the last
checkpoint.
Session Layer
Presentation layer defines the format in which the data is to be exchanged
between the two communicating entities.
Also handles data compression and data encryption (cryptography).
Presentation Layer
Application layer interacts with application programs and is the highest level of OSI
model.
Application layer contains management functions to support distributed
applications.
Examples of application layer are applications such as file transfer, electronic mail,
remote login etc.
Application Layer
OSI in Action
A message begins at the top application layer and moves down the
OSI layers to the bottom physical layer.
As the message descends, each successive OSI model layer adds a
header to it.
A header is layer-specific information that basically explains what
functions the layer carried out.
Conversely, at the receiving end, headers are striped from the
message as it travels up the corresponding layers.
TCP/IP MODEL
Transfer Control Protocol/Internet Protocol
Application Layer
Application programs using the network
Transport Layer (TCP/UDP)
Management of end-to-end message transmission,
error detection and error correction
Network Layer (IP)
Handling of datagrams : routing and congestion
Data Link Layer
Management of cost effective and reliable data delivery,
access to physical networks
Physical Layer
Physical Media
Transmission Control Protocol TCP
Internet Protocol IP
Internet Protocol IP
Internet Protocol IP
1 – SNMP
Simple Network Management Protocol
Network Protocols
2 – FTP
File Transfer Protocol
3 – TFTP
Trivial File Transfer Protocol
4 – SMTP
Simple Mail Transfer Protocol
5 – POP
Post Office Protocol
6 – IMAP
Internet Mail Access Protocol
7 – Telnet
Terminal Emulation
8 – ICMP
Internet Control Message Protocol
9 – HTTP
Hypertext Transfer Protocol
10 – ARP
Address Resolution Protocol
11 – NTP
Network Time Protocol
12 – UDP
User datagram Protocol
PORTS and SOCKETS
Physical Media
Physical Media
Copper
Coaxial Cable - Thick or Thin
Unshielded Twisted Pair - CAT 3,4,5,5e&6
Optical Fiber
Multimode
Singlemode
Wireless
Short Range
Medium Range (Line of Sight)
Satellite
Physical Media
Categories of UTP
UTP comes in several categories that are based on the number of twists in the wires, the
diameter of the wires and the material used in the wires.
Category 3 is the wiring used primarily for telephone connections.
Category 5e and Category 6 are currently the most common Ethernet cables used.
Physical Media
Bandwidth 16 Mhz
11.5 dB Attenuation
100 ohms Impedance
Used in voice applications and 10baseT (10Mbps) Ethernet
Physical Media
20 MHz Bandwidth
7.5 dB Attenuation
100 ohms Impedance
Used in 10baseT (10Mbps) Ethernet
Physical Media
Fiber Media
Fiber Media
Light travels through the optical media by the way of total internal reflection.
Modulation scheme used is intensity modulation.
Two types of Fiber media :
Multimode
Singlemode
Multimode Fiber can support less bandwidth than Singlemode Fiber.
Singlemode Fiber has a very small core and carry only one beam of light. It can support
Gbps data rates over > 100 Km without using repeaters.
Physical Media
Single-mode fiber
Carries light pulses along single path
Uses Laser Light Source
Multimode fiber
Many pulses of light generated by LED travel at
different angles
Physical Media
Fiber Media
Fiber-Optic Cable
Wireless Media
Wireless Media
Frequency Bands
Physical Media
Wireless LAN
PC
Access Point
Internet Switch
Router
PC
Access Point
Physical Media
Terrestrial Microwave
Satellite Communication