Computer Network Session 1 - V 2022
Computer Network Session 1 - V 2022
Introduction to
Computer Networks & Cyber Security
Prepared By : Mohamed AboSehly
References
o CompTIA Network
Lectures: 7
Labs: 2
Assessment
• Final Exam : 70%
• Assignments : 10 %
• Labs : 20 %
BY :MOHAMED ABOSEHLY 3
Agenda
Part 1
Network Essentials
Part 2
Cyber Security Essentials
Part 3
Distributed Systems
Part 1 (Network Essentials)
• Course Outlines
Computer Networks
• Definition and Basic Terminologies
• OSI Model
BY :MOHAMED ABOSEHLY 5
Part 1 (Computer Networks Definition)
• Computer Network :
• a collection of computers, and other devices, or
peripherals connected together through connecting
media to perform certain task such as :
Share Resources
• Resources can be :
• File Sharing
• Devices Sharing
• Software Sharing with multi-user licenses.
• Voice and Video calls
• Shared Internet Access
Part1 (Network Elements)
• Network Elements ﻟو ﻋﺎوز اوﺻل اﻛﺛر ﻣن ﺷﺑﻛﮫ ھﺳﺗﺧدم.. ال ﺳوﯾﺗش ﺑﯾرﺑط اﻻﺟﮭزه ﻓﻲ ﻧﻔس اﻟﺷﺑﻛﮫ
اﻟراوﺗر
Hardware
• Devices
• Computers – Printers –Phone – Routers - Switches
• Medium
• Wired -Wireless –Satellites
Software
• Messages
• Information that travels over the medium such as Mails-WhatsApp….etc
• Protocols
• Governs how messages flow across network such as http –https-FTP-RDP
Session 1 (Network Basic Terminologies )
• NIC (Network Interface Card)/network adapter or LAN adapter.
• a hardware that enable the device to directly access the network
• Internal NIC (plugs into the motherboard directly)
• External NIC(Wireless and USB based )
• Mac address:
• Physical Address, Unique address over the world burned on the NIC
card
• IP address :
• logical address, identify each device on an IP network layer.
• Protocols
• Communication rules that all entity must agree on http –https-FTP-RDP
• Topology
• how devices are connected (shape) and how message flow from one
device to another device
Session 1 (Network Basic Terminologies )
• Hub
• Allow different nodes to communicate with each other at the same
network(Slow the network)
• Switch
• Allow different nodes to communicate with each other at the same
network and time without slowing each other
• Router
• Allow different networks to communicate with each other
• Repeater
• Regenerate the signal over the same network before the signal
becomes too weak or corrupted
How to apply networks ?
According to Covered Area
How large is the network?
BY :MOHAMED ABOSEHLY 18
Network Topology
Topology
• Refers to the shape of a network, or the network's layout.
• Types
• Physical Topology: how computers connected to each
other physically (wired)
BY :MOHAMED ABOSEHLY 19
Network Topology
Bus Topology
BY :MOHAMED ABOSEHLY 20
Network Topology
Frame Transmission - Bus LAN
• The backbone functions as a shared
communication medium
• Device wanting to communicate with another
device on the network sends a message onto the
backbone
The message is heard by all stations, but only
the intended recipient actually accepts and
processes the message.
• Terminator absorbs frames at end of medium Station C want to transmit a
frame of data to station A.
BY :MOHAMED ABOSEHLY 21
Network Topology
Bus Advantages and Disadvantages
• Advantages
– Simple, easy to use and construct
– Requires least amount of cable (less expensive)
– Reliable
• Disadvantages
– A faulty cable take the entire LAN down
– Difficult to troubleshoot
– No security
– Slow during peak traffic period
BY :MOHAMED ABOSEHLY 22
Network Topology
Star Topology
Switched Star
Central node can act as frame switch
- Retransmits only to destination
BY :MOHAMED ABOSEHLY 24
Network Topology
Star Advantages and Disadvantages
Advantages:
– Network not affected if one PC fails
– Network expansion and reconfiguration is simple
– Network management and monitoring can be
centralized
– Troubleshooting is easy
Disadvantages
– If the central device fails, all the network fails
BY :MOHAMED ABOSEHLY 25
Network Topology
Ring Topology
A cable connects one node to another to form a ring (shape of a
closed loop)
BY :MOHAMED ABOSEHLY 26
Network Topology
Frame Transmission - Ring LAN
Data transmitted in frames (token)
Circulate past all stations
Destination recognizes address and copies
frame
Data is passed one way from device to
device.
Frame circulates back to source where it is
removed
Medium access control determines when
station can insert frame
BY :MOHAMED ABOSEHLY 27
Network Topology
Dual Ring Topology
BY :MOHAMED ABOSEHLY 28
Network Topology
Ring Advantages and Disadvantages
Advantages:
– Fair (Equal access for all users)
– Perform well under heavy traffic
Disadvantages
– Network expansion or reconfiguration will affect the
network operation
– If one node fails, the entire network fails
– Difficult to troubleshoot
– very bad if we have about 60 pc, Slow Network
BY :MOHAMED ABOSEHLY 29
Network Topology
Mesh Topology
Each device/PC is connected to every other
device/PC in the network by its own cable
Amount of cables needed can be calculated by:
CN = (D * (D-1)) / 2
(where CN is Cables Needed, and D is the amount
of devices on the network)
Mesh Types:
Full Mesh
Partial Mesh
BY :MOHAMED ABOSEHLY 30
Network Topology
Mesh Advantages and Disadvantages
Advantages:
– Mesh topology boasts the highest fault tolerance of
all of the network topologies
– Redundancy exist
– Secure
Disadvantages
– Because each connection needs its own cable a
Mesh topology can get very expensive
BY :MOHAMED ABOSEHLY 31
Network Topology
Hybrid Topology
BY :MOHAMED ABOSEHLY 32
Network Topology
Hybrid Advantages and Disadvantages
Advantages:
– Network expansion is simple
Disadvantages
– If hub fails connections between failed hub
and other hubs will fail
Networks Classifications
– Hardware
– Devices
• Computers – Printers –Phone – Routers - Switches
– Medium
• Wired -Wireless –Satellites
– Software
– Messages
• Information that travels over the medium
• Mails-WhatsApp….etc
– Protocols
• Governs how messages flow across network
• http –https-FTP-RDP
Basic Network Elements (Software)
Software
Protocols
Basic Network Elements (Software)
What is Protocols ?
- Communication rules that all entity must agree on
- Method to connect internetworking elements
Why we need Protocols ?
• To communicate efficiently
• Enable data to flow from one NIC to another
• Control the messages and the messages quantity in the network.
Host to Host Communication
Older Model
• Proprietary
• Application and combinations software controlled by one
vendor