CN Unit-1 - Introduction
CN Unit-1 - Introduction
Unit I
Introduction
DATA COMMUNICATIONS
The term telecommunication means communication at a
distance. The word 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.
Effectiveness of data communication depends on
4 fundamental characteristics
1. Delivery
2. Accuracy
3. Timeliness
4. Jitter
Subject: Computer Networks
Department of Applied Computational Science & Engg
Course Code :(KCS- 603) Course Name:Computer Networks
Simplex
• The communication is unidirectional.
• Only one of the two devices on a link can transmit; the other can only
receive.
• Use the entire capacity of the channel to send the data in one direction.
Half-Duplex
• Each station can both transmit and receive, but not at the same time.
• When one device is sending, the other can only receive, and vice versa.
• Use the entire capacity for each direction of data transmission.
Full-Duplex(Duplex)
• Both stations can transmit and receive simultaneously.
• Used when both directions is required at all the time.
• The capacity of the channel must be divided between the two directions.
NETWORKS
A network is a set of devices (often referred to as nodes)
connected by communication links. A node can be a
computer, printer, or any other device capable of sending
and/or receiving data generated by other nodes on the
network. A link can be a cable, air, optical fiber, or any
medium which can transport a signal carrying
information.
Topics discussed in this section:
Network Criteria
Physical Structures
Categories of Networks
Network Criteria
Performance (Transmit & Response time)
Depends on Network Elements
Measured in terms of Delay and Throughput
Reliability(frequency of failure)
Failure rate of network components
Measured in terms of availability/robustness
Security
Data protection against corruption/loss of data due to:
Errors
Malicious users
_x0010_Physical Structures
Type of Connection
Point to Point - single transmitter and receiver
Entire capacity of the channel used between two devices
Multipoint - multiple recipients of single transmission
The capacity of the channel is shared, either spatially(If several devices use the link
simultaneously) or temporally(If devices must take turns- timeshared connection).
Physical Topology
Connection of devices
Type of transmission - unicast, mulitcast, broadcast
Mesh
Every device has a dedicated(link carries only between two devices) point-to-
point link to every other device.
For a mesh network with n nodes, we need n(n-1)/2 duplex-mode links
To accommodate that many links, every device must have n-1
input/output(I/O) ports to be connected to other n-1 stations.
Advantages:
Dedicated link – eliminates traffic problem
entire system
Privacy and security
Disadvantages:
Amount of cabling and the no of I/O ports
Star
Each device has a dedicated point-to-point link only on a central controller,
usually called a hub.
The devices are not directly linked to other devices – hence it does not allow
direct traffic between devices.
The controller acts as an exchange: If one device wants to send data to
another, it sends data to the controller and then it relays the data to the other
connected device.
In star, each device needs only one link and one I/O port to connect to any
other devices.
Advantages:
Less cabling needed
Disadvantages:
Dependency of the whole topology on a single point, the hub. If the hub
Bus
Multipoint connection – One long cable acts as a backbone to link all the
devices in the network.
Nodes are connected to the bus cable by drop lines(connection running
between the device and the main cable) and taps(connectors that either
splices into the main cable or punctures the sheathing of a cable to create a
contact with the metallic core).
Advantages:
Ease of installation
Does not Robust – if a fault or break in the bus cable, then it stops all
transmission.
within a period, it can issue an alarm. Then the alarm alerts the
network operator to the problem and its loction.
Disadvantages:
Unidirectional traffic
the break.
Figure 1.9 A hybrid topology: a star backbone with three bus networks
x0010_Categories of Networks
Local Area Networks (LANs)
Short distances
Designed to provide local interconnectivity
Common topologies – bus, ring and star.
Data rates – 4 to 6 Mbps
Speed – 100 or 1000 Mbps
Wide Area Networks (WANs)
Long distances
Provide connectivity over large areas
Switched WAN –X.25(ATM(Asynchronous Transfer Mode) netowrk),
Frame Relay
Metropolitan Area Networks (MANs)
Provide connectivity over areas such as a city, a campus
Size- between LAN and WAN – high speed connectivity
Telephone company network – DSL line, Cable TV network
Figure 1.12 A heterogeneous network made of four WANs and two LANs
THE INTERNET
The Internet has revolutionized many aspects of our daily
lives. It has affected the way we do business as well as the
way we spend our leisure time. The Internet is a
communication system that has brought a wealth of
information to our fingertips and organized it for our use.
The internet is a collaboration of more than hundreds of
thousands of interconnected networks.
PROTOCOLS
A protocol is synonymous with rule. It consists of a set of
rules that govern data communications. It determines
what is communicated, how it is communicated and when
it is communicated. The key elements of a protocol are
syntax, semantics and timing
x0010_Elements of a Protocol
Syntax
Structure or format of the data
Indicates how to read the bits - field delineation
Semantics
Interprets the meaning of the bits
Knows which fields define what action
Timing
When data should be sent and what
Speed at which data should be sent or speed at which it is being
received.