CCN Module 2
Twisted Pair Cable
1. Definition
Twisted pair cable is a guided transmission medium consisting of two insulated copper
wires twisted together.
It is used to transmit electrical signals in communication systems.
Twisting helps in reducing noise and electromagnetic interference (EMI).
It is the most commonly used medium in LANs and telephone networks.
2. Construction
Made of two copper conductors, each covered with insulation
The wires are twisted in a helical form
Several twisted pairs are grouped together in a cable
Covered with an outer protective jacket
Uses RJ-45 connectors for networking
3. Working Principle
Data is transmitted in the form of electrical signals
One wire carries the signal, and the other carries the inverse signal
Due to twisting:
o External noise affects both wires equally
o Noise is canceled at the receiver (differential signaling)
This improves signal quality and reduces interference
4. Important Concepts
Crosstalk
Interference between adjacent wire pairs
Types:
o NEXT (Near-End Crosstalk)
o FEXT (Far-End Crosstalk)
Attenuation
Loss of signal strength as distance increases
Measured in decibels (dB)
Bandwidth
Depends on cable category
Higher category → higher data transmission speed
Impedance
Standard value: 100 ohms
Important for proper signal transmission
5. Types of Twisted Pair
1. UTP (Unshielded Twisted Pair)
No shielding
Low cost
More susceptible to noise
2. STP (Shielded Twisted Pair)
Has metallic shielding
Reduces interference significantly
Costlier than UTP
6. Categories (Standards)
Defined by TIA/EIA
Cat5 → 100 Mbps
Cat5e → 1 Gbps
Cat6 → up to 10 Gbps (short distance)
Cat6a / Cat7 → higher performance
7. Characteristics
Maximum cable length: 100 meters
Lightweight and flexible
Easy to install and maintain
Moderate bandwidth
Susceptible to EMI (especially UTP)
8. Advantages
Low cost and economical
Easy installation
Flexible and lightweight
Widely available
Suitable for short-distance communication
9. Disadvantages
Limited bandwidth compared to fiber optic
High attenuation
More noise interference
Limited distance coverage
Less secure than fiber
10. Applications
Telephone communication systems
Ethernet networks (LAN)
Internet connections
Office and home networking
Coaxial Cable
1. Definition
A Coaxial Cable is a guided transmission medium consisting of a central conductor
surrounded by insulating and shielding layers.
It is used to transmit high-frequency electrical signals with low interference.
The term coaxial means both conductors share the same axis.
2. Construction
A coaxial cable has four main layers:
1. Inner Conductor
o Solid copper or stranded wire
o Carries the actual signal
2. Dielectric Insulator
o Surrounds the inner conductor
o Maintains separation and prevents signal loss
3. Outer Conductor (Shield)
o Metallic braided mesh or foil
o Protects from electromagnetic interference (EMI)
4. Outer Jacket
o Plastic covering
o Provides physical protection
3. Working Principle
Data is transmitted as electrical signals through the inner conductor
The outer shield acts as ground and blocks external noise
The signal remains confined within the cable, reducing loss and interference
Supports higher frequency transmission than twisted pair
4. Important Concepts
Shielding
Prevents external electromagnetic interference
Reduces noise and improves signal quality
Attenuation
Signal loss over distance
Lower than twisted pair
Bandwidth
Higher than twisted pair
Suitable for high-frequency signals
Characteristic Impedance
Important for signal transmission
Common values:
o 50 ohm → data communication
o 75 ohm → cable TV
5. Types of Coaxial Cable
1. Baseband Coaxial Cable
Used for digital transmission
Entire bandwidth used by one signal
2. Broadband Coaxial Cable
Used for analog transmission
Supports multiple channels using frequency division
6. Characteristics
Better noise immunity than twisted pair
Longer transmission distance
Higher bandwidth
More rigid and thicker cable
7. Advantages
High resistance to noise and interference
Supports higher bandwidth
Reliable transmission
Longer distance than twisted pair
8. Disadvantages
More expensive than twisted pair
Bulky and less flexible
Difficult to install and maintain
If cable fails, entire network segment may be affected
9. Applications
Cable television (TV signals)
Broadband internet connections
CCTV surveillance systems
Early Ethernet networks (10Base2, 10Base5)
Optical Fiber Cable
1. Definition
Optical Fiber is a transmission medium that carries data in the form of light signals instead
of electrical signals.
It consists of thin strands of glass or plastic fibers.
It provides very high bandwidth, low loss, and high-speed communication.
2. Construction
An optical fiber cable consists of three main parts:
1. Core
Central part made of glass or plastic
Carries light signals
2. Cladding
Surrounds the core
Has lower refractive index than core
Reflects light back into the core
3. Buffer Coating (Outer Jacket)
Protective layer
Prevents damage from moisture and physical stress
3. Working Principle
Based on Total Internal Reflection
Conditions:
Light must travel from denser medium (core) to rarer medium (cladding)
Angle of incidence must be greater than the critical angle
➡️Light rays continuously reflect inside the core → travel long distances with minimal loss
4. Important Concepts
Refractive Index
Determines how light bends
Core has higher refractive index than cladding
Attenuation
Very low (~0.2–0.5 dB/km)
Allows long-distance transmission
Dispersion
Spreading of light pulses → can distort signals
Types:
Modal dispersion (in multimode fiber)
Chromatic dispersion
Bandwidth
Extremely high (Gbps to Tbps)
Much higher than copper cables
5. Types of Optical Fiber
1. Single Mode Fiber (SMF)
Core diameter: ~8–10 µm
Single light path
Long-distance communication
High speed and low dispersion
2. Multimode Fiber (MMF)
Core diameter: ~50–62.5 µm
Multiple light paths
Short-distance communication
6. Characteristics
Very high bandwidth
Low attenuation
Long transmission distance
Immune to electromagnetic interference (EMI)
Lightweight and small size
7. Advantages
Very high data transmission speed 🚀
Low signal loss
Immune to noise and interference
High security (difficult to tap)
Suitable for long-distance communication
8. Disadvantages
Expensive installation
Fragile and delicate
Difficult to splice and maintain
Requires skilled handling
9. Applications
Internet backbone networks
Submarine communication cables
Cable TV and broadband
Medical imaging (endoscopy)
Wireless Transmission Media
1. Definition
Wireless Transmission Media refers to communication where data is transmitted through air
or vacuum using electromagnetic waves, without physical cables.
It is also called unguided media because signals are not confined to a physical path.
Widely used in mobile communication, Wi-Fi, satellite communication, and broadcasting.
2. Working Principle
Data is converted into electromagnetic (EM) signals
Signals are transmitted through antennas into free space
At the receiver, signals are captured and converted back into data
3. Signal Propagation Mechanisms
Reflection
Signal bounces off surfaces (buildings, walls)
Refraction
Signal bends when passing through different mediums
Diffraction
Signal bends around obstacles
Scattering
Signal spreads due to small particles (dust, rain)
4. Types of Wireless Transmission Media
A. Radio Waves
Features
Frequency range: 3 kHz – 1 GHz
Omnidirectional (spread in all directions)
Can penetrate walls
Uses
Radio broadcasting
Television signals
B. Microwaves
Features
Frequency range: 1 GHz – 300 GHz
Directional transmission
Requires Line-of-Sight (LOS)
Uses
Cellular networks (4G/5G)
Satellite communication
Point-to-point links
C. Infrared Waves
Features
Frequency: 300 GHz – 400 THz
Short-range communication
Cannot pass through walls
Uses
TV remote controls
Short-range device communication
D. Satellite Communication
Features
Uses satellites in orbit
Covers very large geographical areas
Types of Satellites
GEO (Geostationary)
MEO (Medium Earth Orbit)
LEO (Low Earth Orbit)
Uses
Satellite TV
GPS
Global communication
5. Characteristics
No physical medium required
Supports mobility
Easy to deploy
Variable bandwidth
Affected by environment
7. Advantages
No cables required
Easy installation
Supports mobility (mobile phones, Wi-Fi)
Cost-effective for large areas
8. Disadvantages
Security issues (signals can be intercepted)
Interference and noise
Weather affects performance
Limited bandwidth compared to fiber
9. Applications
Mobile communication (4G/5G)
Wi-Fi and Bluetooth
Satellite TV and GPS
Radio and TV broadcasting
Circuit Switching
1. Definition
Circuit Switching is a communication technique in which a dedicated communication path
(circuit) is established between sender and receiver before data transmission begins.
The path remains reserved exclusively for the entire duration of communication.
2. Basic Concept
Communication requires a fixed, continuous path
Resources such as bandwidth and channels are reserved
No other user can use the path during the session
3. Phases of Circuit Switching
1. Setup Phase
A connection is established between sender and receiver
Switching nodes find and reserve a path
Example: Dialing a telephone number
2. Data Transfer Phase
Data flows continuously through the dedicated path
No delay due to routing decisions
Fixed bandwidth is maintained
3. Teardown Phase
Connection is terminated
Resources are released and made available to others
4. Important Characteristics
Dedicated Path
A fixed path is established before transmission
Constant Bandwidth
Bandwidth is reserved and guaranteed
Continuous Transmission
Data is transmitted in a steady stream
Low Latency (after setup)
No routing delays once the circuit is established
Multiplexing in Circuit Switching
Uses Time Division Multiplexing (TDM)
Each user is assigned a fixed time slot
6. Performance
High reliability
Constant delay (low jitter)
No packet loss
Inefficient if no data is being transmitted (idle time)
7. Advantages
Reliable communication
Fixed bandwidth and guaranteed quality
No congestion during transmission
Suitable for real-time communication
8. Disadvantages
Inefficient use of resources (idle channel)
Setup time required
Expensive compared to packet switching
Not scalable for large networks
9. Applications
Traditional telephone systems
Voice communication networks
Example:
Public Switched Telephone Network (PSTN)
Packet Switching
Packet Switching is a communication technique in which data is divided into small packets
and transmitted independently over the network.
Each packet travels separately and is reassembled at the destination.
No dedicated path is required.
2. Basic Concept
Message is split into packets
Each packet contains:
o Source and destination address
o Sequence number
o Data (payload)
Packets may take different paths to reach the destination
3. Structure of a Packet
Each packet consists of:
Header
Contains control information
Source & destination IP address
Packet number
Payload
Actual data being transmitted
Trailer
Error detection (checksum)
4. Working of Packet Switching
1. Data is divided into packets
2. Packets are transmitted independently
3. Each router decides the best path
4. Packets may arrive out of order
5. Destination reassembles packets into original message
5. Important Concepts
Store-and-Forward
Each node stores the packet → checks it → forwards it
Routing
Path selection is done dynamically
Routers use routing algorithms
Congestion Control
Controls network traffic
Prevents overload
Error Detection
Uses checksums to detect errors
Sequencing
Ensures packets are reassembled correctly
6. Types of Packet Switching
1. Datagram Packet Switching
No pre-established path
Each packet routed independently
Example: Internet
2. Virtual Circuit Packet Switching
Logical path established before transmission
All packets follow same route
7. Characteristics
No dedicated path
Efficient bandwidth usage
Variable delay (latency)
Supports multiple users
8. Advantages
Efficient use of bandwidth
No need for dedicated connection
Scalable and flexible
Supports multiple users simultaneously
Suitable for data communication
9. Disadvantages
Variable delay (not constant)
Packet loss may occur
Packets may arrive out of order
Requires reassembly
Not ideal for real-time communication without QoS
10. Applications
Internet communication
Email systems
File transfer (FTP)
Web browsing
Example:
👉 Internet
No. Basis Circuit Switching Packet Switching
Establishes a dedicated path before Data is divided into packets and sent
1 Definition
transmission independently
2 Path Fixed and pre-defined Dynamic and changes per packet
3 Setup Time Required before communication Not required (datagram)
Data
4 Continuous stream Data sent in packets
Transmission
Resource
5 Resources reserved for entire session Resources shared dynamically
Allocation
Inefficient (unused bandwidth
6 Bandwidth Usage Efficient (used only when needed)
wasted)
7 Delay Constant delay after setup Variable delay (latency)
8 Latency Type Low and predictable High and unpredictable
9 Reliability High (no packet loss) Moderate (packet loss possible)
10 Packet Loss No packet loss Possible packet loss
11 Order of Data Always in order May arrive out of order
12 Congestion No congestion after setup Congestion possible
13 Flexibility Low High
14 Scalability Limited Highly scalable
15 Cost Expensive Cost-effective
16 Efficiency Low High
17 Routing No routing after setup Routing done for each packet
Entire communication fails if path
18 Failure Handling Alternate paths can be used
breaks
19 Suitable For Real-time voice communication Data communication (internet)
Public Switched Telephone Network
20 Example Internet
(PSTN)
Repeater
A Repeater is a network device used to regenerate, reshape, and retransmit signals to
extend the distance of a network.
It operates at the Physical Layer (Layer 1) of the OSI model.
It helps overcome the problem of signal attenuation in communication systems.
2. Need for Repeater
Signals weaken as they travel through a medium due to attenuation
Noise and distortion affect signal quality
After a certain distance, data becomes unreadable
➡️A repeater restores the signal so communication can continue over longer distances
3. Working of Repeater (Step-by-Step)
1. Receives a weak or distorted signal
2. Identifies digital bits (0s and 1s)
3. Removes noise and distortion
4. Reconstructs original signal
5. Retransmits a fresh, clean signal
4. Key Technical Concepts
Attenuation
Loss of signal strength over distance
Repeater compensates for attenuation
Regeneration
Repeater does not simply amplify
It rebuilds the signal, eliminating noise
Noise Removal
Filters unwanted disturbances
Improves signal quality
No Data Interpretation
Does not understand data
No checking of addresses (MAC/IP)
5. OSI Layer
Works at Layer 1 (Physical Layer)
Deals only with signals, not frames or packets
6. Characteristics
Works with digital signals
Extends network length beyond standard limits (e.g., >100 meters in Ethernet)
No intelligence or decision-making
Cannot filter or route data
7. Types of Repeaters
1. Analog Repeater
Amplifies analog signals
Also amplifies noise
2. Digital Repeater
Regenerates digital signals
Removes noise and distortion
3. Optical Repeater
Used in fiber optic communication
Converts optical signal → electrical → optical again
8. Advantages
Extends communication distance
Improves signal strength and clarity
Simple and low-cost device
Easy to install and maintain
9. Disadvantages
Cannot reduce network traffic
Cannot filter unwanted data
Extends collision domain
No security features
Limited functionality
10. Applications
Extending Ethernet LANs
Fiber optic communication systems
Telephone networks
Wireless signal boosting
11. Example
In Ethernet, maximum cable length is 100 meters
➡️A repeater can be used to extend beyond this limit by regenerating the signal
Hub
1. Definition
A Hub is a basic networking device that connects multiple computers in a network and
broadcasts data to all connected devices.
It is essentially a multi-port repeater.
It operates at the Physical Layer (Layer 1) of the OSI model.
2. Need for Hub
To connect multiple devices in a Local Area Network (LAN)
To provide a central connection point
Used in early Ethernet networks for simple communication
3. Working of Hub (Step-by-Step)
1. A device sends data to the hub
2. Hub receives the signal on one port
3. It amplifies/regenerates the signal
4. Broadcasts the signal to all other ports
5. Each connected device checks whether the data is intended for it
6. Only the correct device accepts the data, others ignore it
4. Key Technical Concepts
Broadcasting
Hub sends incoming data to all connected devices
No filtering or intelligent forwarding
Collision Domain
All devices share the same collision domain
If two devices transmit simultaneously → collision occurs
CSMA/CD
Uses CSMA/CD
Devices detect collisions and retransmit data
Half-Duplex Communication
Data can be sent only in one direction at a time
No Addressing
Hub does not use MAC or IP addresses
Works only with electrical signals
5. OSI Layer
Operates at Layer 1 (Physical Layer)
Does not process frames or packets
6. Types of Hub
1. Active Hub
Has power supply
Amplifies and regenerates signals
2. Passive Hub
No power supply
Simply distributes signals without amplification
3. Intelligent (Smart) Hub
Provides basic monitoring and management features
7. Characteristics
Centralized device (star topology)
No traffic management
Low efficiency
Supports small networks
8. Advantages
Low cost and economical
Easy to install and configure
Useful for small or temporary networks
No need for complex configuration
9. Disadvantages
High collision rate
Low performance due to broadcasting
No security (data sent to all devices)
Bandwidth is shared among all devices
Not suitable for large networks
Mostly obsolete (replaced by switches)
10. Applications
Early Ethernet LANs
Small home or lab networks
Network testing environments
11. Example
If 5 computers are connected to a hub:
o One sends data → all 5 receive it
o Only the intended device accepts it
➡️Leads to unnecessary traffic and collisions
Switch
1. Definition
A Switch is a networking device that connects multiple devices in a LAN and forwards data
only to the intended device using MAC addresses.
It is more intelligent than a hub and improves network efficiency.
It mainly operates at the Data Link Layer (Layer 2) of the OSI model.
2. Need for Switch
To overcome problems of hub (broadcasting and collisions)
To provide efficient communication between devices
To improve network performance and security
3. Working of Switch (Step-by-Step)
1. A device sends a data frame to the switch
2. Switch reads the destination MAC address
3. Checks its MAC Address Table
4. If address is found → forwards frame to specific port
5. If not found → broadcasts (learning phase)
6. Learns MAC address and updates table for future use
4. Key Technical Concepts
MAC Address Table (CAM Table)
Stores mapping of MAC address → port number
Learned dynamically
Frame Forwarding & Filtering
Forwarding → sends frame to correct port
Filtering → prevents unnecessary traffic
Collision Domain
Each port has a separate collision domain
➡️No collisions between devices
Broadcast Domain
Same broadcast domain unless VLAN is used
Full-Duplex Communication
Data can be sent and received simultaneously
➡️Improves speed and efficiency
5. Switching Methods
1. Store-and-Forward
Receives full frame
Checks errors
Then forwards
✔ Reliable but slower
2. Cut-Through
Starts forwarding immediately
✔ Faster but may forward errors
3. Fragment-Free
Checks first 64 bytes
✔ Balanced approach
6. OSI Layer
Primarily Layer 2 (Data Link Layer)
Advanced switches (Layer 3 switches) can also perform routing
7. Types of Switch
1. Unmanaged Switch
No configuration needed
Plug-and-play
2. Managed Switch
Configurable
Supports VLAN, QoS, monitoring
3. Layer 3 Switch
Performs both switching and routing
8. Characteristics
Intelligent device
High speed and performance
Reduces unnecessary traffic
Supports VLANs for network segmentation
9. Advantages
Reduces network collisions
Improves bandwidth utilization
Provides better security than hub
Supports full-duplex communication
Efficient data transmission
10. Disadvantages
Costlier than hub
Requires configuration (managed switch)
Limited to LAN (basic switches)
11. Applications
Modern LAN networks
Offices, schools, data centers
Backbone of enterprise networks
12. Example
If 5 devices are connected:
o Device A sends data to Device B
o Switch sends data only to B, not to others
➡️Reduces traffic and increases efficiency
13. Switch vs Hub
Feature Switch Hub
Layer Data Link Physical
Transmission Intelligent Broadcast
Collision Domain Separate Single
Speed High Low
Efficiency High Low
Routers
Definition
A Router is a networking device used to connect two or more different networks and
transfer data packets between them.
It forwards packets using IP addresses and determines the best path for data transmission.
Routers are intelligent devices that operate at the Network Layer (Layer 3) of the OSI model.
📌 2. Need for Router
Routers are required because:
Different networks need to communicate with each other
Large networks require efficient traffic management
Data packets need the best possible path to destination
Routers reduce unnecessary network traffic
They enable Internet connectivity
Example:
A home network connected to the Internet uses a router.
⚙️3. Working of Router
The working of a router takes place in the following steps:
Step 1: Receiving the Packet
Router receives a packet from a device or another router
Step 2: Reading Destination Address
Router examines the destination IP address present in the packet header
Step 3: Checking Routing Table
Router checks its Routing Table to determine the best route
Step 4: Path Selection
Router selects the most efficient path based on:
o Distance
o Cost
o Bandwidth
o Delay
Step 5: Packet Forwarding
Packet is forwarded to the next router or destination network
🔬 4. Routing Table
A Routing Table is a database maintained by the router.
It contains:
o Destination network addresses
o Next-hop addresses
o Interface information
o Routing metrics
The routing table helps the router make forwarding decisions.
🔬 5. Important Technical Concepts
🔹 IP Address
Routers use IP addresses for communication.
IP addresses uniquely identify devices on a network.
🔹 Packet Forwarding
Router forwards packets from one network to another.
It ensures packets reach the correct destination.
🔹 Best Path Selection
Router determines the shortest or best route using routing algorithms.
🔹 Network Segmentation
Routers divide large networks into smaller segments.
This reduces broadcast traffic and improves efficiency.
📡 6. OSI Layer
Router operates at the Network Layer (Layer 3) of the OSI model.
🔹 7. Routing Protocols
Routers use routing protocols to exchange routing information.
1. RIP (Routing Information Protocol)
RIP
Distance-vector routing protocol
Uses hop count as metric
Maximum hop count = 15
2. OSPF (Open Shortest Path First)
OSPF
Link-state routing protocol
Uses shortest path algorithm
Faster and more efficient than RIP
3. BGP (Border Gateway Protocol)
BGP
Used for Internet routing
Exchanges routing information between autonomous systems
🔹 8. Types of Routers
1. Wired Router
Uses Ethernet cables
Mostly used in offices
2. Wireless Router
Provides Wi-Fi connectivity
Commonly used in homes
3. Core Router
High-capacity router used in backbone networks
4. Edge Router
Located at network boundary
Connects internal networks to external networks
🔬 9. Advanced Functions of Router
🔹 NAT (Network Address Translation)
Converts private IP addresses into public IP addresses
Allows multiple users to share one Internet connection
🔹 Firewall Protection
Routers can filter malicious traffic
Improves network security
🔹 DHCP Service
Automatically assigns IP addresses to devices
🔹 QoS (Quality of Service)
Prioritizes important traffic like video calls and streaming
📏 10. Characteristics of Router
Intelligent networking device
Connects multiple networks
Uses logical addressing (IP)
Supports dynamic routing
Reduces broadcast traffic
Provides better network management
📊 11. Advantages of Router
Connects different networks efficiently
Reduces network congestion
Provides security through firewall and filtering
Supports Internet communication
Efficient path selection
Improves network performance
❌ 12. Disadvantages of Router
Expensive compared to hubs and switches
Complex configuration and maintenance
Requires skilled administration
Slower than switches because of routing decisions
📍 13. Applications of Router
Internet connectivity
Home and office networks
Enterprise networking
Data centers
WAN communication
Wireless networking
12. Gateway vs Router
Feature Gateway Router
Function Protocol conversion Path selection
OSI Layer All layers Network layer
Intelligence Very high High
Speed Slower Faster
Use Different networks/protocols Same protocol networks
Gateways
1. Definition
A Gateway is a network device that connects two or more different networks that use
different protocols.
It performs protocol conversion, enabling communication between heterogeneous systems.
It is considered the most intelligent network device.
2. Need for Gateway
Different networks may use different communication protocols
Devices may use different data formats, architectures, or addressing schemes
➡️A gateway ensures interoperability between such systems
3. Working of Gateway (Step-by-Step)
1. Receives data from source network
2. Interprets data according to source protocol
3. Converts data into compatible format
4. Translates addressing and control information
5. Forwards converted data to destination network
4. Key Technical Concepts
Protocol Conversion
Converts one protocol into another
Example: HTTP ↔ FTP, SMTP ↔ POP
Data Format Translation
Converts encoding, packet format, or message structure
Address Conversion
Converts different addressing schemes
Full Stack Processing
Gateway operates across multiple layers of OSI model
5. OSI Layer
Operates at all layers (Layer 1 to Layer 7)
Especially active at:
o Application Layer
o Presentation Layer
o Session Layer
6. Types of Gateways
1. Network Gateway
Connects different networks
Example: Internet gateway
2. Application Gateway
Works at application layer
Example: Email gateway
3. Protocol Gateway
Converts communication protocols
4. VoIP Gateway
Converts analog voice ↔ digital packets
7. Characteristics
Highly intelligent device
Performs complex processing
Supports communication between dissimilar systems
Slower compared to switches/routers due to conversion
8. Advantages
Enables communication between different networks
Supports interoperability
Flexible and powerful
Can provide security and filtering
9. Disadvantages
Expensive
Complex configuration
High processing delay
Can become bottleneck
10. Applications
Internet access (home network to ISP)
Email systems
VoIP communication
Enterprise networks
Cloud communication systems
11. Example
A user sends an email from one system using SMTP
Gateway converts it for another system using POP/IMAP
➡️Enables communication between different protocols