Networking
Networking
Assignment 1
1. Define Computer Networks and Discuss Their Primary Goals and
Applications. How Do Broadcast and Point-to-Point Network Hardware
Differ?
Definition of Computer Networks:
A computer network is a collection of interconnected devices (computers,
servers, printers, routers, switches, etc.) that communicate with each other to
share resources, data, and applications. This communication is achieved
through wired (Ethernet, fibre optics) or wireless (Wi-Fi, Bluetooth)
transmission mediums.
Primary Goals of Computer Networks:
1. Resource Sharing: Allow multiple devices to share hardware (printers,
storage) and software resources (applications, databases).
2. Data Communication: Enable fast and secure transfer of data between
devices, whether locally or over the internet.
3. Reliability and Redundancy: Provide fault tolerance with minimal
downtime through backup routes and failover mechanisms.
4. Scalability: Facilitate the easy addition of new devices or resources
without disrupting existing operations.
5. Security: Ensure data privacy, integrity, and access control to protect
against unauthorized access and cyber threats.
6. Remote Accessibility: Support remote access to resources, enabling
telecommuting and global collaboration.
Applications of Computer Networks:
• Business Operations: ERP systems, CRM platforms, email
communication.
• Internet Services: Web browsing, cloud computing, social media, VoIP.
• Education: E-learning platforms, virtual classrooms, research
collaboration.
• Healthcare: Telemedicine, electronic health records (EHRs).
• Military & Government: Secure communications, surveillance systems.
• Smart Technologies: IoT devices in smart homes, smart cities, and
industrial automation.
Broadcast vs. Point-to-Point Network Hardware:
Data Data sent to all devices; only the Data sent directly between
Transmission intended recipient processes it. the sender and receiver.
2. Explain Various Network Topologies: Mesh, Star, Bus, and Ring. What Are
the Advantages and Disadvantages of Each Topology?
1. Mesh Topology:
• Structure: Every device is connected to every other device via dedicated
links.
• Example: Military networks, WAN backbones.
Advantages:
• High reliability due to multiple redundant paths.
• Failure of one node/link doesn’t affect the network.
• Easy to identify faults.
Disadvantages:
• Expensive to implement due to extensive cabling.
• Complex setup and maintenance.
2. Star Topology:
• Structure: All devices are connected to a central hub/switch.
• Example: Home networks, office LANs.
Advantages:
• Easy to install and manage.
• Failure of a peripheral device doesn’t affect the network.
• Centralised control simplifies troubleshooting.
Disadvantages:
• If the central hub fails, the entire network goes down.
• Higher cost due to reliance on networking hardware (switches).
3. Bus Topology:
• Structure: All devices are connected to a single backbone cable (bus).
• Example: Early Ethernet networks, simple LAN setups.
Advantages:
• Easy to set up for small networks.
• Requires less cable than star or mesh.
Disadvantages:
• Limited scalability; performance degrades with more devices.
• Difficult to troubleshoot if the backbone cable fails.
• Data collisions are common, requiring protocols like CSMA/CD.
4. Ring Topology:
• Structure: Devices are connected in a circular loop; data travels in one
direction.
• Example: Token Ring networks, FDDI networks.
Advantages:
• Equal access for all devices; predictable performance.
• Easy to detect and isolate faults.
Disadvantages:
• A failure in any device or cable disrupts the entire network.
• Adding/removing devices requires network downtime.
3. Differentiate Between LAN, MAN, WAN, Internetwork, and Wireless
Networks. Provide Examples of Scenarios Where Each Type Would Be Most
Appropriate.
Coverage
Type Definition Example
Area
The Internet
Interconnection of multiple
Internetwork Global (network of
networks using routers.
networks)
Scenario Examples:
• LAN: Corporate office connecting workstations, printers, and servers.
• MAN: A university with multiple campuses across a city.
• WAN: A multinational company with offices across different continents.
• Internetwork: The internet itself, interlinking ISPs and private networks.
• Wireless Network: A coffee shop providing Wi-Fi to customers.
4. Describe the Modes of Communication: Simplex, Half-Duplex, and Full-
Duplex. How Does Each Mode Impact Data Transmission in a Network?
1. Simplex Mode:
• Definition: Data flows in one direction only, with no return path.
• Example: Television broadcast, keyboard-to-CPU.
Impact on Data Transmission:
• Simple, low-cost setup.
• No feedback mechanism, so errors cannot be corrected.
2. Half-Duplex Mode:
• Definition: Data flows in both directions, but only one direction at a
time.
• Example: Walkie-talkies, older Ethernet networks (using CSMA/CD).
Impact on Data Transmission:
• Efficient for scenarios where communication is intermittent.
• Slower than full-duplex due to the need for devices to switch roles
between sender and receiver.
3. Full-Duplex Mode:
• Definition: Data flows simultaneously in both directions.
• Example: Modern Ethernet networks (using switches), phone calls.
Impact on Data Transmission:
• Maximises bandwidth utilisation.
• Requires more sophisticated hardware (e.g., switches instead of hubs).
5. Compare Server-Based LANs and Peer-to-Peer LANs. What Are the Key
Differences in Terms of Architecture, Performance, and Use Cases?
Example Scenarios:
• Server-Based LAN: An enterprise with hundreds of employees,
centralised file servers, and strict security requirements.
• Peer-to-Peer LAN: A small business with fewer than 10 employees
needing basic file and printer sharing.
Assignment 2
6. What Are Protocols and Standards in Networking? Discuss Their
Importance and Provide Examples of Commonly Used Protocols.
Protocols in Networking:
A network protocol is a set of rules and conventions that define how devices
on a network communicate with each other. Protocols ensure that data is
transmitted, received, and processed correctly, regardless of the hardware or
software involved.
• Functions of Protocols:
o Data formatting and structuring
o Error detection and correction
o Flow control
o Addressing and routing
o Connection establishment and termination
Standards in Networking:
Networking standards are established guidelines and technical specifications
developed by organisations to ensure interoperability, compatibility, and
consistency across devices and networks.
• Standard Organisations Include:
o IEEE (Institute of Electrical and Electronics Engineers): IEEE 802.3
(Ethernet), IEEE 802.11 (Wi-Fi)
o IETF (Internet Engineering Task Force): TCP/IP protocols
o ISO (International Organization for Standardization): OSI model
o ITU (International Telecommunication Union):
Telecommunications protocols
Importance of Protocols and Standards:
• Interoperability: Ensure devices from different vendors can work
together seamlessly.
• Reliability: Provide consistent and error-free data transmission.
• Scalability: Enable networks to grow without compatibility issues.
• Security: Define encryption and authentication mechanisms for secure
communication.
Examples of Commonly Used Protocols:
• HTTP/HTTPS (Hypertext Transfer Protocol): Used for web
communication.
• FTP (File Transfer Protocol): Transfers files between systems.
• SMTP/IMAP/POP3: Email communication protocols.
• TCP/IP (Transmission Control Protocol/Internet Protocol): The backbone
of the internet for reliable data transmission.
• DNS (Domain Name System): Translates domain names into IP
addresses.
• DHCP (Dynamic Host Configuration Protocol): Assigns IP addresses
dynamically.
7. Explain the OSI Reference Model, Detailing the Functions of Each of Its
Seven Layers. How Does This Model Facilitate Interoperability Between
Different Network Systems?
OSI Reference Model:
The Open Systems Interconnection (OSI) model is a conceptual framework
developed by the ISO that standardises the functions of a networking system
into seven layers. It helps different systems communicate using standardised
protocols.
Seven Layers of the OSI Model:
1. Physical Layer (Layer 1):
o Function: Deals with the physical transmission of raw binary data
over a medium (cables, switches).
o Components: Cables, hubs, repeaters, network interface cards
(NICs).
o Key Protocols: Ethernet (physical signals), DSL.
2. Data Link Layer (Layer 2):
o Function: Manages node-to-node data transfer, error detection,
and MAC addressing.
o Components: Switches, bridges.
o Key Protocols: Ethernet (framing), PPP (Point-to-Point Protocol).
3. Network Layer (Layer 3):
o Function: Handles logical addressing (IP addresses) and routing of
data packets.
o Components: Routers.
o Key Protocols: IP (Internet Protocol), ICMP (for diagnostics), ARP.
4. Transport Layer (Layer 4):
o Function: Provides reliable data transmission, error correction,
and flow control.
o Key Protocols: TCP (reliable), UDP (fast but unreliable).
5. Session Layer (Layer 5):
o Function: Manages sessions (connections) between applications,
maintaining state and synchronisation.
o Key Protocols: NetBIOS, RPC (Remote Procedure Call).
6. Presentation Layer (Layer 6):
o Function: Translates data formats, encrypts/decrypts data,
handles data compression.
o Key Protocols: SSL/TLS (encryption), JPEG, MPEG.
7. Application Layer (Layer 7):
o Function: Provides network services directly to user applications.
o Key Protocols: HTTP, FTP, SMTP, DNS.
Interoperability Benefits:
• Modularity: Each layer performs a specific function, making it easier to
troubleshoot.
• Vendor-Neutral: Ensures devices from different manufacturers can
communicate.
• Protocol Independence: Changes in one layer don’t affect others.
8. Discuss the TCP/IP Reference Model and Compare It with the OSI Model.
What Are the Main Differences, and Why Is TCP/IP More Widely Adopted in
Practical Networking?
TCP/IP Reference Model:
The TCP/IP model is the foundation of the modern internet, defining how data
should be packaged, addressed, transmitted, routed, and received across
networks. It consists of four layers:
1. Network Interface Layer: Manages physical transmission (equivalent to
OSI Layers 1 & 2).
2. Internet Layer: Handles logical addressing and routing (similar to OSI
Layer 3).
3. Transport Layer: Manages end-to-end data transmission (equivalent to
OSI Layer 4).
4. Application Layer: Provides network services (combines OSI Layers 5, 6,
7).
Comparison Between OSI and TCP/IP Models:
Aspect OSI Model (7 Layers) TCP/IP Model (4 Layers)
Single copper
Higher bandwidth Bulky, harder to
Coaxial conductor with
than twisted pair, install, limited
Cables insulating layer and
durable. flexibility.
shielding.
Extremely high
bandwidth, long-
Transmit data as light Expensive, fragile,
Fibre Optic distance
through glass or complex
Cables transmission,
plastic fibres. installation.
immune to
interference.
Usage Scenarios:
• Twisted Pair: LAN connections in offices and homes.
• Coaxial: Broadband internet, cable TV networks.
• Fibre Optic: High-speed internet backbones, data centres.
• Wireless: Wi-Fi networks, mobile communications.