DFSSDF
DFSSDF
Introduction
DATA COMMUNICATIONS
Communicate sharing information
local remote
Local face-to-face
Remote over a distance
Telecommunication means communication at a distance.
Data refers to information presented in whatever form is
agreed upon by the parties creating and using the data.
Data communications are the exchange of data between two
devices via some form of transmission medium such as a
wire cable.
Communicating devices hardware (physical equipment)
and software (programs)
DATA COMMUNICATIONS
Effectiveness of data communications system depends on
four fundamental characteristics:
Delivery correct destination. Received by the
Reliability
Measured by the frequency of failure, the time it takes a link to recover from
a failure, and the network's robustness in a catastrophe.
Measured in terms of availability/robustness
Security
Protecting data from unauthorized access, protecting data from damage and
development, and implementing policies and procedures for recovery.
Errors
Malicious users
Physical Structures
Types of Connection - two possible types of connections:
Point to Point
Where is it used?
Used in local-area networks (LANs)
Switched WAN
Network with more than 2 ends.
Backbone of global
communication.
Combination of several
point-to-point WANs, connected
by switches.
Categories of Networks
campus
Designed for customers high-speed connectivity to
Cable TV Network
Categories of Networks
Internetwork - When 2 or more networks are connected, they
make an internetwork, or internet. An
internetwork
made of two
LANs and one
WANs
A heterogeneous
network made of four
WANs and three LANs
Switching
An internet is a switched network switch connects at least
2 links. 2 types circuit switched and packet switched
Circuit-Switched Network
Dedicated connection (circuit) available between the 2
end systems
Switch makes it active
and inactive.
High capacity communication line handling 4 voice
communications simultaneously; capacity shared
Switch has forwarding tasks but no storing capability.
If all 4 people on one side are talking to the 4 on the
other side capacity of line fully used. If one person
talking to the other only ¼ of the capacity is used.
Efficient only when working at its full capacity.
Circuit Switching
When a telephone call is made the switching
equipment physical path from your
telephone to the receiver's telephone Circuit
Switching
Circuit Switching
Transport Layer
Logical connection at transport layer is end-to-end.
TL at the source host gets the message from the application layer,
encapsulates it in a transport layer packet (segment or user datagram)
and sends it through the logical connection to the TL at the destination
host.
TL – responsible for giving services to application layer gets message
from an application program running on the source host and delivers it to
the corresponding application program on the destination host.
Transport Layer
TL is independent of the application layer.
There is more than one protocol in the TL application program can
use the protocol that best matches its requirement.
Main protocol – Transmission Control Protocol (TCP) connection-
oriented protocol that first establishes a logical connection between
transport layers at 2 hosts before transferring data.
TCP provides flow control, error control and congestion control.
2nd protocol – User Datagram Protocol (UDP) connectionless
protocol that transmits user datagrams without first creating a logical
connection each user datagram is an independent entity without
being related to the previous or the next one.
UDP does not provide flow control, error control and congestion
control simple, small overhead, used to send short messages.
3rd protocol – Stream Control Transmission Protocol (SCTP) –
responds to new applications that are emerging in multimedia.
Application Layer
Logical connection between 2 applications is end-to-end.
The 2 application layers exchange messages between each other as
though there were a bridge between the 2 layers.
Communication at AL is between 2 processes (2 programs running) a
process sends a request to the other process and receives a response
process-to-process communication is the duty of the application layer.
AL in the Internet predefined protocols and also the user can create a
pair of processes to be run at the 2 hosts.
HTTP (Hypertext Transfer Protocol) – vehicle for accessing the World Wide Web
(WWW).
SMTP (Simple Mail Transfer Protocol) - main protocol in email service..
FTP (File Transfer Protocol) – used to transfer files from one host to another.
TELNET (Terminal Network) and SSH (Secure Shell) – used for accessing a site
remotely.
SNMP (Simple Network Management Protocol) – used by an administrator to manage
the Internet at global and local levels.
DNS (Domain Name System) - used by other protocols to find the network layer
address of a computer.
IGMP ( Internet Group Management Protocol) – used to collect membership in a group.
Encapsulation and Decapsulation
Encapsulation at the source host
Application layer data is referred to as message. Message
normally does not contain header or trailer. Goes to transport
layer.
Transport layer adds transport layer header to the message
layer addresses of the host or the next hop (the router). Link
layer packet is called
frame. Frame is passed
to the physical layer for
transmission.
Encapsulation and Decapsulation
Decapsulation and Encapsulation at the router
Bits delivered to the data link layer DLL decapsulates the
datagram from the frame and passes it to the network layer.
Network layer inspects the source and destination address
in the datagram header, checks the table to find the next hop
to which the datagram is to be delivered. Contents of
datagram not changed unless there is need to fragment the
datagram. The datagram
is passed to the data link
layer of the next link.
DLL of the next link
encapsulates the
datagram in a
frame and passes
it to the physical
layer for
transmission.
Encapsulation and Decapsulation
Decapsulation at the destination host
Each layer decapsulates the packet received, removes payload
and delivers the payload to the net higher layer protocol until
the message reaches the Application Layer.
Decapsulation in the host involves error checking.
The OSI Model
International Organization for Standardization
(ISO) is a multinational body dedicated to
worldwide agreement on international standards.
ISO standard that covers all aspects of network
communications is the Open Systems
Interconnection (OSI) Model. Introduced in the late
1970s.
Open system set of protocols that allow any 2
different systems to communicate regardless of
their underlying architecture shows how to
facilitate communication between different systems
without requiring changes to the logic of the
underlying hardware and software.
The OSI Model
Layered framework for the design of network
systems that allows communication between all
types of computer systems.
Consists of 7 separate but related layers each
defines a part of the process of moving information
across the network.
OSI v/s TCP/IP
Session and Presentation Layer missing in TCP/IP protocol
suite. Application layer is considered to be the combination
of 3 layers (Session, Presentation, Application) 2 reasons
TCP/IP has more than one transport layer protocol. Some
journals
Online digital library journals, conference
proceedings
Person to person communication
Peer-to-peer communication
learning
Applications of Networks - Uses
Home applications
Interactive entertainment
Video-on-demand
Electronic commerce
Home shopping
consumer
Applications of Networks - Uses
Forms of e-commerce
B2C business to consumer eg. ordering
books online
B2B business to business eg. Car
manufacturer ordering tyres from supplier
G2C government to consumer eg. Govt.
distributing tax forms electronically
C2C consumer to consumer eg.
Auctioning second-hand products
P2P Peer to peer eg. file sharing
Applications of Networks - Uses
Mobile Users
Notebook, PDA wireless networks portable
office