CN_Module notes
CN_Module notes
Broadcast links are typically used in local area networks (LANs), whereas
point-to-point links are more common in wide area networks (WANs).
Network hardware often varies based on the size, coverage area, and
intended use of the network:
Fiber-optic cables are particularly highlighted for their high bandwidth and
minimal signal degradation over long distances.
3. Network Layer
• What it does: Ensures data packets travel from the sender's device to
the receiver's device, even across different networks.
• Functions:
o Provides addresses (logical addressing) like IP addresses.
o Finds the best route for data (routing).
4. Transport Layer
• What it does: Manages the end-to-end delivery of messages between
applications or processes.
• Functions:
o Identifies which app the data belongs to using port numbers.
o Splits large messages into smaller parts and combines them at
the destination (segmentation and reassembly).
o Establishes a connection between devices (either reliable or
quick).
o Controls data flow to prevent overload.
o Fixes errors during transmission.
6. Presentation Layer
• What it does: Prepares data for the application layer by translating,
encrypting, or compressing it.
• Functions:
o Converts data into formats the receiver understands (e.g.,
changing text encoding).
o Encrypts data for security and decrypts it at the receiver's side.
o Reduces the size of data (compression).
7. Application Layer
• What it does: Provides network-related services directly to users or
applications.
• Functions:
o Allows remote login to systems.
o Supports file transfer and sharing.
o Enables email communication.
o Manages directories like databases or contact lists.
o Provides access to websites and the internet.
Peer-to-Peer Process
• How communication happens:
1. Data starts at the top layer (Application) of the sender's device
and moves down through the layers.
2. Each layer adds its own information to the data (like addresses
or checks for errors).
3. Data is sent over the network to the receiver.
4. On the receiver's side, the data moves up through the layers,
with each layer removing its specific information.
5. The final data is delivered to the application at the top layer.
• Interfaces: Each pair of layers works together and defines the services
they provide to the layer above or below.
o Went live in December 1969 with four nodes (UCLA, UCSB, SRI, and the
University of Utah).
o Demonstrated its capability to connect various incompatible host computers and
handle data communication effectively.
o Introduced to organize and map host names to IP addresses as the network scaled
up.
o Developed to address the growing difficulty of finding hosts on the expanding
ARPANET.
o DNS maps human-readable domain names to numerical IP addresses.
o It became a distributed database system, storing various types of naming-
related data.
o Critical for the usability and organization of the modern Internet.
2. What is ATM?
• The concept of Asynchronous Transfer Mode (ATM), revolves around a high-speed,
connection-oriented network technology designed for efficient data transfer across various
applications
• ATM is a cell-based switching technology used for high-speed communication.
• It transmits data in small, fixed-sized units called cells (53 bytes in size).
o 5 bytes for the header.
o 48 bytes for the payload (data).
• Unlike traditional packet-switched networks, ATM maintains a fixed size for all cells,
which simplifies switching and reduces delays.
1. Connection-Oriented:
o Before data transfer begins, a connection (virtual circuit) must be established
between the sender and receiver.
o Two types of connections:
▪ Permanent Virtual Circuits (PVCs): Pre-configured paths.
▪ Switched Virtual Circuits (SVCs): Dynamically set up for each session.
2. Quality of Service (QoS):
o ATM supports different service levels for diverse applications like voice, video,
and data.
o Applications can specify requirements for delay, bandwidth, and error rates.
1. Data Segmentation:
o Larger data packets are divided into fixed-size cells.
2. Cell Switching:
o ATM switches route cells across the network using information in the cell
headers.
3. Reassembly:
o At the destination, the cells are reassembled into the original data format.
Advantages of ATM
Disadvantages of ATM
Ethernet is one of the most widely used wired LAN technologies, offering high-speed and
reliable communication within a limited geographical area such as homes, offices, or
campuses. It adheres to the IEEE 802.3 standard.
Ethernet operates in a bus or star topology. In a bus topology, all devices share a common
communication medium, whereas in a star topology, all devices connect to a central
switch or hub.
Ethernet employs the Carrier Sense Multiple Access with Collision Detection
(CSMA/CD) protocol to manage access to the shared communication medium:
3.4. Advantages
Example:
Imagine a small office where desktop computers, printers, and servers are connected via
Ethernet cables to a central device, such as a switch. This setup ensures fast and stable
communication between devices.
What is a Wireless LAN? A Wireless Local Area Network (LAN) allows computers and
devices to connect and communicate without cables. This is done using radio waves
instead of wires, making it easy to set up networks in homes, offices, or public spaces like
cafes and libraries. A Wireless LAN (WLAN) allows devices to communicate over the
air without physical cables. WLANs use Wi-Fi as their most common technology,
making them highly flexible and convenient.
Key Features:
4. Types of Connections:
o Infrastructure Mode: Devices connect to an AP, which handles all
communication and Internet access.
o Ad Hoc Mode: Devices communicate directly with each other without an AP,
useful for quick, small-scale networks .
5. Frequency Bands:
o WiFi typically operates in the unlicensed 2.4 GHz and 5 GHz bands, making it
compatible worldwide.
o These frequencies can experience interference from other devices like
microwaves or cordless phones .
6. Reliability Challenges:
o Wireless signals can be affected by walls, furniture, or other obstacles.
o To counter issues like signal fading, modern techniques such as Multiple Input
Multiple Output (MIMO) are used to enhance reliability and speed 【
11:11†source】.
• Flexibility: No need for cables, Easy installation and expansion, Reduces cabling costs
• Mobility: Users can move devices freely within the network range.
• Scalability: Adding new devices is simple compared to wired networks.
Limitations:
• Interference: Shared frequency bands can lead to slower speeds in crowded areas.
• Security: Wireless networks are more susceptible to unauthorized access, so encryption
protocols like WPA2 are essential to secure communication.
• WLANs use CSMA/CA (Collision Avoidance) instead of CSMA/CD due to the
difficulty of detecting collisions in a wireless medium. Security protocols such as
WPA3 ensure the confidentiality and integrity of data transmitted over WLANs.
4.1. Comparison
Feature Ethernet Wireless LAN (WLAN)
Medium Wired (cables) Wireless (radio signals)
Standards IEEE 802.3 IEEE 802.11
Speed Up to 400 Gbps Up to several Gbps (Wi-Fi 6)
Security Physical control over cables WPA2/WPA3 encryption
Installation Complex due to cabling Easy and quick
Mobility Limited High
Both Ethernet and Wireless LANs are essential technologies in computer networks, as
discussed in Andrew S. Tanenbaum's Computer Networks. These technologies allow
devices to communicate and share resources in local area networks (LANs).
• Ethernet: Used for connecting stationary devices like smart TVs or gaming consoles for
uninterrupted performance.
• WLAN: Used for mobile devices like smartphones, tablets, or IoT devices for
convenience.
In summary, Ethernet and WLANs complement each other, with Ethernet providing high-
speed, stable connections and WLANs offering mobility and flexibility.
Ethernet is one of the most widely used technologies for local area networks (LANs).
Here's a simplified explanation based on the detailed content from your textbook:
The physical layer in a network is responsible for transferring data (bits) from one device
to another. Various physical media are used for this transmission, and each has specific
advantages in terms of speed, delay, cost, and maintenance. Below is a detailed
explanation of key points about guided transmission media, particularly magnetic media
and twisted pairs:
Key Takeaways
• Magnetic Media: Best for cost-effective bulk data transfer but slow for real-time
communication.
• Twisted Pairs: Widely used for telecommunication and networking due to their low cost,
ease of use, and decent performance.
• Advancements: Newer cable categories (Cat 6, Cat 7) are optimized for high-speed
communication, supporting modern data demands.
Coaxial cable (or "coax") is a widely used transmission medium known for its better
shielding and higher bandwidth compared to unshielded twisted pair cables. This makes
it capable of transmitting data over longer distances at higher speeds.
Power lines, which are typically used to deliver electricity, can also be repurposed for
data communication both inside and outside homes.
• Fiber optics are used for long-haul transmission in network backbones, high speed LANs
(although so far, copper has always managed catch up eventually), and high-speed
Internet access such as FttH (Fiber to the Home).
• Over the past decades, data transmission rates have grown from 45 Mbps to 100 Gbps,
with potential for much higher speeds using fiber optics.
• Unlike CPUs, which are nearing physical limits, fiber technology can theoretically
achieve up to 50 Tbps, but current limitations are due to converting electrical signals to
optical signals.
• Light Source: Generates light signals to represent data (e.g., a pulse for 1 bit, no pulse for
0 bit).
• Transmission Medium: A thin glass fiber that guides the light signals.
• Detector: Converts the received light pulses back into electrical signals.
• Light signals are kept inside the fiber using a physics principle called total internal
reflection.
• When light hits the boundary of the glass and air at a specific angle (critical angle), it
reflects back into the glass instead of escaping.
• This reflection allows light to travel long distances with minimal loss.
• Multimode Fiber: Allows light to bounce inside the fiber at multiple angles, suitable for
short distances.
• Single-Mode Fiber: Has a very thin core and allows light to travel in a straight line. It’s
more expensive but ideal for long-distance communication (e.g., 100 Gbps over 100 km).
• Fiber optics use extremely transparent glass made from sand, which is inexpensive and
abundant.
• This glass is so clear that if oceans were filled with it, the seabed would be visible from
the surface.
Fiber optic cables are special cables used to transmit data using light signals. Unlike
coaxial cables, they don't have a braided layer but consist of the following main parts:
1. Terrestrial Fibers:
o Buried within 1 meter of the ground, but can be damaged by digging or animals.
2. Underwater Fibers:
o Near the shore, they are buried in trenches with special equipment.
o In deep water, they are laid on the ocean floor and are vulnerable to fishing
equipment or marine life.
Connecting Fibers
1. Connectors:
o Fibers are plugged into sockets, making them easy to rearrange.
o They lose 10-20% of light during transmission.
2. Mechanical Splicing:
o The ends of fibers are aligned and clamped in place.
o This method loses about 10% of light and requires skilled technicians.
3. Fusion Splicing:
o Fibers are melted together for a permanent connection.
o This provides the best quality but still causes slight signal loss.
Challenges
• Fragility, unidirectional communication, and higher interface costs are notable drawbacks.