Beruflich Dokumente
Kultur Dokumente
Izaz A Khan
BOOKS
Course Book:
Data Communication and Networking 4th edition by Behrouz A Forouzan.
Reference books:
James F. Kurose and Keith W. Ross, Computer Networking A Top-Down Approach Featuring the Internet, Addison Wesley. William Stallings, "Data and Computer Communications", Prentice-Hall Sixth Edition (for those who want to review basics of networking). Andrew S Tanenbaum Computer Networks.
MARKS DISTRIBUTION
Mid term = 20% Quizzes, Presentations and Assignments = 15% Attendance and class participation = 5% Final exam = 60%
Chapter 1
COMPUTER NETWORKS
Two or more computers connected together through a communication media form a computer network. The computers are connected in a network to exchange information and data. The computers connected in a network can also use resources of other computers.
CONTINUED
5. Resources: Any thing available to a client on the network is
considered a resource .Printers, data, fax devices and other network devices and information are resources.
NETWORK CRITERIA
1. Performance
2. Reliability
3. Security
B. Classification by topologies.
C. Classification by switching. D. Classification by computing models.
A- CLASSIFICATION BY DISTANCES
LAN MAN WAN
B- CLASSIFICATION BY TOPOLOGIES
1- MESH TOPOLOGY
MESH TOPOLOGY
To find the number of the number of duplex-mode links in a mesh topology we use
n(n-1)/2
where n is the number of nodes (PCs, printers, scanners etc).
MESH TOPOLOGY
Advantages:
1.No high traffic problem, as each connection can carry its own data load. 2.Mesh topology is robust (means if one link is down it doesnt effect the entire system). 3.Mesh topology has the advantage of privacy and security.
Disadvantages:
1.Large amount of cabling and ports. 2.Difficult installation and reconnection. 3.Expensive.
2- STAR TOPOLOGY
STAR TOPOLOGY
The number of links in star topology is = n where n is the number of nodes.
STAR TOPOLOGY
Advantages:
1. Less expensive than mesh topology. 2. Easy to install and configure. 3. Star topology is robust (in the case of a link failure).
Disadvantages:
1. Dependency of the whole topology on one single point, the hub.
2. Although star topology requires less cabling than mesh topology, still it requires more cabling than some other topologies like bus or ring.
3- BUS TOPOLOGY
BUS TOPOLOGY
The number of links in bus topology is = n where n is the number of nodes.
BUS TOPOLOGY
Advantages:
1. Ease of installation. 2. Less cabling. 3. Cheaper.
Disadvantages:
1. Difficult reconnection and fault isolation.
2. A fault or break in the bus cable stops all transmission beyond the point where the fault occurs.
4- RING TOPOLOGY
RING TOPOLOGY
The number of links in star topology is = n-1 where n is the number of nodes.
RING TOPOLOGY
Advantages:
1. Relatively less expensive topology. 2. Easy to install and configure. 3. Simple fault isolation (Generally in a ring, a signal is circulating all the time, if one device does not receive the signal within a specific time it can issue an alarm).
Disadvantages:
1. Unidirectional traffic can be a disadvantage. 2. In a simple ring, a break in the ring can disable the entire network.
C- CLASSIFICATION BY SWITCHING
1. Circuit Switching. 2. Packet Switching.
1- PACKET SWITCHING
In packet-based networks, the message gets broken into small data packets. These packets are sent out from the computer and they travel around the network seeking out the most efficient route to travel as circuits become available.
Each packet is sent with a header address which tells it where its final destination is, so it knows where to go.
PACKET SWITCHING
Advantages:
Security Bandwidth used up to some extent but not the full bandwidth. Devices of different speeds can communicate Not affected by line failure (redirects signal) Availability no waiting for a direct connection to become available During a crisis or disaster, when the public telephone network might stop working, e-mails and texts can still be sent via packet switching
PACKET SWITCHING
Disadvantages:
Under heavy use there can be a delay Data packets can get lost or become corrupted Protocols are needed for a reliable transfer Not so good for some types data streams (e.g. real-time video streams can lose frames due to the way packets arrive out of sequence)
2- CIRCUIT SWITCHING
Circuit switching was designed in 1878 in order to send telephone calls down a dedicated channel. This channel remains open and in use throughout the whole call and cannot be used by any other data or phone calls.
CIRCUIT SWITCHING
In modern circuit-switched networks, electronic signals pass through several switches before a connection is established. During a call no other network traffic can use those switches.
The resources remain dedicated to the circuit during the entire data transfer and the entire message follows the same path.
Circuit switching can be analog or digital.
CIRCUIT SWITCHING
Advantages
Circuit is dedicated to the call no interference, no sharing Guaranteed the full bandwidth for the duration of the call Guaranteed quality of service
CIRCUIT SWITCHING
Disadvantages
It takes a relatively long time to set up the circuit. During a crisis or disaster, the network may become unstable or unavailable. It was primarily developed for voice traffic rather than data traffic.