Escolar Documentos
Profissional Documentos
Cultura Documentos
Concepts
&
Overview
1
Introduction
Standalone computers.
Computers in a network.
Different applications/services
between computers: e-mail, File
Transfer, Remote Login, Web
Surfing, Network Management,
chatting, playing games etc.
2
Introduction
To achieve interworking between
computers & other devices like
servers, routers etc the computer is
made to work in a hierarchical
manner ie it is to work as a layered
model. Each layer doing certain
functionalities & offering services to
its upper layer.
3
Introduction
International Standard Organisation (ISO)
devised a 7 layered model called Open System
Interconnection (OSI model)
APPLICATION APPLICATION
PRESENTATION PRESENTATION
SESSION SESSION
TRANSPORT TRANSPORT
NETWORK NETWORK
DATA LINK DATA LINK
PHYSICAL PHYSICAL
B
A
4
Introduction
Each computer has this OSI model
embedded in it.
Whenever any computer wants to
communicate with any other
computer or entity it will adopt a set
of rules agreeable to all the
computers & entities in the network.
This set of rules is called Protocol.
Each layer communicates with its
peer layer using a protocol before
actual data transfer takes place.
5
Introduction
So we require a stack of protocol
called Protocol Suite to effect
communication between computers
in a network.
Different protocol suites are
available like:
(a) AppleTalk (d) TCP/IP
(b) OSI (e) DECnet
(c) IPX/SPX (f) XNS
6
IP Protocols
Internet or IP technology over the years
has emerged as the most prominent data
communication technology.
TCP/IP protocol has become de-facto data
comm standard throughout the world.
It can carry even voice/video also over IP
protocol and in turn has started
challenging the complete monopoly of
TDM technology in voice communication.
7
TCP/IP and OSI
SESSION
OSI Model TRANSPORT
TCP/IP Model
TRANSPORT
NETWORK NETWORK
DATA LINK DATA LINK
PHYSICAL PHYSICAL
8
TCP/IP Protocol Suite
FTP TFTP
A SMTP NFS
TELNET SNMP
HTTP DNS
T TCP UDP
P
9
Data Encapsulation
Application Data
UDP Message
IP Datagram
10
TCP Header
Octet +0 Octet +1 Octet +2 Octet +3
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
SEQUENCE NUMBER
ACKNOWLEDGEMENT NUMBER
UAP RS F
HELE
N RCSSYI WINDOW SIZE
GK HT NN
11
UDP Header
12
IP Header
Octet +0 Octet +1 Octet +2 Octet +3
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
VER HLEN TOS TOTAL LENGTH
OPTIONS PADDING
13
Internet Control Message
Protocol
Internet Control Message Protocol is a
mechanism used by hosts and routers to
send notification of datagram problems
back to the sender.
Sends error messages only to the source
and not to intermediate routers.
Sole function is to report problems, not to
correct them.
ICMP (Ping- Packet Internet Gropher) uses
echo/reply to test whether a destination is
reachable and responding.
14
Address Resolution Protocol
Address Resolution Protocol is used to
translate 32 bits IP addresses to 48 bits
Ethernet addresses.
A host’s physical address is determined
by broadcasting its IP address to all
machines.
The machine with matching IP address, in
broadcast message, sends its hardware
address to the machine originating
broadcast.
15
ARP Operation
129.1.1.1 129.1.1.4
16
Reverse Address Resolution
Protocol
Reverse Address Resolution Protocol
is used to get the 32 bits Source IP
address, knowing the 48 bits
Hardware address.
It is reverse of ARP, hence named
Reverse Address Resolution
Protocol.
A diskless workstation broadcasts
RARP-Request to find its IP Address
at the time of boot up.
17
RARP Operation
Give me my IP address RARP Response
Diskless
work
station RARP
Server
08-00-39-00-2F-AB
223.1.2.1 223.1.2.3
08-00-39-00-2F-C3 223.1.2.2 08-00-10-99-AC-54
08-00-5A-21-A7-22
18
IPv4 Address
32 Bits
Network Host
8 8 8 8
Bits Bits Bits Bits
19
NAT (Network Address Translation)
•Private addressing
•Public IP Addressing
•Address translation
20
IPv4 Address Classes
Class-A: N H H H
Class-B: N N H H
Class-C: N N N H
Present day Internet does not use Class full addressing, Instead
Classless addressing is used.
21
IPV6
27
Static - Dynamic Routing
Static/Non Adaptive
Choice of route is computed in
advance, off line, and downloaded to
the router when network is booted.
Dynamic/Adaptive
Routing decisions change to reflect the
changes in topology and/or traffic.
28
Static Routing
30
Dynamic Routing
Routes are learnt via an internal or
external routing protocols.
Network reachability is dependent on
the existence and state of the network.
If a router is down, its entry will be
deleted from the routing table and
traffic to that will not be forwarded.
Used to enable routers to build their
own routing tables and make
appropriate decisions.
31
Routing Protocol
It is a language a router speaks with
other routers to share information
about the reachability and status of
the network.
Provides mechanisms for sharing
routing information.
Allows the routers to communicate
with other routers to update and
maintain routing tables.
32
Routing Protocol
Routing Protocol messages do not
carry end user traffic from network
to network.
Routing Protocol uses the routed
protocol ( e.g. IP)to pass information
between routers.
RIP & OSPF are routing protocols.
33
Radius Server
RAS Support for RADIUS authentication and RADIUS Accounting
RADIUS will support interfacing with LDAP based authentication, billing and Provisioning
systems.
It will include advanced proxy RADIUS support.It will be able to act as a proxy target server, and
can forward proxy requests to other RADIUS servers.
It will load balance authentication requests between several SQL or LDAP databases, to
eliminate the risk of a single point failure, and increase performance on busy networks.
The RADIUS will generate CDRs for the Billing system and the CDRs will contain the following
information
The calling IP address allotted by the RADIUS
Start Time and Date
End Time and Date
Volume of data transmitted and port type.
34
LDAP (Directory Server)
Light weight Directory Access Protocol
The authentication will not take more than 1 sec under the full
load.
35
Remote Access Server (RAS)
RAS is a device which allows a customer
to access internet through his telephone
line by dialing an access code.
RAS is an interface between PSTN and
Internet.
Before allowing the access RAS
authenticates the dial up user with the
help of RADIUS sever.
RAS is having circuit switched interface
with PSTN and packet switched interface
with Internet.
36
Remote Access Server (RAS)
Internet Node
RAS
PSTN E1s or PRI
V
Router
Modem Internet
LAN Switch
37
Domain Name System (DNS)
DNS is a mechanism which
translates host name to IP address
in Internet
All the network elements in Internet
understand only IP address. To
reach a site host name is to be
converted to IP address.
DNS servers in the Internet search IP
address of these host names.
38
Domain Name System (DNS)
DNS Server What is the IP Address of
www.Yahoo.com
What is the IP Address of
www.Yahoo.com
DNS Server
www.yahoo.com , IP address
is 210.212.90.15
yahoo.com
39
40