CN Final exam Nov 2023_Phoenix
Examination Information
Program: bac Computing and Information Systems PROGRAMMES: BSC BSC
Course Code: MT202-Computer Networks
Final Examination Date: 8th November 2023
Time: 11:00
Total Marks: 100
Duration: 2 hours 30 minutes
Instructions to Candidates
Candidates must attempt ANY four (4) questions.
Attempting to gain unfair advantage or colluding will lead to disqualification.
Do NOT open the question paper until instructed.
Do not bring materials for copying, colluding, or plagiarizing.
No writing on the question paper; all rough work must be indicated at the end of the answer booklet.
Page Overview
The question paper consists of 8 pages including cover pages.
Question 1: Variable Length Subnet Masking (VLSM)
a) Design Requirements
Network Address: 192.168.24.0/24
Departments and Hosts:
Net 1: 120 hosts
Net 2: 62 hosts
Net 3: 14 hosts
Net 4: 2 hosts
Questions
Class of IP Address:
Answer: Class C (for address 192.168.24.0)
Fixed Length Subnet Mask:
Answer: 255.255.255.128 (for 128 available hosts)
Disadvantages of Fixed Length Mask:
Inefficient allocation of IP addresses.
Wasted IP addresses in subnets with fewer hosts.
Implementing VLSM:
Subnet Mask (for each subnet):
Net 1: 255.255.255.0 (or /24)
Net 2: 255.255.255.192 (or /26)
Net 3: 255.255.255.240 (or /28)
Net 4: 255.255.255.252 (or /30)
Network Addresses:
Net 1: 192.168.24.0
Net 2: 192.168.24.128
Net 3: 192.168.24.192
Net 4: 192.168.24.240
Broadcast Addresses:
Net 1: 192.168.24.255
Net 2: 192.168.24.191
Net 3: 192.168.24.207
Net 4: 192.168.24.243
Range of Usable IPs:
Net 1: 192.168.24.1 - 192.168.24.254
Net 2: 192.168.24.129 - 192.168.24.190
Net 3: 192.168.24.193 - 192.168.24.206
Net 4: 192.168.24.241 - 192.168.24.242
b) Using AND Operation
IP Address: 172.16.10.23
Subnet Mask: 255.255.248.0
Complete calculation for network address using AND operation.
c) IPv6 Address Compression
Uncompressed IPv6 Address: 2001:0000:0000:0080:0000:0000:0000:0A00
Compressed Format: 2001:0:0:80:0:0:0:A00
Question 2: Cisco IOS Commands
Cisco IOS Commands Required
Disable DNS lookup:
Command:
no ip domain-lookup
Change router name to R1:
Command:
hostname R1
Configure Encrypted Privileged Exec Password:
Command:
enable secret [password]
Configure Console Access Password:
Command:
line con 0; password [password]; login
Configure Telnet Access Password:
Command:
line vty 0 4; password [password]; login
Command Functions on Cisco Router
Enable:
Activates privileged EXEC mode.
Configure terminal:
Access global configuration mode.
service password-encryption:
Encrypts plaintext passwords.
ipconfig (Windows):
Displays network configuration details.
banner motd:
Sets a Message of the Day for users at login.
Explanation of Configuration Actions:
Tab/Space bar: Scroll through the running configuration.
?: Helps with command completion.
Up arrow: Recalls the last command.
Ctrl-Z: Exits configuration mode.
Question 3: Networking Concepts
Client/Server vs Peer-to-Peer Network
Client/Server Network
Advantages:
Centralized control.
Easier to manage security.
Disadvantages:
Higher cost for setup.
Single point of failure.
Peer-to-Peer Network
Advantages:
Lower cost.
No central management needed.
Disadvantages:
Security challenges.
Difficult backup management.
Network Term Functions
Router: Directs data between networks.
Firewall: Monitors and filters incoming/outgoing traffic.
DSL Modem: Connects to internet via telephone line.
Definitions
Network Terms
Internet: Global interconnected network.
Intranet: Private network within an organization.
Extranet: Controlled private network extending to customers/suppliers.
Communication Terms
Broadcast: Transmits to all devices in a network.
Multicast: Transmits to selected devices.
Unicast: One-to-one communication.
Anycast: One-to-nearest communication.
Cloud Computing
Concept: Remote service access via internet to store and manage data.
Advantages: Accessibility from anywhere.
Disadvantages: Security and dependency on internet access.
Question 4: Network Management
a) Remote Management IP Configuration
Interface for Configuring: Management interface (typically VLAN interface).
b) PDU Formats by Layers
Application Layer: Data
Transport Layer: Segments
Network Layer: Packets
Data Link Layer: Frames
Physical Layer: Bits
c) Frame Handling in Ethernet Networks
Action on Unknown MAC: Flood the frame to all ports except the source port until the MAC address is learned.
d) Fiber Optic vs Copper Cabling
Comparison:
Fiber Optic Advantages:
Longer distance transmission.
Higher bandwidth.
Copper Advantages:
Lower cost.
Simpler installation.
e) Contention-Based Methods
CSMA/CD (Carrier Sense Multiple Access with Collision Detection): Wired communication.
CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance): Wireless communication.
f) Ethernet Frame Reception Behavior
Action for Unmatched MAC: Discard the frame.
g) Address Resolution Protocol (ARP)
Role of ARP: Maps IP addresses to corresponding MAC addresses in a network.
Question 5: Networking Cable Types
a) Cable Type for Connections
Cable Types:
Device connections (1, 2, 3): determine type (straight-through, crossover, or rollover).
b) Coaxial Cable Structure Roles
Copper Conductor: Carries the signal.
Braided Copper Shielding: Protects against external interference.
c) Twisted Pair Cables
Reason for Twisting: Minimizes electromagnetic interference.
Performance of STP over UTP: Better protection against interference.
d) Device Naming Importance
Importance of Hostnames: Simplifies device identification and management.
e) Broadcast Domain Issues
Problem: Increased traffic and potential collisions in large domains.
f) OSI Layer for MAC Addresses
Layer: Data Link Layer (Layer 2).
g) Differences in Fiber Cable Types
Single Mode vs Multimode:
Single Mode: Longer distance, cost higher.
Multimode: Shorter distances, less expensive.
h) Protocols in OSI Layers
Data Link Layer Protocol Example: Ethernet.
Internet Layer Protocol Example: IP (Internet Protocol).
i) Communication Types
Half vs Full Duplex: Half is one-direction at a time, full is two-direction simultaneously.
j) Network End Devices
Examples: Computer, Switch, Router.
k) IPv4 to IPv6 Replacement Reason
Main Reason: Address exhaustion in IPv4.