🔹 1.
Introduction to Communication System
A communication system allows the exchange of data between devices using different
mediums (wired, wireless).
● Types of Communication:
○ Simplex: One-way (e.g., radio, TV).
○ Half-Duplex: Two-way, but one at a time (e.g., walkie-talkies).
○ Full-Duplex: Simultaneous communication (e.g., phone calls).
● Components: Sender, Receiver, Transmission Medium, Protocols.
🔹 2. Overview of Transmission Media
Transmission media are the physical or wireless channels used for communication.
Type Description Example
Wired Uses cables for data Ethernet, Fiber Optic, Coaxial
transfer
Wireles Uses radio waves Wi-Fi, Bluetooth, Cellular (4G, 5G)
s
🔹 3. OSI Model (Open Systems Interconnection)
The OSI model is a conceptual framework with 7 layers to standardize networking.
Layer Function Example Protocols
7. Application User interaction HTTP, FTP, SMTP
6. Data translation & encryption SSL/TLS, ASCII
Presentation
5. Session Establishes and manages NetBIOS, RPC
sessions
4. Transport Data delivery & error checking TCP, UDP
3. Network Logical addressing, Routing IP, ICMP, OSPF, BGP
2. Data Link MAC addressing, Framing Ethernet, PPP, VLAN
1. Physical Transmission of raw bits Cables, Hubs, NIC
💡 Why is OSI important? It helps in troubleshooting network issues by understanding which
layer is causing the problem.
🔹 4. TCP/IP Model
The TCP/IP model is a simplified version of OSI, used in real-world networking.
OSI Layer TCP/IP Equivalent Function
Application (7,6,5) Application Layer Handles protocols like HTTP, FTP
Transport (4) Transport Layer Manages TCP/UDP
communication
Network (3) Internet Layer IP addressing, Routing
Data Link + Physical (2,1) Network Access Layer Hardware & media
🔹 5. Router IOS & Security Device Manager
● Router IOS (Internetwork Operating System): The command-line OS used in Cisco
routers.
● Security Device Manager (SDM): A web-based GUI for managing Cisco routers &
firewalls.
Common IOS Commands:
bash
CopyEdit
show running-config
show ip route
configure terminal
●
🔹 6. Managing an Internetworking Router
Basic Router Configuration:
bash
CopyEdit
configure terminal
hostname Router1
interface GigabitEthernet0/0
ip address [Link] [Link]
no shutdown
exit
●
● Router Modes:
○ User Mode (>)
○ Privileged Mode (#)
○ Global Configuration Mode ((config))
🔹 7. Overview of LAN (Local Area Networks)
● LAN is a network within a limited area (home, office).
● Uses Ethernet as a standard communication protocol.
● Common LAN Devices: Switches, Routers, Access Points.
🔹 8. VLAN (Virtual Local Area Network)
● VLAN is a network segmentation method that logically divides a physical switch.
● Helps in improving security & reducing broadcast traffic.
VLAN Configuration on a Cisco Switch:
bash
CopyEdit
configure terminal
vlan 10
name Sales
interface GigabitEthernet0/1
switchport mode access
switchport access vlan 10
exit
●
🔹 9. Configuration of Switch
● Switches are Layer 2 devices used for network connectivity.
Basic Configuration:
bash
CopyEdit
configure terminal
hostname Switch1
interface vlan 1
ip address [Link] [Link]
no shutdown
exit
●
Enable Port Security:
bash
CopyEdit
switchport port-security maximum 2
switchport port-security violation restrict
●
🔹 10. Overview of STP (Spanning Tree Protocol)
● STP prevents loops in redundant network topologies.
● STP States: Blocking → Listening → Learning → Forwarding.
🔹 11. Networking Protocols
● IP (Internet Protocol) – Addressing & Routing.
● ARP (Address Resolution Protocol) – Maps IP to MAC.
● ICMP (Internet Control Message Protocol) – Used for troubleshooting (ping).
● DHCP (Dynamic Host Configuration Protocol) – Assigns dynamic IPs.
🔹 12. IP Addressing (FLSM, VLSM, CIDR)
Type Description
FLSM (Fixed Length Subnet Masking) Same subnet mask for all subnets.
VLSM (Variable Length Subnet Masking) Different masks based on need.
CIDR (Classless Inter-Domain Routing) Eliminates traditional IP classes (e.g.,
/24).
🔹 13. Static & Dynamic Routing (RIP, IGRP, EIGRP,
OSPF)
Static Routing: Manually configured routes.
bash
CopyEdit
ip route [Link] [Link] [Link]
●
● Dynamic Routing Protocols:
○ RIP: Distance-vector, uses hop count.
○ EIGRP: Cisco-proprietary, fast convergence.
○ OSPF: Link-state, uses cost metric.
🔹 14. Introduction to NAT (Network Address Translation)
● NAT converts private IPs to public IPs for internet access.
● Types of NAT:
○ Static NAT: One-to-one mapping.
○ Dynamic NAT: Maps private IPs to available public IPs.
○ PAT (Port Address Translation): Multiple private IPs share one public IP.
Example NAT Configuration:
bash
CopyEdit
ip nat inside source list 1 interface GigabitEthernet0/0 overload
access-list 1 permit [Link] [Link]
🔹 15. Introduction to IPv6
Feature IPv4 IPv6
Address 32-bit 128-bit
Size
Format Decimal ([Link]) Hexadecimal ([Link])
Security No built-in encryption Built-in IPSec
IPv6 Example Address: [Link]
🔹 16. Introduction to WAN (Wide Area Networks)
● WAN connects multiple LANs over long distances.
● Common WAN Technologies: MPLS, Leased Lines, VPNs.
● Devices: Routers, Modems, Firewalls.
🔹 17. Infrastructure Security
Firewall Rules (Linux IPTables Example):
bash
CopyEdit
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -P INPUT DROP
●
Prevent DDoS Attacks:
bash
CopyEdit
iptables -A INPUT -p tcp --dport 80 -m limit --limit 10/s -j ACCEPT
●
🔹 18. Software Defined Networking (SDN)
● SDN separates the control and data plane for more flexible networking.
● Uses OpenFlow for centralized management.
🔹 1. Router & Switch Configuration
Question 1: How do you configure a Cisco router with a static IP and enable
SSH for secure access?
✍️ Answer:
bash
CopyEdit
Router> enable
Router# configure terminal
Router(config)# hostname MyRouter
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ip address [Link] [Link]
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# username admin secret cisco123
Router(config)# line vty 0 4
Router(config-line)# transport input ssh
Router(config-line)# login local
Router(config-line)# exit
Router(config)# service password-encryption
Router(config)# ip domain-name [Link]
Router(config)# crypto key generate rsa modulus 1024
Question 2: How would you verify if the router has a working IP
configuration?
✍️ Answer:
Use these commands:
bash
CopyEdit
show ip interface brief
show running-config
ping [Link]
🔹 2. VLAN & Inter-VLAN Routing
Question 3: What is the difference between access and trunk ports in a
VLAN?
✍️ Answer:
● Access Port: Used for a single VLAN, connecting to end devices.
● Trunk Port: Carries multiple VLANs between switches and routers.
Question 4: How do you configure VLANs on a switch?
✍️ Answer:
bash
CopyEdit
Switch> enable
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# name Sales
Switch(config-vlan)# exit
Switch(config)# interface GigabitEthernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# exit
🔹 3. Spanning Tree Protocol (STP) & Loop Prevention
Question 5: What is STP, and why is it needed?
✍️ Answer:
● Spanning Tree Protocol (STP) prevents switching loops in a network.
● It disables redundant paths until needed to avoid broadcast storms.
Question 6: How do you set a root bridge in STP?
✍️ Answer:
bash
CopyEdit
Switch(config)# spanning-tree vlan 10 root primary
🔹 4. IP Addressing & Subnetting
Question 7: What is the subnet mask for /26 and how many usable hosts
does it support?
✍️ Answer:
● Subnet Mask: [Link]
● Usable Hosts: 2^(32-26) - 2 = 62
Question 8: What is the purpose of CIDR?
✍️ Answer:
● CIDR (Classless Inter-Domain Routing) allows efficient IP address allocation by
eliminating traditional class-based addressing (A, B, C).
● Example: [Link]/24 instead of Class C.
🔹 5. Static & Dynamic Routing
Question 9: How do you configure a static route between two networks?
✍️ Answer:
bash
CopyEdit
Router(config)# ip route [Link] [Link] [Link]
Question 10: What is the main difference between RIP and OSPF?
✍️ Answer:
Feature RIP OSPF
Type Distance Link-State
Vector
Algorithm Hop Count Dijkstra's SPF
Best For Small networks Large enterprise
networks
Convergenc Slow Fast
e
Question 11: How do you enable OSPF on a Cisco router?
✍️ Answer:
bash
CopyEdit
Router(config)# router ospf 1
Router(config-router)# network [Link] [Link] area 0
Router(config-router)# exit
🔹 6. Network Address Translation (NAT)
Question 12: How does NAT work, and why is it used?
✍️ Answer:
● NAT (Network Address Translation) allows private IPs (192.168.x.x) to
communicate with the internet using a public IP.
● Types of NAT:
○ Static NAT: One-to-One Mapping.
○ Dynamic NAT: Assigns public IPs dynamically.
○ PAT (Port Address Translation): Multiple private IPs share a single public IP.
Question 13: How do you configure PAT on a router?
✍️ Answer:
bash
CopyEdit
Router(config)# ip nat inside source list 1 interface
GigabitEthernet0/0 overload
Router(config)# access-list 1 permit [Link] [Link]
Router(config)# interface GigabitEthernet0/1
Router(config-if)# ip nat inside
Router(config-if)# exit
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ip nat outside
Router(config-if)# exit
🔹 7. IPv6 & Next-Gen Networking
Question 14: What are the advantages of IPv6 over IPv4?
✍️ Answer:
✅ Larger address space (128-bit)
✅ Built-in security (IPSec encryption)
✅ No need for NAT
✅ Better routing efficiency
Question 15: How do you assign an IPv6 address to a Cisco router?
✍️ Answer:
bash
CopyEdit
Router(config)# ipv6 unicast-routing
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ipv6 address [Link]/64
Router(config-if)# no shutdown
🔹 8. WAN Technologies & VPNs
Question 16: What are the common WAN technologies?
✍️ Answer:
● MPLS (Multiprotocol Label Switching) – Used by ISPs.
● Leased Lines (T1/E1) – Dedicated point-to-point connections.
● VPN (Virtual Private Network) – Secure remote access.
Question 17: How do you configure a basic VPN on a Cisco router?
✍️ Answer:
bash
CopyEdit
Router(config)# crypto isakmp policy 10
Router(config-isakmp)# encryption aes 256
Router(config-isakmp)# hash sha256
Router(config-isakmp)# group 14
Router(config-isakmp)# exit
🔹 9. Security & Firewalls
Question 18: How do you configure a firewall to allow only SSH and block
everything else?
✍️ Answer:
bash
CopyEdit
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
sudo iptables -P INPUT DROP
Question 19: What is an IDS/IPS?
✍️ Answer:
● IDS (Intrusion Detection System): Monitors network traffic.
● IPS (Intrusion Prevention System): Blocks malicious traffic in real-time.
🔹 10. Software Defined Networking (SDN)
Question 20: What is SDN, and how does it work?
✍️ Answer:
● Software Defined Networking (SDN) separates the control plane (decision-making)
from the data plane (forwarding).
● Uses OpenFlow for centralized network management.