Sie sind auf Seite 1von 12

Network layer protocols

Contents
Introduction
Address Resolution
Address Resolution Protocols
Network Layer

The Network Layer is responsible for end-to-


end (source to destination) packet delivery
including routing through intermediate
hosts.

#
Introduction
Transporting packets of data
within IP-based n/w requires two levels :

 Logical
 Physical

#
Logical address
It is an Internetworking address, as it
is globally unique and universally
accepted.
It is necessary for transporting data
between two devices across the
Internet

#
Physical Address
Physical network, each devices is
identified with a locally unique physical
address that is embedded in the
hardware called Network Interface
Card (NIC)
Also called as Ethernet Hardware
Address (EHA), hardware address,
adapter address, or physical address.
#
Address Resolution

Mapping an IP address to a
Physical address
Two types
Static Dynamic
• Created and updated manually on
• Whenever a machine knows
each machine
either the physical or the
• Physical Address stored in NIC logical address of another
• NIC in a machine changed, host, it can use an address
Physical address also changed resolution protocol(ARP)
• In some LAN the IP address and reverse address
changes every time while powered resolution protocol(RARP)
up (Ex: Local Talk, Apple Talk) • ARP – mapping of IP to
• If we used the DHCP to assign the physical address
IP, the address will be changed • RARP – mapping of physical
each time address to IP
• In portable computer the IP address
changes every time
#
Have Need
Resolved (mapped)
Destination to Destination
IP Address Physical Address
75.15.125.4 00 00 0C 00 23 45

• ARP is used to resolve the physical address of the destination


device from its IP
• Host of the network transmits the query packet onto the local
network to find the physical address
• Query packet includes broadcast address like FF FF FF FF FF FF
• All the host will receive the query only the intended addressed
host can resolve the query and reply to the requested host

#
Has Destination IP
Network 200.40.8.0
address; needs Physical Does anyone
address of the host out there know
the Physical
address for host Host B Host C Host D
200.40.8.1 200.40.8.6..? 200.40.8.2 200.40.8.3 200.40.8.4

Host A

ARP broadcast from host A onto local network 200.40.8.6


Yes, my IP
address
Is 200.40.8.6, &
My Physical
Address is 00 0C
2B 11 44 66

200.40.8.5 Host E 200.40.8.6 Host F 200.40.8.7 Host G

#
ARP Cache
• The host responds to the ARP request
with an ARP reply, which contains its
logical address as well as its local
(hardware) address(00 0C 2B 11 44 66)
• Host A maps host F’s IP and physical
address and stores both of them in a
location in volatile RAM called ARP
Cache.
#
Any Questions..??
tHaNk YoU..

Seminar by Nilofer

Das könnte Ihnen auch gefallen