Professional Documents
Culture Documents
Computer Networks
Computer network connects
two or more autonomous
computers.
Applications of Networks
Resource Sharing
Hardware (computing resources, disks, printers)
Software (application software)
Information Sharing
Easy accessibility from anywhere (files, databases)
Search Capability (WWW)
Communication
Email
Message broadcast
Remote computing
Distributed processing (GRID Computing)
Introduction to Computer Networks
Network Topology
The network topology
defines the way in which
computers, printers, and
other devices are
connected. A network
topology describes the
layout of the wire and
devices as well as the
paths used by data
transmissions.
Introduction to Computer Networks
Bus Topology
Commonly referred to as a
linear bus, all the devices
on a bus topology are
connected by one single
cable.
Introduction to Computer Networks
Ring Topology
A frame travels around the ring,
stopping at each node. If a node wants
to transmit data, it adds the data as
well as the destination address to the
frame.
The frame then continues around the
ring until it finds the destination node,
which takes the data out of the frame.
Single ring – All the devices on the
network share a single cable
Dual ring – The dual ring topology
allows data to be sent in both
directions.
Introduction to Computer Networks
Mesh Topology
The mesh topology
connects all devices
(nodes) to each other for
redundancy and fault
tolerance.
It is used in WANs to
interconnect LANs and for
mission critical networks
like those used by banks
and financial institutions.
Implementing the mesh
topology is expensive and
difficult.
Introduction to Computer Networks
Network Components
Physical Media
Interconnecting Devices
Computers
Networking Software
Applications
Introduction to Computer Networks
Networking Media
Networking media can be
defined simply as the
means by which signals
(data) are sent from one
computer to another
(either by cable or wireless
means).
Introduction to Computer Networks
Networking Devices
HUB, Switches, Routers,
Wireless Access Points,
Modems etc.
Introduction to Computer Networks
Applications
E-mail
Searchable Data (Web Sites)
E-Commerce
News Groups
Internet Telephony (VoIP)
Video Conferencing
Chat Groups
Instant Messengers
Internet Radio
Network Architecture
• Provides a general, effective, fair, and robust connectivity of
computers
• Provides a blueprint
– Types
• OSI Architecture
• Internet Architecture
OSI ARCHITECTURE
• Link Layer
– Framing
– Error Detection
– Reliable Transmission (ARQ protocols)
– Medium Access Control:
• Cables:
– Cat 5 twisted pair, 10-100Mbps, 100m
– Thin-net coax, 10-100Mbps, 200m
– Thick-net coax, 10-100Mbps, 500m
– Fiber, 100Mbps-2.4Gbps, 2-40km
• Leased Lines:
– Copper based: T1 (1.544Mbps), T3 (44.736Mbps)
– Optical fiber: STS-1 (51.84Mbps), STS-N (N*51.84Mbps)
Link Technologies
• Last-Mile Links:
– POTS (56Kbps), ISDN (2*64Kbps)
– xDSL: ADSL (16-640Kbps, 1.554-8.448Mbps), VDSL (12.96Mbps-
55.2Mbps)
– CATV: 40Mbps downstream, 20Mbps upstream
• Wireless Links: Cellular, Satellite, Wireless Local Loop
FRAMING
• Collection of Bits
1.HDLC
High-Level Data Link Control
Bit Stufffing
After 5 consecutive 1s insert 0
Next bit is 0 – stuffed removed
Next bit is 1 –end of frame or erorr
Closed Based Framing(SONET)
• STS-1 Frame
9 rows of 90 byte each
First 3 byte for overhead rest contains data
Payload bytes scrambled- exclusive OR
Supports Multiplexing
Payloads
9 rows
90 columuns
ERROR DETECTION
• Detecting Errors In Transmission
Electrical Interference, thermal noise
Approaches
Two Dimensional Parity
Internet Checksum Algorithm
Cyclic Redundancy Check
Two Dimensional Parity
Mechanism:
Stop and Wait
Sliding Window
Concurrent Logical Channels
Stop And Wait ARQ
• The source station transmits a single frame and then waits for an
acknowledgement (ACK).
Fram Fram
e e
Timeout
Timeout
Time
ACK ACK
Fram
e
Timeout
ACK
(a) (c)
Fram Fram
e e
Timeout
Timeout
ACK
Fram
e
Timeout
Fram
e
Timeout
ACK
ACK
(b) (d)
Stop & wait sequence numbers
Sender Receiver Sender Sender Receiver
Receiver
Timeout
Timeout
Timeout
Timeout
(c) (d)
(e)
… …
LFR LFA
• The process by which the radio waves are propagated through air
and transmits data
• Protocol
• Connection type—Point-to-Point (P2P)
• Spectrum—Licensed or unlicensed
Types
• Infrared Wireless Transmission
– Tranmission of data signals using infrared-light
waves
• Microwave Radio
– sends data over long distances (regions, states,
countries) at up to 2 megabits per second (AM/FM
Radio)
• Communications Satellites
– microwave relay stations in orbit around the earth.
UNIT III Packet Switching
Host A
0 1 3
0 Sw itch 3
1 3
Host B
2
Virtual Circuit Switching
• Explicit connection setup (and tear-down) phase
• Subsequence packets follow same circuit
• Sometimes called connection-oriented model
0 Switch 1
3 1
2 Switch 2
2 3 1
5
11
0
Analogy: phone
call Host A
7
Each switch 0 Switch 3
maintains a VC 1 3
4
table 2 Host B
Datagram Switching
• No connection setup phase
• Each packet forwarded independently
• Sometimes called connectionless
Host D
model
Analogy: postal 3
0 Switch 1
1
Host E
Host F
system 2 Switch 2
Host C 2 3 1
Each switch 0
maintains a Host A
forwarding
(routing) table
Host G 0 Switch 3 Host B
1 3
Host H
Virtual Circuit Model
• Typically wait full RTT for connection setup before sending first
data packet.
A B C
Port 1
Bridge
Port 2
B
B3
C B5
D B7
B2 K
E F
B1
G H
B6 B4
I
J