ali
ali
---
1. Network Devices
Router:
A router operates at Layer 3 (Network Layer). It
connects multiple networks and forwards packets
between them using IP addressing. Routers
analyze packet headers to determine the best path
for delivery. They also enable communication
between different VLANs and can provide security
through Access Control Lists (ACLs).
Example: Connecting an internal LAN to the
internet.
Switch:
A switch operates at Layer 2 (Data Link Layer). It
forwards data based on MAC addresses. Unlike
hubs, switches reduce network congestion by
sending data only to the intended recipient.
Managed switches support VLANs and port
security.
Example: Connecting devices in a single office
network.
Firewall:
A firewall can be hardware or software, operating
at various layers to protect the network by filtering
traffic based on rules. It blocks unauthorized
access and mitigates cyber threats.
Example: Preventing access to a private network
from external attackers.
Bridge:
A bridge connects two LANs and filters traffic to
reduce
congestion. It learns MAC addresses from devices
to decide whether to forward traffic.
Example: Connecting two floors of a building
within the same network.
Hub:
A basic networking device that operates at Layer 1
(Physical Layer). It broadcasts data to all
connected devices, leading to collisions in the
network. It is now largely obsolete.
Repeater:
A device used to extend the range of a network by
amplifying and retransmitting signals. Useful for
overcoming signal degradation in long-distance
connections.
Layer 3 Switch:
Combines the speed of switches with routing
capabilities of routers. It enables communication
between VLANs without requiring a separate
router.
---
configure terminal
vlan 10
name HR_Department
Advantages:
Example Configuration:
---
4. IP Addressing
Class A:
Class B:
Range: 128.0.0.0 – 191.255.255.255
Class C:
---
5. Subnetting (ITSC Company Example)
Steps to Subnet:
1. Find the Subnet Mask:
2. Calculate Subnets:
Subnet 1:
Broadcast: 172.17.31.255.
Hosts: 172.17.0.1 – 172.17.31.254.
Subnet 2:
Broadcast: 172.17.63.255.
---