Professional Documents
Culture Documents
Unit no.4
DESIGN ISSUES
STORE & FORWARD PACKET
SWITCHING
SERVICES PROVIDED TO
TRANSPORT LAYER
Connectionless service
Connection-oriented service
IMPLEMENTATION OF
CONNECTIONLESS SERVICE
IMPLEMENTATION OF CONNECTION-
ORIENTED SERVICE
COMPARISON OF VIRTUAL-CIRCUIT
SUBNET & DATAGRAM SUBNET
DIJKSTRA’S ALGORITHM EXAMPLE
Example : find shortest distance between A & D
Step 1 : Assign the labels to every node & make Node A as a permanent node
Step 2 : Consider adjacent node & give tentative names. Make smallest
Label permanent .
Step 4 : Instead of node G , node E decided & its adjacent node F
Assigned tentative label.
Step 5 : Node F assigned permanent label & adjacent nodes C & H are
Considered..
Notations
Binary notation
Dotted decimal notation
Hexadecimal notation
CLASSFUL ADDRESSING
Used the concept of classes
Address space is divided in five classes A B C D E
RECOGNIZING CLASSES
Finding class in binary notation
RECOGNIZING CLASSES
Finding class in decimal notation
NET ID & HOST ID
CLASSES & BLOCKS
Each class is divided into blocks
Class A
Designed for multicasting
Default mask
SUBNETTING &
SUPERNETTING
SUBNETTING
Two level of hierarchy
Netid – first level (site)
Hostid – second level (host)
Solution : subnetting
Address
Subnet mask
SUPERNETTING
Supernet mask
CLASSLESS ADDRESSING
CLASSLESS ADDRESSING
No classess
Variable length blocks
Mask
255.0.0.0 (/8)
IPV4 DATAGRAM
IP DATAGRAM
VER – version
HLEN- header length
Total length
Fragmentation offset
Identification
D -1 no fragmentation
D- 0 can be
M- 0 last fragment
M- 1
Fragmentation offset
ADDRESS RESOLUTION
PROTOCOL(ARP)
ARP
Two levels of addressing
Logical addressing
Physical addressing
Mapping
Static
mapping
Dynamic mapping
ARP OPERATION
Query packet with senders IP address & physical address
& receivers IP address
Broadcast
Unicast reply
PROXY ARP