Computer Network (MU SYLLABUS) MODULE – 1 (IMPORTANT TOPIC)

1.1 Introduction to computer network, Network Devices, Network topology,
Switching: Circuit-Switched Networks, Packet Switching, Network Types:
LAN, MAN, WAN
6
1.2 Reference models: Layer details of OSI, TCP/IP models. Difference between
OSI and TCP/IP

Computer Network (MU SYLLABUS) MODULE - 1 (IMPORTANT TOPIC)

Introduction to computer network

A computer network is a interconnected system of computers and other devices that facilitate the exchange of information and resources. These networks can vary widely in size and scope, ranging from small local area networks (LANs) within a single building or home, to expansive global networks like the internet. The primary purpose of computer networks is to enable communication and collaboration between devices, allowing users to share data, access resources, and communicate efficiently. Network devices such as routers, switches, and modems play crucial roles in managing the flow of data within these networks, ensuring seamless connectivity and data transfer.

The architecture and design of computer networks are influenced by various factors, including the intended use, geographic scope, and the scale of the network. Different network topologies, such as bus, star, and mesh configurations, offer unique advantages and trade-offs in terms of performance, reliability, and scalability. With the evolution of technology, computer networks have become integral to modern life, supporting a wide range of applications from simple file sharing and communication to complex online transactions and collaborative work environments.

Network Devices

Network devices are hardware components that enable communication and data transfer within a network. Common devices include routers, switches, hubs, modems, and access points. Routers direct data between different networks, switches manage data within a network, hubs connect multiple devices, modems convert digital signals to analog for transmission over phone lines, and access points enable wireless connectivity.

  1. Cable: Cables are physical mediums used to transmit data between network devices. Common types include Ethernet cables for wired connections and fiber optic cables for high-speed data transfer over longer distances.
  2. Repeater Hardware: Repeaters amplify and regenerate signals in a network, helping to extend the reach of a network by boosting the strength of signals weakened over long distances.
  3. Hub: Hubs are basic networking devices that connect multiple computers in a LAN. They operate at the OSI model’s physical layer and broadcast data to all connected devices, regardless of the intended recipient.
  4. Bridge: Bridges operate at the data link layer of the OSI model and connect two separate network segments. They filter and forward data based on MAC addresses, effectively reducing network traffic and improving performance.
  5. Switch Hardware & Software: Switches operate at the data link layer and use MAC addresses to forward data only to the specific device it is intended for. They are more intelligent than hubs, increasing network efficiency.
  6. Router: Routers operate at the network layer and connect different networks. They use logical addressing (IP addresses) to make decisions about forwarding data between networks, enabling communication between devices on different subnets.
  7. Gateway: A gateway is a device that connects different networks with different communication protocols. It acts as a translator, allowing data to flow between networks with different architectures.
  8. IDS (Intrusion Detection System): An IDS monitors network and/or system activities for malicious activities or policy violations. It detects and alerts administrators about potential security threats, helping to protect the network from unauthorized access or attacks.
  9. Firewall: Firewalls are security devices that control and monitor incoming and outgoing network traffic based on predetermined security rules. They act as a barrier between a trusted internal network and untrusted external networks, enhancing network security.
  10. Modem: A modem (modulator-demodulator) converts digital signals from a computer into analog signals for transmission over telephone lines (for DSL) or cable lines. It also converts incoming analog signals back into digital signals for the computer to understand, facilitating internet connectivity.

Network topology

Network topology refers to the arrangement or layout of interconnected devices in a computer network. Different topologies dictate how devices are connected and communicate with each other. Several common network topologies are employed based on the specific needs and requirements of the network. Here are some of the key network topologies:

  1. Bus Topology: In a bus topology, all devices share a single communication line or bus. Data is transmitted along the bus, and devices on the network can access it. While simple, this topology can experience performance issues as more devices are added.
  2. Star Topology: In a star topology, each device is connected to a central hub or switch. All data traffic passes through this central point, making it easier to manage and identify faults. However, if the central hub fails, the entire network may be affected.
  3. Ring Topology: Devices in a ring topology are connected in a circular fashion, with each device connected to exactly two other devices. Data circulates around the ring until it reaches its intended destination. While reliable, a failure in one device can disrupt the entire network.
  4. Mesh Topology: In a mesh topology, devices are interconnected with multiple redundant paths. This redundancy improves reliability, as data can take alternative routes if one path fails. Mesh topologies can be either full mesh (every device is connected to every other device) or partial mesh.
  5. Tree Topology: A tree topology combines characteristics of star and bus topologies. Devices are arranged hierarchically, with the root being the central hub. This topology is useful for scaling networks and maintaining organization.


Switching

Switching refers to the process of directing data from one device to another within a network. It involves the use of network devices such as switches to manage the flow of information efficiently. There are two main types of switching: circuit-switching and packet switching.

1. Circuit-Switching: In circuit-switching, a dedicated communication path, or circuit, is established between two devices for the duration of their conversation. This path remains exclusive to those two devices until the communication session is complete. Traditional telephone networks are a classic example of circuit-switching, where a continuous connection is maintained between the caller and receiver throughout the call. While this method ensures a constant and predictable connection, it can be less efficient in utilizing network resources.

2. Packet Switching: Packet switching, on the other hand, involves breaking down data into smaller packets before transmission. Each packet is then sent independently to its destination, where they are reassembled to reconstruct the original data. Packet-switching allows multiple packets from different sources to share the same network resources simultaneously, optimizing bandwidth utilization. The internet predominantly relies on packet switching, providing a more flexible and efficient method for handling data in modern computer networks.

Network Types


Local Area Network (LAN):

A Local Area Network (LAN) is a network that is limited to a small geographic area, typically within a single building, campus, or a cluster of nearby buildings. LANs enable devices such as computers, printers, and servers to communicate and share resources within this confined space. They often use high-speed and low-latency technologies like Ethernet to facilitate fast data transfer. LANs are commonly found in homes, offices, and educational institutions, providing a foundation for local connectivity and resource sharing.

Metropolitan Area Network (MAN):

A Metropolitan Area Network (MAN) covers a larger geographic area than a LAN but is smaller than a Wide Area Network (WAN). It typically spans a city or a large campus, connecting multiple LANs within its range. MANs facilitate the interconnection of various local networks and provide higher data transfer rates compared to WANs. MANs are commonly used by businesses, universities, and municipal organizations to enable efficient communication and resource sharing across a city or a large geographical area.

Wide Area Network (WAN):

A Wide Area Network (WAN) is a network that extends over a large geographical area, such as a country, continent, or even globally. WANs connect multiple LANs and MANs, enabling communication over long distances. The internet itself is a prime example of a global WAN. WANs often use a variety of technologies, including public and private data networks, to transmit data across extensive geographic regions. They are crucial for facilitating long-distance communication, connecting remote offices, and providing access to centralized resources on a large scale.

Reference models

Layer Details of OSI Model:

The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven abstraction layers. Each layer performs specific tasks and communicates with the layers directly above and below it. The layers from bottom to top are:

  1. Physical Layer: Deals with the physical connection between devices, specifying characteristics like voltage, cable types, and data rates.
  2. Data Link Layer: Responsible for creating a reliable link between two directly connected nodes. It includes sublayers for addressing (MAC – Media Access Control) and error detection.
  3. Network Layer: Manages the routing of data packets between different networks. It involves logical addressing (IP – Internet Protocol) and handles packet forwarding.
  4. Transport Layer: Ensures end-to-end communication, providing error detection, correction, and flow control. Examples include TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
  5. Session Layer: Establishes, maintains, and terminates communication sessions between applications. It also manages synchronization and checkpointing.
  6. Presentation Layer: Deals with the format and syntax of data exchanged between applications. It handles data compression, encryption, and character set conversion.
  7. Application Layer: Provides a network interface for application software. It includes protocols for tasks such as email, file transfer, and remote access.

Layer Details of TCP/IP Model:

The TCP/IP model, also known as the Internet protocol suite, is a four-layer model that is more widely used in practice. The layers from bottom to top are:

  1. Link Layer: Similar to the OSI model’s Data Link Layer, this layer deals with the physical connection and data framing.
  2. Internet Layer: Corresponding to the OSI Network Layer, it manages the routing of packets between networks and includes the IP protocol.
  3. Transport Layer: Comparable to the OSI Transport Layer, it provides end-to-end communication. TCP ensures reliable, connection-oriented communication, while UDP offers faster, connectionless communication.
  4. Application Layer: Combining elements of the OSI Session, Presentation, and Application Layers, this layer provides network services directly to applications. Protocols like HTTP, FTP, and SMTP operate at this layer.

Difference between OSI and TCP/IP Models:

AspectOSI ModelTCP/IP Model
Number of Layers7 (Physical, Data Link, Network, Transport, Session, Presentation, Application)4 (Link, Internet, Transport, Application)
Development HistoryDeveloped by the International Organization for Standardization (ISO)Developed by the U.S. Department of Defense for ARPANET
Layer FunctionsEach layer has specific functions, and they are well-defined.Functions are similar to OSI but grouped differently. The Transport layer combines aspects of OSI Transport and Session layers.
Widespread UsageLess widely implemented in practical applications.Widely adopted and forms the basis of the modern internet.
ProtocolsOSI model doesn’t specify protocols but serves as a reference model.TCP/IP model specifies well-known protocols such as IP, TCP, UDP, and more, which are widely used.
FlexibilityMore flexible due to a higher number of layers, making it suitable for a broader range of applications.Simplicity makes it more practical for real-world implementation, especially in internet communication.
Commonly ReferencedOften used as a conceptual model for understanding networking.More commonly referenced in practical networking scenarios.

Other Modules

References

Team
Team

This account on Doubtly.in is managed by the core team of Doubtly.

Articles: 181