Beruflich Dokumente
Kultur Dokumente
Network Layer:
Address Mapping,
Error Reporting,
and Multicasting
Prepared By:
Umakanta Majhi
Department of Computer Science & Engineering, NITS
ADDRESS MAPPING
The delivery of a packet to a host or a router requires
two levels of addressing: logical and physical. We need
to be able to map a logical address to its corresponding
physical address and vice versa. This can be done by
using either static or dynamic mapping.
Logical Address
Physical Address
[logicalphysical]
- Cache Memory
2
- Ethernet Frame
- The TYPE field indicates that the data carried by
the frame are an ARP packet.
Type field (value)
Meaning
0x8000
IPv4 packet
0x0806
ARP packet
0x8100
IEEE 802.1Q
0x86DD
IPv6
0x0835
RARP packet
Proxy ARP
Finds logical address for a machine that knows only its physical
address. (Physical -> Logical)
The IP address of a machine is usually read from its configuration
file stored on a disk file.
(Problem) for a diskless machine
Booted from ROM; has minimum booting information
ROM installed by manufacturer (can not include IP
address)
IP addresses on a network are assigned by the network
administrator
RARP requests are broadcast, RARP replies are unicast.
If a thin-client workstation needs to know its IP address, it
probably also needs to know its subnet mask, router address,
DNS address, etc. So we need something more than RARP.
BOOTP, and now DHCP have replaced RARP.
8
RARP Operation:
9
10
11
with
pool
of
available
(unused)
IP
13
Error Reporting
IP provides unreliable and connectionless datagram
delivery.
IP protocol is a best-effort delivery service that
delivers a datagram from its original source to its
final destination.
The IP protocol has no error-reporting or errorcorrecting mechanism.
The IP protocol lacks a mechanism for host and
management queries.
Thus the Internet Control Message Protocol (ICMP)
has been designed to compensate the deficiencies
13
of IP protocol.
14
(ICMP)
15
15
(ICMP)
16
No
ICMP
error
message
will
be
generated
in
having
127.0.0.0 or 0.0.0.0.
16
special
address
such
as
(ICMP)
17
17
18
18
(IGMP)
19
19
(IGMP)
20
IGMP Operation
20
21
Query ?
Thank You