Screenshot 2025-05-27 at 12.07.05 AM
Screenshot 2025-05-27 at 12.07.05 AM
Lecture – 1,2
4
Course Aims\Outcomes
1. Introduction to Communication and Networking:
Understand the basics of communication and how networks
have transformed modern life.
2. Modeling and Usage of Networks: Learn how networks are
modeled and applied in real-world scenarios.
3. Layered Networking Approach: Gain knowledge through a
top-down approach, starting from the application layer and
moving down to physical layers.
4. Hands-on Networking: Develop practical skills in configuring
small networks using Cisco IOS commands.
5
General Outlines
6
Assessment Methods, Weeks, and Grading
7
References
8
• You are not allowed to attend the lecture after 5 mins of its start.
• You are free to ask any time in the lecture topic.
• If you have a question out of the lecture scope, it is preferable to ask it
after the lecture or at the end of it.
• Absence from the quiz cannot be made up.
• Assignments should be submitted in person during office hours, within
a maximum of one week from the date they are assigned.
• Don’t attend the lecture just for attendance, it won’t help you. Try to
gain knowledge
9
INTRODUCTION
What is the Computer Network?
Computer Network means, a collection of
Computers, and other devices, or peripherals
connected together through connecting media.
Benefits of Computer Networks
Easy access and sharing of information.
Sharing of expensive devices and network
resources:
File Sharing.
Peripheral Sharing.
Software Sharing with multi-user licenses.
Modern Technologies (IP telephony, Video
Conferencing, ….etc).
Shared Internet Access.
Data Communication System
Network Components
H /W S/W
Repeater Router
Hub
Bridge
Switch
Hardware Components
1) Shared Channel (transmission media):
Media that physically connect the computers and network devices
It can be:
a) Wired (cables) such as :
▪ Metallic wires - encoding into patterns of electrical impulses.
▪ Fiber optics – encoding into pulses of light (infrared or visible light
ranges)
b) Wireless (Air) which encoding patterns of electromagnetic waves.
such as :
• Infrared.
• Bluetooth.
• Radio Waves
• Microwaves.
Hardware Components (cont.)
2) NIC (Network Interface Card):
The hardware that plugs into the motherboard and directly
access the network.
3) Devices:
A) End Devices:
▪ Source of applications (network aware applications).
▪ Such as : Workstations, PCs , Servers, Printers…etc.
B) Network Devices:
▪ Devices that interconnect different computers together.
▪ Ex: Repeaters, hub, bridge, switch, router, NIC and modems
Hardware Components (cont.)
Network Devices can be categorized into:
I. Network Access Devices: Provide connectivity to the
network such as:
▪ Hub: device allows different nodes to communicate with
each other.
▪ Switch: Allow different nodes to communicate with each
other at the same time without slowing each other down.
II. Internetworking Devices: Connect individual networks
such as:
▪ Router: Allow different networks to communicate with each other
Hardware Components (cont.)
NIC: Hub:
Hardware Components (cont.)
Switch: Router:
LAN
Area MAN
WAN
P2P
Network Classification Sharing of
Information
C/S
Circuit Switch
Interchange
method
Packet Switch
Bus
Star
Topology
Ring
Mesh
Classifications of Networks
According to covered area:
LAN.
MAN.
WAN.
According to network model:
C/S.
P2P.
According to network topology:
Bus, Star, Ring, Extended Star, Mesh etc.
(1) According to covered area:
Disadvantages:
A faulty cable will take the entire LAN down
Difficult to troubleshoot
Heavy network traffic can slow bus considerably
Star Topology
A physical Star topology connects the devices via a
centralized unit such as a Hub or Switch.
Broadcasted Star
Topology (Hubbed Star)
When the connector message travels full circle and arrives at the
original sending station, it checks the message to see if it's been
received. It then discards the message and replaces it with a token.
Ring Topology (cont.).
Advantages and Disadvantages
Advantages
Equal access for all users
Perform well under heavy traffic
Disadvantages
If one device/cable fails then the whole network goes down.
Difficult to troubleshoot
Adding/Removing computers disrupts the whole network
Mesh Topology
In a mesh topology each device/PC is connected to every
other device/PC in the network by its own cable.
Mesh Types:
Full Mesh.
Partial Mesh.
Mesh Topology (cont.)
Advantages and Disadvantages
Advantages
Mesh topology boasts the highest fault tolerance of all of the
network topologies
Disadvantages
Because each connection needs its own cable a Mesh topology can
get very expensive.
Hybrid Topologies
Hybrid means that there is more than
one topology exist
Stared Bus
Groups of star-configured networks
are connected to a linear bus
backbone.
Advantages:
Network expansion is simple
Disadvantages:
If hub fails connections between failed
hub and other hubs will fail
According to data Interchange
Method
Dedicated communication path between two stations
Three phases
Circuit establishment
Data transfer
Circuit disconnect
Must have switching capacity and channel capacity to
establish connection
Examples of circuit-switched communication links
are analog dialup (PSTN)
According to data Interchange
Method (cont.)
Circuit-switch communication
Circuit Switching – Properties(1)
Inefficient
Channel capacity dedicated for duration of
connection
If no data, capacity wasted
Set up (connection) takes time
Once connected, transfer is transparent
Developed for voice traffic (phone)
Circuit Switching – Properties(2)
Inflexible
The path taken remain the same as soon as it is
established
Assume single data rate for both
communicating devices
When traffic become heavy request for new
connection is refused (Blocking)
Packet-Switching – Basics
Data transmitted in small packets
Longer messages split into series of packets
Each packet contains
Payload : portion of user data
Header : Control information (Routing and
addressing information)
Packets are received, stored briefly (buffered)
and passed on to the next node
Packet-Switching –
Use of Packets
Packet-Switching –
Advantages(1)
Line efficiency
Single node to node link can be shared by
many packets over time
Packets queued and transmitted as fast as
possible
Data rate conversion
Each station connects to the local node at its
own speed
Nodes buffer data if required to equalize rates
Packet-Switching –
Advantages(2)
Packets are accepted even when network is
busy
Delivery may slow down but no blocking
Priorities can be used
Network Transmission
Media
To transmit data, a medium must exist
The medium can be in the form of cables or wireless
medium
Most common used media for data networks
Twisted pair cable
Coaxial cable
Fiber optic cable
Wireless media
Network Transmission
Media
Cable Media
Twisted Pair Cables
STP
UTP
Fiber Optic Cables
Coaxial Cables
Wireless Media
Infrared
Microwave
Bluetooth
Network Transmission
Media
Cable Media
There are several types of cable which are commonly used
with LANs.
1 1
2 2
3 3
6 6
Cross-over Cable
1 3
2 6
3 1
6 2
Coaxial
Cost is Moderate
Fairly Easy
Installation
Bandwidth ~ 10
Mbps
Attenuation ~ few
hundreds of meters
Fiber-optic
Highest Cost
Difficult Installation
Bandwidth ~ 2 Gbps
Attenuation ~ ten of
kilometers (low)
Wireless Media
Flexible (Used in areas where it is hard to install
cables )
Used in wireless LANs
Hybrid environment is one which wireless
components communicate with a network that
use cables