Computer Networks Overview and Models
Computer Networks Overview and Models
LAN, MAN, and WAN differ primarily in terms of their geographic coverage. LAN (Local Area Network) covers a small geographical area such as a single building or campus, allowing for high data transfer rates and low latency due to the proximity of devices . MAN (Metropolitan Area Network) spans a city or campus, offering a balance between the high efficiency of a LAN and the broad coverage of a WAN . WAN (Wide Area Network) covers a large geographic area, potentially a country or continent, and typically involves slower transmission speeds due to long-distance data travel . These differences impact network design by influencing topology choices, security measures, and bandwidth requirements, with WANs requiring more complex infrastructure and robust security protocols compared to LANs and MANs .
The OSI model consists of seven layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application, each with distinct functions such as data encapsulation, peer-to-peer communication, and session management . TCP/IP, in contrast, uses a four-layer model: Link, Internet, Transport, and Application, merging some of the OSI layers and focusing more on reliable data transmission over the internet . Regarding addressing, OSI uses distinct physical, logical, and port addresses for different layers, whereas TCP/IP primarily differentiates between IP addresses and port numbers for host and process identification .
SSL (Secure Sockets Layer) and its successor TLS (Transport Layer Security) protocols enhance network security by providing encrypted communication between networked devices, ensuring data confidentiality and integrity . These protocols function at the transport layer to secure data exchanges across networks, particularly in web and email applications, by establishing a secure channel between client and server . SSL/TLS utilize cryptographic algorithms to prevent eavesdropping, tampering, and forgery, thereby enhancing trust in online transactions and communications by safeguarding sensitive information such as financial data, personal identifiers, and login credentials . This security framework is crucial for protecting data across the increasingly interconnected web environment .
Multiple access protocols like CSMA/CD (Carrier Sense Multiple Access with Collision Detection) and CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) are crucial for managing data transmission over a shared medium in LANs . CSMA/CD is used in Ethernet networks to detect collisions and recover from them by retransmitting data after a random delay, allowing efficient use of network bandwidth . CSMA/CA, employed in wireless LANs, attempts to prevent collisions before they occur by coordinating transmissions to ensure data integrity in environments where collision detection is not feasible, such as in wireless transmissions . These protocols ensure smooth network operation by minimizing data collisions and maximizing throughput .
Bit rate refers to the number of bits transmitted per second, while baud rate measures the number of signal units transmitted per second . The distinction is critical because a single signal unit can carry more than one bit using modulation techniques, meaning that the baud rate can be less than or equal to the bit rate depending on how many bits each signal unit represents . This differentiation is essential for understanding the efficiency and capacity of data transmission systems, influencing the design of communication channels to optimize data throughput .
TCP (Transmission Control Protocol) provides connection-oriented services, ensuring reliable, ordered, and error-checked delivery of streams of data between applications using features like connection establishment, flow control, and error recovery . UDP (User Datagram Protocol), on the other hand, offers connectionless service with minimal overhead, focusing on reducing latency by allowing datagrams to be sent without establishing a connection, which is useful for applications like streaming where speed is prioritized over reliability . Thus, TCP is suited for applications requiring reliable transmission such as file transfers, whereas UDP is used where speed is crucial, such as in streaming services and gaming .
The MAC (Media Access Control) sublayer in Ethernet is responsible for managing protocol access to the physical network medium, handling frame construction, addressing, and error checking to ensure proper data packet transmission . It plays a vital role in network efficiency by efficiently regulating data access, minimizing collisions using protocols like CSMA/CD, and facilitating seamless and orderly data exchange among devices . Furthermore, it supports physical addressing, thereby improving communication efficiency and reducing processing time by network devices . This efficiency contributes to the overall performance and reliability of Ethernet networks .
Crossbar switches consist of a grid of switches that directly connect inputs to outputs, with each crosspoint representing a possible connection . This allows extensive parallelism but can be inefficient as the number of crosspoints increases exponentially with added inputs and outputs. Crosspoint switches, on the other hand, are typically more selective, using fewer switch points to achieve the necessary connections, which can be less costly but may introduce bottlenecks . In circuit switching, crossbar switches are often preferred for their robust parallel connection capability but are balanced against the cost of scaling up the infrastructure, thereby influencing network switch design in terms of balancing performance and economic feasibility .
The network layer is primarily responsible for routing and forwarding data packets to their destinations, handling logical addressing, and ensuring data packet independence . The ARP (Address Resolution Protocol) supports the network layer by mapping IP addresses to MAC addresses, essential for routing the packet to the correct hardware interface . ICMP (Internet Control Message Protocol) assists by providing network-related error messages and diagnostic functions, such as reporting unreachable destinations and pinging to check connectivity, thereby enhancing the reliability and maintainability of routing and forwarding processes .
CRC (Cyclic Redundancy Check) provides a more reliable method for error detection compared to parity checks, as it can detect multiple bit errors and is suitable for detecting burst errors . Parity checks, while simpler, only identify single bit errors and are less effective in noisy communication channels . CRC is commonly used in network communications like Ethernet due to its higher reliability over networks with potential noise and interference .