0% found this document useful (0 votes)
3 views18 pages

CIS - Networking Module

The document provides comprehensive notes on Networking Essentials, covering key concepts such as network definitions, types of networks, networking standards, models, switching, routing, subnetting, wireless technologies, connection types, and troubleshooting techniques. It also includes practical interview questions and answers related to networking topics, emphasizing the importance of understanding these concepts for professionals in network administration and IT infrastructure. Overall, it serves as a foundational resource for anyone looking to enhance their networking knowledge and skills.

Uploaded by

truelyaira
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views18 pages

CIS - Networking Module

The document provides comprehensive notes on Networking Essentials, covering key concepts such as network definitions, types of networks, networking standards, models, switching, routing, subnetting, wireless technologies, connection types, and troubleshooting techniques. It also includes practical interview questions and answers related to networking topics, emphasizing the importance of understanding these concepts for professionals in network administration and IT infrastructure. Overall, it serves as a foundational resource for anyone looking to enhance their networking knowledge and skills.

Uploaded by

truelyaira
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Networking Essentials - Detailed Notes

Module 1: Network Basics

1.1 Defining a Network

• A network is a collection of interconnected devices (computers, servers, routers, switches)


that communicate with each other to share resources and data.

• Benefits of networking: Resource sharing, improved communication, centralized


management, and enhanced security.

1.2 Different Types of Networks

• LAN (Local Area Network): Covers a small geographic area (e.g., office, home, school). Uses
Ethernet and Wi-Fi.

• WAN (Wide Area Network): Connects multiple LANs over large distances, using leased lines
or the internet.

• WLAN (Wireless LAN): Wireless version of LAN using Wi-Fi standards (802.11).

• MAN (Metropolitan Area Network): Covers a city-wide area, often operated by ISPs or
government agencies.

• SAN (Storage Area Network): Dedicated high-speed network for data storage (e.g., Fibre
Channel, iSCSI).

• SOHO (Small Office/Home Office): A smaller version of LAN optimized for small businesses
or home offices.

Module 2: Networking Standards

2.1 Network Standards and Importance

• Standards organizations: IEEE, ISO, ITU-T, IETF.

• Importance: Ensures interoperability, reliability, and scalability of network technologies.

2.2 Network Components, Devices, and Functions

• Hub: Basic device that broadcasts data to all connected devices.

• Repeater: Amplifies signals to extend network reach.

• L2/L3 Switch: Layer 2 (Data Link) switch forwards frames based on MAC addresses; Layer 3
(Network) switch forwards packets based on IP addresses.

• Router: Directs data between different networks.

• Firewall: Protects networks from unauthorized access.

• IPS/IDS: Intrusion Prevention/Detection Systems monitor and respond to security threats.

• Load Balancer: Distributes network traffic across multiple servers.

• Proxy Server: Acts as an intermediary for client requests.

• Wireless AP (Access Point): Connects wireless clients to a wired network.


• Wireless LAN Controller: Manages multiple wireless APs.

Module 3: Networking Models

3.1 OSI Model (7 Layers)

1. Physical: Cables, connectors, electrical signals.

2. Data Link: MAC addressing, Ethernet frames.

3. Network: IP addressing, routing.

4. Transport: TCP, UDP, flow control.

5. Session: Establishing and terminating sessions.

6. Presentation: Data encryption, compression.

7. Application: User interaction (HTTP, FTP, DNS).

3.2 The TCP/IP Model

1. Network Interface: Similar to OSI Physical/Data Link.

2. Internet: Handles IP addressing and routing.

3. Transport: Uses TCP/UDP for communication.

4. Application: Provides network services (HTTP, FTP, DNS).

3.3 Network Topologies

• Bus: Single backbone cable.

• Star: Centralized hub/switch.

• Ring: Data travels in a loop.

• Two-Tier & Three-Tier: Hierarchical design for enterprise networks.

• Hub and Spoke: Centralized connection for remote sites.

• Spine and Leaf: High-speed data center topology.

3.4 IP Addressing and Subnetting

• IPv4: 32-bit addresses (e.g., [Link]/24).

• Subnetting: Dividing networks for better management.

• CIDR (Classless Inter-Domain Routing): Efficient IP allocation.

3.5 Introduction to IPv6

• 128-bit addressing (e.g., 2001:db8::1).

• No need for NAT due to a larger address space.

• Better security and performance.

Module 4: Switching, Routing, and Subnetting


4.1 Basics of Switching

• VLAN: Segments network logically.

• STP/RSTP/MSTP: Prevents loops in switching.

• Stacking & VSS: Combines multiple switches into one.

4.2 Basics of Routing

• Static Routing: Manually configured routes.

• EIGRP: Cisco proprietary dynamic routing protocol.

• OSPF: Open standard link-state routing protocol.

• BGP: Internet backbone routing protocol.

4.3 Security Access List (ACL)

• Standard ACL: Filters traffic based on source IP.

• Extended ACL: Filters based on IP, port, and protocol.

4.4 Network Address Translation (NAT/PAT)

• NAT: Maps private to public IPs.

• PAT: Multiple private IPs share a single public IP.

4.5 Network Services

• DHCP: Assigns IP addresses dynamically.

• DNS: Resolves domain names to IP addresses.

• TFTP/FTP: File transfer services.

• HTTP/SSH/Telnet: Web and remote access services.

• SNMP: Network monitoring protocol.

• TACACS+/RADIUS: Authentication and access control.

• Syslog/NTP: Logging and time synchronization.

Module 5: Wireless

5.1 RF Basics

• Frequency, wavelength, signal strength.

5.2 802.11 Wireless Standards

• a/b/g/n/ac: Different Wi-Fi generations.

5.3 Wireless Authentication & Encryption

• WPA/WPA2/WPA3: Wireless security standards.

Module 6: Connection Types and Connectivity Methods


6.1 DCI / WAN / Internet Connectivity

• P2P, MPLS, PPPoE, xDSL, Cable, Dark Fiber.

6.2 Cloud Connectivity Types

• ExpressRoute, Direct Connect, Cloud Interconnect.

6.3 Physical Media

• Copper cables (Cat5e/6/7, RJ45, RJ11).

• Fiber cables (SMF/MMF, SFP/SFP+, LC/SC/ST connectors).

Module 7: Troubleshooting and Next-Gen Networking

7.1 Basic Network Troubleshooting

• Common issues: Collisions, errors, duplex mismatch, speed mismatch.

• Tools: Ping, Traceroute, Wireshark, SNMP monitoring.

7.2 Introduction to Next-Gen Networking

• Software-Defined Networking (SDN).

• Network Automation (Ansible, Python, Terraform).

• Cloud Networking.

Additional Request from BAU: Extra day added to cover advanced networking topics.

Conclusion

This document provides an in-depth overview of Networking Essentials, covering fundamental


concepts, networking models, switching/routing, security, and troubleshooting. Understanding these
topics is essential for anyone working in network administration, cybersecurity, or IT infrastructure.
Here are some real-world practical networking interview questions along with their answers:

1. What happens when you type a URL in a web browser and press Enter?

Answer:

1. DNS Resolution – The browser contacts a DNS server to resolve the domain name (e.g.,
[Link]) to an IP address.

2. TCP Handshake – A three-way handshake (SYN, SYN-ACK, ACK) is established between the
client and server using TCP (or QUIC for HTTP/3).

3. HTTP/HTTPS Request – The browser sends an HTTP request (or HTTPS if secure) to the
server.

4. Server Processing – The web server processes the request and responds with the requested
page.

5. Rendering the Page – The browser receives the response, processes HTML, CSS, and
JavaScript, and displays the webpage.

Follow-up Questions:

• What if the DNS server is down? → The request fails, and the browser shows a DNS error.

• What if there is a firewall? → The firewall may block certain ports or protocols.

2. How does a router differ from a switch?

Answer:

Feature Router Switch

Function Connects different networks Connects devices within a network

Layer Operates at Layer 3 (Network) Operates at Layer 2 (Data Link)

Uses IP addresses for


IP Addressing Uses MAC addresses for forwarding
forwarding

Broadcast Each port is a different All ports are in the same broadcast domain
Domains broadcast domain (unless VLAN is used)

Follow-up Question:

• What is a Layer 3 switch?

o A Layer 3 switch has routing capabilities in addition to switching functions.

3. What is VLAN, and why is it used?

Answer:
A VLAN (Virtual Local Area Network) allows network segmentation within the same physical switch.
It helps in:

• Enhancing Security – Devices in different VLANs cannot communicate unless routed.

• Reducing Broadcast Traffic – Each VLAN is a separate broadcast domain.

• Improving Network Management – Logical separation of devices without changing physical


infrastructure.

Example:

• VLAN 10 – Sales Department

• VLAN 20 – IT Department

• VLAN 30 – HR Department

Follow-up Question:

• How do VLANs communicate?

o Using Inter-VLAN Routing via a router or Layer 3 switch.

4. Explain subnetting with an example.

Answer:

Subnetting divides a large network into smaller sub-networks to optimize IP address allocation and
reduce congestion.

Example: Given [Link]/24, we need 4 subnets:

1. Convert /24 (default subnet mask: [Link]) to /26 (subnet mask: [Link]).

2. Each subnet has 62 usable hosts (2^6 - 2).

3. Subnets are:

o [Link] – [Link]

o [Link] – [Link]

o [Link] – [Link]

o [Link] – [Link]

Follow-up Question:

• How do you calculate subnet mask for 50 hosts?

o Use 2^n - 2 ≥ 50 → n = 6 → Subnet Mask: [Link] (/26).

5. What is the difference between TCP and UDP?

Answer:
Feature TCP UDP

Connection
Connection-oriented Connectionless
Type

Reliability Reliable (ensures data delivery) Unreliable (no acknowledgments)

Speed Slower due to error checking Faster due to no overhead

Web Browsing, File Transfer (HTTP, FTP, Streaming, Gaming (DNS, VoIP, Video
Usage
SMTP) Calls)

Follow-up Question:

• Why does DNS use UDP instead of TCP?

o UDP is faster and requires no handshake, making it efficient for quick lookups.

6. How does NAT (Network Address Translation) work?

Answer:

NAT is used to map private IP addresses to a public IP address for internet access.

• Static NAT – One-to-one mapping.

• Dynamic NAT – Assigns an available public IP dynamically.

• PAT (Port Address Translation) – Multiple private IPs share a single public IP using different
ports.

Example:

• Private IP: [Link] → Public IP: [Link]

Follow-up Question:

• Why is NAT important?

o Conserves IPv4 addresses and enhances security.

7. What is a default gateway, and why is it needed?

Answer:

A default gateway is a router that forwards traffic from a local network to external networks.

• Example: If your PC ([Link]) wants to reach Google ([Link]), it sends the request to
the default gateway ([Link]).

Follow-up Question:

• What happens if the default gateway is incorrect?

o Devices cannot communicate with external networks.


8. How do you troubleshoot network issues?

Answer:

1. Check Physical Layer – Verify cables, power, and interfaces.

2. Ping Test – Check connectivity to gateway or other devices.

3. Check IP Configuration – Use ipconfig (Windows) or ifconfig (Linux).

4. Traceroute (tracert or traceroute) – Find where packet loss occurs.

5. Check Firewall and ACLs – Ensure packets are not being blocked.

Follow-up Question:

• What if ping works but the webpage doesn’t load?

o DNS or application-level issue (check nslookup or curl).

9. What are STP and RSTP, and why are they used?

Answer:

Spanning Tree Protocol (STP) prevents network loops in Ethernet networks.

• RSTP (Rapid STP) – Faster convergence than STP.

Example: In a redundant network, STP blocks one link to avoid loops but reactivates it if needed.

Follow-up Question:

• What happens if STP is disabled?

o Broadcast storms, MAC table instability, and high CPU usage.

10. What is the difference between IDS and IPS?

Answer:

Feature IDS (Intrusion Detection System) IPS (Intrusion Prevention System)

Function Monitors network traffic for threats Blocks malicious traffic automatically

Placement Passive (Detects only) Inline (Prevents attacks in real-time)

Example Snort, Suricata Cisco Firepower, Palo Alto IPS

Follow-up Question:

• Can IDS and IPS work together?

o Yes, IDS detects and logs threats, while IPS blocks them.

These are some common real-world networking interview questions with practical answers. Let me
know if you need more!
Here are more real-world practical networking interview questions along with their answers:

11. What is ARP (Address Resolution Protocol), and how does it work?

Answer:

ARP is used to map IP addresses to MAC addresses within a local network.

• When a device wants to communicate with another device on the same subnet, it sends an
ARP request asking, "Who has IP X.X.X.X? Tell me your MAC address."

• The device with that IP responds with an ARP reply containing its MAC address.

Example:

• Device A ([Link]) wants to communicate with Device B ([Link]).

• It sends an ARP request → Device B replies with its MAC address → Device A stores this in
the ARP table.

Follow-up Question:

• What is an ARP Spoofing attack?

o A hacker sends fake ARP replies, causing devices to send traffic to the attacker
instead of the intended destination (Man-in-the-Middle attack).

12. What is the difference between Unicast, Broadcast, and Multicast?

Answer:

Type Destination Example Usage

Unicast One-to-One Web browsing, SSH

Broadcast One-to-All ARP requests, DHCP discovery

Multicast One-to-Many Live streaming, IPTV

Follow-up Question:

• What protocol is used for multicast?

o IGMP (Internet Group Management Protocol) is used for managing multicast


groups.

13. What is DHCP, and how does it work?

Answer:

DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses to devices in a


network.
• Process (DORA):

1. Discover – Client broadcasts a DHCP request.

2. Offer – Server offers an available IP.

3. Request – Client requests the offered IP.

4. Acknowledge – Server confirms, and the client uses the IP.

Follow-up Question:

• What happens if the DHCP server is down?

o Devices will not receive an IP address and may use a 169.254.x.x APIPA address
(Windows Auto IP).

14. What is the difference between IPv4 and IPv6?

Answer:

Feature IPv4 IPv6

Address Size 32-bit 128-bit

Example Address [Link] 2001:db8::1

Address Space 4.3 billion 340 undecillion

Security Less secure Built-in IPSec

Broadcast Supports Not supported

NAT Required? Yes No

Follow-up Question:

• Why is IPv6 adoption slow?

o Compatibility issues with legacy hardware and software.

15. What are ACLs (Access Control Lists) in networking?

Answer:

An ACL is a set of rules applied to a router or firewall to filter network traffic.

Example: Deny SSH (Port 22) traffic from [Link]:

access-list 100 deny tcp [Link] [Link] any eq 22

access-list 100 permit ip any any

Follow-up Question:

• What is the difference between Standard and Extended ACLs?

o Standard ACL filters based on source IP only.


o Extended ACL filters based on IP, port, and protocol.

16. What is BGP (Border Gateway Protocol) and why is it important?

Answer:

BGP is the routing protocol of the internet, used to exchange routing information between
Autonomous Systems (ASes).

• Uses Path Vector Routing (chooses best path based on AS hops).

• Runs over TCP Port 179.

Follow-up Question:

• What happens if BGP fails?

o Major internet outages, as seen in past incidents like Facebook’s global outage.

17. What is a VPN, and how does it work?

Answer:

A VPN (Virtual Private Network) securely connects remote users to private networks over the
internet.

• Uses encryption (e.g., IPSec, SSL) to protect data.

• Creates a tunnel between the user and the corporate network.

Follow-up Question:

• What are the types of VPNs?

o Site-to-Site VPN (connects entire offices).

o Remote Access VPN (connects individual users).

18. How does a Firewall work?

Answer:

A firewall controls incoming and outgoing traffic based on security rules.

• Types:

o Packet Filtering Firewall (filters based on IP, port).

o Stateful Inspection Firewall (tracks active connections).

o Next-Gen Firewall (NGFW) (deep packet inspection, IDS/IPS).

Example Rule:

• Block all traffic from [Link]:

iptables -A INPUT -s [Link] -j DROP


Follow-up Question:

• What is a DMZ in networking?

o A Demilitarized Zone (DMZ) is a subnet that exposes services (e.g., web server) to
the internet while keeping the internal network secure.

19. What is the difference between Load Balancing and Failover?

Answer:

Feature Load Balancing Failover

Purpose Distributes traffic across multiple servers Provides backup if one server fails

Method Round Robin, Least Connections Primary/Secondary switch

Example F5 Load Balancer, Nginx Redundant routers using VRRP

Follow-up Question:

• What is HA (High Availability)?

o Ensures continuous network operation using redundant devices and connections.

20. What is a Proxy Server, and how does it work?

Answer:

A proxy server acts as an intermediary between a user and the internet.

• Forward Proxy – Users access the internet via the proxy.

• Reverse Proxy – Protects internal servers from direct exposure.

Example:

• A school proxy blocks access to social media sites.

Follow-up Question:

• How is a proxy different from a NAT?

o A proxy works at the application layer, while NAT works at the network layer.

21. What is Port Forwarding, and why is it used?

Answer:

Port forwarding redirects traffic from an external port to an internal device.

Example:

• A web server inside a private network ([Link]) is exposed on port 80 via NAT:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination [Link]:80


Follow-up Question:

• How is Port Forwarding different from a VPN?

o Port forwarding exposes a single service, while a VPN secures all network traffic.

These are more real-world practical networking interview questions. Let me know if you want
scenario-based questions or hands-on troubleshooting questions!
Here are real networking interview questions commonly asked in IT companies, especially for
Network Engineers, System Administrators, and IT Support roles. These questions focus on practical
scenarios, troubleshooting, and real-world networking concepts.

1. A user complains about slow internet. How do you troubleshoot?

Answer:

1. Check basic connectivity

o ping [Link] → If it fails, there might be a network issue.

o tracert [Link] → Checks where the latency or drop happens.

2. Check network congestion

o Use netstat or Wireshark to see excessive bandwidth usage.

o Ask if other users are facing the same issue.

3. Check system issues

o Run task manager to check high CPU/network usage.

o Run [Link] to check actual internet speed.

4. Check firewall and proxy settings

o Is the firewall blocking a website?

o Run nslookup or dig to check if DNS resolution is slow.

5. Restart router/modem

o Sometimes, power cycling the network device fixes the issue.

2. What is the difference between a Hub, Switch, and Router?

Answer:

Device Function Works on Layer Key Difference

Layer 1
Hub Broadcasts data to all ports No intelligence, more collisions
(Physical)

Forwards data to specific MAC Layer 2 (Data


Switch Reduces collisions, VLAN support
addresses Link)

Routes data between networks using Layer 3 Connects different networks (e.g.,
Router
IP addresses (Network) LAN to WAN)

Follow-up:

• Can a switch work as a router?


o Yes, using Layer 3 switches, which support routing protocols like OSPF and BGP.

3. A network device is unreachable. How do you troubleshoot?

Answer:

1. Check connectivity – ping <device IP>

o If ping fails, check cables or Wi-Fi.

2. Check ARP table – arp -a

o If missing, check if the device is powered on.

3. Check routing table – route print (Windows) / ip route show (Linux)

o Ensure the correct route exists.

4. Check firewall rules – iptables -L (Linux) / Check Windows firewall settings.

5. Check interface settings – ipconfig /all (Windows) or ifconfig (Linux).

6. Check switch port – If a physical connection exists, try another port.

4. What happens when a packet is sent from one network to another?

Answer:

1. Source device checks ARP table for the gateway MAC address.

2. Encapsulates data into frames with the MAC and IP address.

3. Router forwards the packet based on the routing table.

4. If NAT is used, it translates private IP to public IP.

5. Packet reaches destination, which then replies.

Follow-up:

• How does NAT affect communication?

o NAT translates private to public IP, allowing multiple devices to share one external IP.

5. What are the differences between TCP and UDP?

Answer:

Feature TCP UDP

Reliability Reliable (Acknowledgments) Unreliable

Speed Slower (3-way handshake) Faster

Use Case HTTP, FTP, SSH DNS, VoIP, Video Streaming


Feature TCP UDP

Connection Type Connection-Oriented Connectionless

6. How do you configure an IP address on a Windows/Linux system?

Windows (Command Prompt - Static IP)

netsh interface ip set address "Ethernet" static [Link] [Link] [Link]

Linux (Terminal - Static IP)

ifconfig eth0 [Link] netmask [Link] up

Follow-up:

• What command sets DHCP?

o Windows: ipconfig /renew

o Linux: dhclient eth0

7. Explain the OSI Model and its layers.

Answer:

The OSI Model has 7 layers, each responsible for different network functions.

Layer Function Example

7 - Application End-user interaction HTTP, FTP, SSH

6 - Presentation Data format & encryption SSL, TLS, JPEG

5 - Session Starts & manages communication NetBIOS, RPC

4 - Transport Error correction, flow control TCP, UDP

3 - Network Routing & addressing IP, ICMP, ARP

2 - Data Link MAC addressing, framing Ethernet, Switches

1 - Physical Transmission medium Cables, Fiber, Hubs

Follow-up:

• Where do routers work?

o Network Layer (Layer 3).

• Where do switches work?

o Layer 2 (Data Link), but Layer 3 switches can do routing.

8. A company wants to divide its network into multiple departments. How can this be done?
Answer:

1. Using VLANs – Logical segmentation at Layer 2.

2. Using Subnets – Divides a network into smaller IP ranges.

3. Using Access Control Lists (ACLs) – Controls communication between VLANs.

Example VLAN Configuration (Cisco Switch):

Switch(config)# vlan 10

Switch(config-vlan)# name HR

Switch(config-vlan)# exit

Switch(config)# interface fa0/1

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 10

9. What is the difference between a Public IP and a Private IP?

Answer:

IP Type Example Range Used In Routable on Internet?

Private IP 192.168.x.x / 10.x.x.x / 172.16.x.x Internal Networks No

Public IP [Link] / [Link] Internet-facing devices Yes

Follow-up:

• Can a private IP communicate with the internet?

o No, it needs NAT to translate to a public IP.

10. What is a default gateway?

Answer:

A default gateway is the router’s IP address that allows a device to communicate with other
networks.

• If a packet is not for the local subnet, it is sent to the default gateway for routing.

Check gateway on Windows:

ipconfig /all

Check gateway on Linux:

route -n

Bonus: Scenario-Based Questions


1. A website is not loading, but the internet is working. What do you do?

o Check ping [Link].

o Try nslookup [Link] (DNS issue?).

o Check firewall/proxy settings.

o Try a different browser or device.

2. Only a specific VLAN cannot access the internet. What could be the issue?

o VLAN not properly configured on the switch.

o Misconfigured ACL blocking traffic.

o Wrong subnet mask or gateway.

These are real interview questions from IT companies like Cisco, Accenture, Wipro, TCS, Infosys,
and HCL. Let me know if you need more troubleshooting cases or hands-on practicals!

You might also like