Network Basics
Network Basics
• Basics of Networking
• OSI 7-layers model
• TCP/IP-5 layers model
• IP Addressing
Let’s Start …
• What is network?
• When we connect one PC with another for
some common objective then that is known
as a network
• How to name a network?
• Both PCs are connected,
– in same place LAN
– in different geographical location WAN
Why Network
Networking Informati
Enables: on
Sharing
Centralized
Administrati
on and
Support
(Hardware and
Software)
Resource Sharing
Min. components required to
establish a network --
• PC – Server or Client
Databa
se
Client
Computer
Sample network adapter card
MAC Address
24 bits 24 bits
0000.0c12. 3456
ROM
RAM
• CO-AXIAL
• TWISTED PAIR
• FIBRE OPTIC
Coaxial Cable
Braided Copper Shielding
OuterJacket
Plastic Insulation
Copper Conductor
BNC Connector
Speed and throughput: 10/100/1000 Mbps
Relative cost: More than UTP, but still low
Media and connector size: Medium
Maximum cable length: 185/500 m
Twisted-Pair (UTP and STP)
Shielding
Crosstalk occurs when signals
from one line mix into another
line
RJ-45 connector and jack
Maximum
Category data Usual application
rate
10 Mbps
CAT 3 Voice and data on 10BASE-T Ethernet
(16MHz)
Used in 16 Mbps Token
16 Mbps Ring
CAT 4 Otherwise not used
(20MHz)
much
Full-motion video
Teleradiology
600-700 MHz
CAT 7 Government and
1.2 GHz in pairs with
(ISO Class F) manufacturing
Siemon connector
environments
Shielded system
Fiber-optic cable
Optical fiber (core) Glass cladding
Fiber-optic connector
Protective outer sheath
(jacket)
Hub
Ring Topology (LAN)
Redundant ring to
avoid network failure
• Repeaters at each
component
• Unidirectional
transmission links
• Closed loop
• Typically used
in FDDI networks
TREE (Star Bus) Network
Hub Hub Hub
Typical small Wired & Wireless
SOHO LAN
ISO’s 7 LAYER OSI MODEL
Why a Layered Network Model?
Application • Reduces complexity (one big
problem to seven smaller
Presentation ones)
Session • Standardizes interfaces
• Facilitates modular
Transport engineering
• Assures interoperable
Network
technology
Data Link • Accelerates evolution
• Simplifies teaching and
Physical learning
Host Layers
Application
Presentation
Session
Transport
Network
} Host layers: Provide
accurate data delivery
between computers
Data Link
Physical
Media Layers
Application
Presentation
Session
Transport
} Host layers: Provide
accurate data delivery
between computers
Network
Data Link
Physical
} Media layers: Control
physical delivery of messages
over the network
Layer Functions
7 Application Provides network services to
application processes (such as
electronic mail, file transfer, and
terminal emulation)
Layer Functions
7 Application Network services to applications
7 Application Application
6 Presentation Presentation
5 Session Session
Segments
4 Transport Transport
Packets
3 Network Network
Frames
2 Data Link Data Link
Bits
1 Physical Physical
The complete packet
Application Header Data
Presentation Header
Session Header
Transport Header
Network Header
Bits
Packet
Packet creation process
Data Data
Data Encapsulation
Host A Host B
Application
Presentation
Session
Transport
} { Data
Application
Presentation
Session
Transport
Network Network
Physical Physical
Data Encapsulation
Host A Host B
Application
Presentation
Session
Transport
} { Data
Application
Presentation
Session
Transport
Network
Data
Network Header Network
Physical Physical
Data Encapsulation
Host A Host B
Application
Presentation
Session
Transport
} { Network
Data
Application
Presentation
Session
Transport
Data
Network Header Network
Physical Physical
Data Encapsulation
Host A Host B
Application
Presentation
Session
Transport
} { Network
Data
Application
Presentation
Session
Transport
Data
Network Header Network
Physical Physical
0101101010110001
TCP/IP 5 layer Model
The top two layers focus more on the applications that need to send
and receive data.
The network layer focuses on delivering data over the entire path
The data-link layer focuses on sending data over one type of
physical link
The bottom layer focuses on how to transmit BITs over each
individual link
5 Steps of Data Encapsulation
OSI 7-layers Vs TCP/IP 5-layers
Protocols in layer
Commonly used Ethernet Frame
Format
IP Address
Rule for IP Address – There cannot be all 0 bits or all 1 bits eitherin
Net part or in Host part of an IP address
Public address & Private address
• Address are unique • Address may be
and used by internet used by any
servers organisation
• These addresses • Same range is used
are allocated and by multiple
managed by ISP organisations
• To connect to • By using private IP
internet we need we cannot connect
public IP to internet
• We have to pay to • Free of cost
get public IP
PRIVATE IP ADDRESS
CLAS PRIVATE NETWORK SUBNETMAS ADDRESS RANGE
S K
A 10.0.0.0 255.0.0.0 10.0.0.1 – 10.255.255.254
B 172.16.0.0 –172.31.0.0 255.255.0.0 172.16.0.1 – 172.31.255.254
C 192.168.0.0 – 255.255.255.0 192.168.0.1 --
192.168.255.0 192.168.255.254