CNEMPDONE
CNEMPDONE
2. Apurva 22202A0036
Meet Our team member
Pedneker
3. Snehal 22202A0052
Mohite
4. Sakshi Sarge 22202A0060
OSI Model Overview for ARP and RARP
Layer Relevance:
ARP operates at Layer 2 (Data Link
Layer), resolving IP addresses to MAC
addresses.
RARP operates at Layer 3 (Network
Layer), obtaining IP addresses from
known MAC addresses.
ARP
Address Resolution
Protocol
Sender knows the IP address of
Working Of
the target and it want to know the
hardware address of the target
Address
Resolution
Protocol
Sender
Receiver
Broadcast Request box
• Sender IP address
• Sender Hardware address
Sender • Target IP address Computer A
IP: 10.10.10.1
IP: 10.10.10.1
v
IP: 10.10.10.1 IP: 10.10.10.1
Computer C Computer B
Let’s find target
address!! The target IP
10.10.10.3 not Me!!
Sender
The target IP
10.10.10.3 its Me!!
IP : 10.10.10.4 IP : 10.10.10.2
Computer C Computer B
Sender receive the
message and now it
knows the hardware ARP message is unicast that contain
address of target target IP machine’s hardware
Sender address: 10s.15E.8T.90T
machine
Target machine
Computer B
IP:10.10.10.3
Address
Resolution
Protocol
Packet format
Address Resolution Protocol
ARP Example Scenario: Device
Communication in a Local
Network
Scenario: Device A (Computer) needs to communicate with Device B (Printer)
on the same local area network (LAN).
• Communication Established:
Device A can now construct Ethernet frames with Device B's MAC
address, enabling successful communication.
The Reverse Address Resolution
Protocol (RARP) translates
unique hardware addresses into
Internet addresses on the
Ethernet local area network
(LAN) adapter (Ethernet protocol
only).
RARP
Reverse Address Resolution
Protocol
Working of Reverse Address Resolution Protocol
Request box
Sender Computer A
1e.5t.89.6lo T56.u78.b89.op
Computer B Computer c
E4.V67.H8.N90 78.h6.n9.r8
Working of Reverse Address Resolution Protocol
Sender Computer A
1e.5t.89.6lo T56.u78.b89.op
Reply : Your IP
address is 10.10.10.5
Computer B Computer c
E4.V67.H8.N90 78.h6.n9.r8
Reverse
Address
Resolution
Protocol
Packet format
RARP Example Scenario:
Device Communication in
RARP Example Scenario: Dynamic IP Address Assignment a Local Network
• Scenario: A diskless workstation needs to obtain its IP address
dynamically using RARP (Reverse Address Resolution Protocol).
• Workstation Boot-Up:
The diskless workstation boots up without a configured IP address.
• IP Address Configuration:
The workstation receives the IP address from the RARP server and
configures its network interface accordingly.
• Communication Establishment:
With a dynamically assigned IP address, the workstation can now
communicate with other devices on the network.
Address resolution Protocol Security
consideration
ARP Spoofing:
ARP spoofing occurs when an attacker sends falsified ARP messages
over a local area network. By doing so, the attacker can associate their
MAC address with the IP address of another legitimate device,
thereby intercepting or modifying network traffic intended for that
device.
Man-in-the-Middle Attacks:
ARP is vulnerable to man-in-the-middle attacks, where an attacker
intercepts communication between two parties. By spoofing ARP
messages, the attacker can position themselves between the
communicating parties and eavesdrop on or manipulate the traffic.
Reverse Address resolution Protocol
Security consideration
•Advantages:
1.Provides a method for systems to
discover their IP addresses using their
MAC addresses.
2.Useful for bootstrapping diskless
workstations in legacy environments.
•Drawbacks:
1.Requires manual configuration of MAC-
to-IP mappings, which can be complex
and error-prone.
2.Lacks built-in security fatures, making it
susceptible to spoofing and other attacks.
Key Considerations
In ARP, ARP table is managed or maintain by In RARP , RARP table is managed or maintained
local host. by RARP server.
Hosts and router uses ARP for knowing the RARP is used by small user having less facilities.
MAC address of other hosts and routers in the
networks
Address resolution protocol Reverse address resolution protocol
Client broadcasts its IP address and requests a Client broadcasts its MAC address and requests
MAC address, and the server responds with the an IP address, and the server responds with the
corresponding MAC address corresponding IP address
Through ARP, (32-bit) IP address mapped into Whereas through RARP, (48-bit) MAC address
(48-bit) MAC address. of 48 bits mapped into (32-bit) IP address
Widely used in modern networks to resolve IP Rarely used in modern networks as most
addresses to MAC addresses devices have a pre-assigned IP address
*CONCLUSION*