0% found this document useful (0 votes)
4 views48 pages

l2 Computer Network

The lecture covers key concepts in data communications and networking, including NAT protocol, differences between intranet and internet, and the OSI and Internet models. It explains how NAT allows private networks to access the internet, the characteristics and challenges of IoT, and the evolution of mobile communication. Additionally, it discusses pervasive networking and its enabling technologies, emphasizing the importance of network models in understanding communication processes.

Uploaded by

sas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views48 pages

l2 Computer Network

The lecture covers key concepts in data communications and networking, including NAT protocol, differences between intranet and internet, and the OSI and Internet models. It explains how NAT allows private networks to access the internet, the characteristics and challenges of IoT, and the evolution of mobile communication. Additionally, it discusses pervasive networking and its enabling technologies, emphasizing the importance of network models in understanding communication processes.

Uploaded by

sas
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Lecture 03:

Data Communications and


Network Concepts
Today’s Agenda

1. NAT Protocol
2. Intranet vs. Internet
3. OSI & Internet Network Models
4. IoT, Mobile & Telecom Networks
NAT Protocol

NAT (Network Address Translation) is a networking technique (often


referred to as a protocol/service) that allows devices in a private
network to communicate with the public internet by translating IP
addresses.

 NAT converts a private IP address -> public IP address (and vice


versa) as data packets pass through a router.
Why NAT is Needed?

• IP Address Conservation
IPv4 addresses are limited, so NAT allows many devices to share one public IP.
• Internet Access for Private Networks
Devices with private IPs (e.g., 192.168.x.x) cannot directly access the internet—
NAT enables this.
• Basic Security
Internal IP addresses are hidden from the outside world.
How NAT Works?

• A device (e.g., your laptop) sends a request to the internet.


• The router (with NAT) replaces the private IP with its public IP.
• It stores this mapping in a NAT table.
• The response comes back to the router.
• The router translates it back to the correct private IP and forwards it.
Types of NAT

1. Static NAT
• One private IP <-> one public IP
• Used for servers (e.g., web server)
2. Dynamic NAT
• Maps private IPs to a pool of public IPs
3. PAT (Port Address Translation) / NAT Overload
• Many devices share one public IP using different
ports
• Most common in home networks
Types of NAT

1. Static NAT
• One private IP one public IP
• Used for servers (e.g., web server) Other Classifications:
• SNAT (Source NAT) -> Changes
2. Dynamic NAT
source IP (outgoing traffic)
• Maps private IPs to a pool of public IPs • DNAT (Destination NAT) ->
3. PAT (Port Address Translation) / NAT Overload Changes destination IP
• Many devices share one public IP using different (incoming traffic)
ports
• Most common in home networks
NAT; Advantages and Limitations

Advantages:
• Saves public IP addresses
• Adds a layer of security
• Allows large networks to connect to
the internet
NAT; Advantages and Limitations

Advantages: Limitations:
• Saves public IP addresses • Can break some protocols (e.g., VoIP,
• Adds a layer of security FTP)
• Makes peer-to-peer communication
• Allows large networks to connect to harder
the internet
• Adds processing overhead
NAT; Real-Life Example

Your home WiFi:


• 10+ devices (phones, laptops)
• All use one ISP-provided public IP

 This is NAT in action


NAT; One-line Closure

“NAT enables many private devices to share a single public IP by


translating addresses at the network boundary.”
Intranet vs. Internet

• Internet: A global network of networks accessible to everyone.


• Intranet: A private network used within an organization.
Intranet vs. Internet; Key Differences
Feature Internet Intranet
Access Public (anyone with connection) Restricted (authorized users only)
Scope Worldwide Within an organization (company,
university)
Ownership No single owner Owned by a single organization
Security Less controlled Highly secure and controlled
Users General public Employees, students, members
Purpose Information sharing globally Internal communication &
collaboration
Examples Google, Facebook, YouTube Company HR portal, university LMS
Intranet vs. Internet; Advantages

Internet: Intranet:
• Global connectivity • Secure communication
• Massive information access • Faster internal operations
• Controlled data sharing
Intranet vs. Internet; One-line Closure

“The Internet connects the world, while an intranet connects an


organization internally.”
IoT, Mobile & Telecom Networks
IoT (Internet of Things)

IoT refers to a network of physical devices connected to the Internet


that can collect, send, and act on data.

Key Idea:
“Things” (devices) + Internet + Data exchange
Components of IoT

• Devices (Sensors/Actuators) – e.g., temperature sensor


• Connectivity – WiFi, Bluetooth, 4G/5G
• Data Processing – cloud or edge computing
• User Interface – mobile app/web dashboard
Examples of IoT

• Smart homes (smart lights, Alexa)


• Smart cities (traffic sensors)
• Health monitoring (smartwatch)
Characteristics of IoT

• Automation
• Real-time data
• Remote control
Challenges in IoT

• Security & privacy concerns


• Data management
• Interoperability and Standardization
• Power and Connectivity Constraints
• Scalability
Mobile Communication

Mobile communication is the wireless transmission of voice, data, and


multimedia between mobile devices over cellular networks.

Communication anytime, anywhere without wires


Mobile Communication: Generations

• 1G – Analog voice
• 2G – Digital voice (SMS)
• 3G – Internet + multimedia
• 4G (LTE) – High-speed data, streaming
• 5G – Ultra-fast, low latency, IoT support
Mobile Communication: Components

• Mobile device (phone)


• Base station (cell tower)
• Switching system (network core)
Mobile Communication: Features

• Mobility (user can move freely)


• Roaming
• Wireless connectivity
Telecommunication Network

A telecommunication network is a system of interconnected nodes and


links that enables communication over distance.

Infrastructure that supports communication


Telecommunication Network: Types

• Telephone networks
• Computer networks (Internet)
• Wireless networks
• Satellite networks
Telecommunication Network: Components

• Sender & receiver


• Transmission medium (fiber, radio waves)
• Switching systems
• Protocols
Telecommunication Network: Mode of
Communication
• Simplex (one-way)
• Half-duplex
• Full-duplex
Relationship Between Telecom Network, Mobile
communication and IoT
• Telecommunica on Network → The founda on/infrastructure
• Mobile Communica on → A type of telecom network (wireless)
• IoT → Uses both telecom + mobile networks to connect devices
Relationship Between Telecom Network, Mobile
communication and IoT
• Telecommunica on Network → The founda on/infrastructure
• Mobile Communica on → A type of telecom network (wireless)
• IoT → Uses both telecom + mobile networks to connect devices

Simple analogy:
Telecom Network = “Road system”
Mobile Communication = “Vehicles (wireless communication)”
IoT = “Smart vehicles sending data automatically”
Quick Comparison

Feature IoT Mobile Communication Telecom Network

Focus Devices & data Wireless communication Communication


infrastructure
Connectivity Internet-based Cellular network Wired + Wireless

Users Devices + humans Humans (mainly) Both

Examples Smart home Mobile call Internet backbone


One-line Closure

“Telecommunication networks provide the infrastructure, mobile


communication enables wireless connectivity, and IoT uses both to
create smart, connected systems.”
Network Model : OSI & Internet Model, Pervasive
networking
Network Models

Network models define how data is structured, transmitted, and


processed across networks using layered architecture.

Two types of network models:


1. OSI Model (7 Layers – Conceptual)
2. Internet Model (TCP/IP Model – 4 Layers)
OSI Model (7 Layers – Conceptual)

Purpose: Teaching & standardization (developed by ISO)

Layers (Top -> Bottom)


1. Application – User services (HTTP, FTP)
2. Presentation – Data format, encryption
3. Session – Session management
4. Transport – Reliable delivery (TCP/UDP)
5. Network – Routing (IP)
6. Data Link – Framing, MAC
7. Physical – Bits, signals
OSI Model (7 Layers – Conceptual)

Purpose: Teaching & standardization (developed by ISO)

Layers (Top -> Bottom)


1. Application – User services (HTTP, FTP)
2. Presentation – Data format, encryption Key Idea: Each layer has a specific role
and communicates with adjacent
3. Session – Session management layers.
4. Transport – Reliable delivery (TCP/UDP)
5. Network – Routing (IP)
6. Data Link – Framing, MAC
7. Physical – Bits, signals
Internet Model (TCP/IP Model – 4 Layers)

Purpose: Practical implementation (used in real internet)

Layers:
1. Application – (OSI: Application + Presentation + Session)
2. Transport – TCP/UDP
3. Internet – IP addressing, routing
4. Network Access (Link) – Data link + physical
OSI vs TCP/IP Mapping

OSI Model TCP/IP Model

Application Application

Presentation Application

Session Application

Transport Transport

Network Internet

Data Link Network Access

Physical Network Access


Key Difference: OSI vs TCP/IP Model

• OSI = Detailed theoretical model (7 layers)


• TCP/IP = Practical model (4 layers)
Pervasive Networking

Pervasive networking refers to the ability to access network services


anytime, anywhere, using any device.

 Also called Ubiquitous Computing/Networking


Pervasive Networking: Key Characteristics

• Anywhere connectivity (home, office, public places)


• Any device (phones, laptops, IoT devices)
• Seamless communication
• Context-aware (system adapts to user environment)
Pervasive Networking: Technologies Enabling It

• Wi-Fi
• Mobile networks (4G/5G)
• IoT devices
• Cloud computing
Pervasive Networking: Examples

• Smart homes (control lights from phone)


• Wearable devices (fitness trackers)
• Smart cities (traffic monitoring)
• Mobile banking anywhere
Pervasive Networking: Challenges

• Security & privacy


• Network reliability
• Power consumption (battery devices)
Relationship: Network Models, Pervasive
Networking
• Network Models (OSI/TCP-IP) -> Define how communication works
• Pervasive Networking -> Defines where and how widely
communication is used
 Simple analogy:
• OSI/TCP-IP = “Rules of communication”
• Pervasive Networking = “Communication everywhere in daily life”
One-line Closure

“Network models explain how data moves, while pervasive networking


ensures it moves everywhere, anytime.”
Thank You

You might also like