Writers' Community!

Search:

Writers' Community!

SearchWarp Home Submit An Article Frequently Asked Questions Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,602 Authors
44,099 Quality Articles
& 1,642 Current Users Online!
Featured Authors
April Lorier (4,522)
Sandra E. Graham (1,382)
Michelle Mackin (11,689)
David Tanguay (5,817)
Jared Wilson (1,884)
Susan Thom (8,330)
Missing Link (4,105)
Judge Dred (240)
Robert Melaccio, Sr. (4,457)
Jan Hayner (3,899)
Teresa Ortiz (5,015)
E. Raymond Rock (2,270)
Terry Mitchell (1,231)
Christine Akiteng (64,159)

View All Featured Authors
Most Recent
CCNA, CCNP, And Cisco Security Practice Exam Questions: OSPF Stub Areas, Switches, And More!

CCNA, CCNP, and Cisco Security Questions: BGP Attributes, Switching Problems, And More!

CCNA, CCNP, And Security Exam Questions: Usernames, Passwords, TCP, And More!

CCNA, CCENT, And CCNP Practice Exam Questions: VTP, BGP Attributes, SRST, And More!

CCNA, CCNP, CCENT, And Cisco Security Questions: RFC Address Ranges, OSPF Router Types, And More!

CCNA, CCNP, and Cisco Security Training Questions: Configuring Multiple Interfaces And More!

CCNA, CCNP, And Cisco Security Practice Exam Questions: POSTs, ROM, RAM, And More!

CCNA, CCNP, And Cisco Security Practice Questions: Telnet, Signature Definition Files, And More!

Cisco CCNA, CCNP, And Security Exam Practice Questions: OSPF, VPNs, And More!

Cisco CCNA, CCNP, And Security Practice Exam Questions: RIP, GRE, VLANs, And More!

Home » Categories » Computers & Networking » Technical Certification » Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP » Printer Friendly

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Rated 4 out of 5
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Wednesday, June 15, 2005
Submitted by: Chris Bryant CCIE 12933 (13,687) Gold Level Author Hall of Fame Top 100 Verified Account Contact Chris Bryant CCIE 12933
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


When I first started studying for my CCNA years ago, one of the (many) things that confused me was ARP. Or rather, what ARP did as opposed to Reverse ARP, Inverse ARP, and Proxy ARP! One book would mention ARP without mentioning the other variations, one woule mention RARP but not Proxy ARP, and so on...

I got through my Intro and ICND exams, but I never forgot how confusing this was to me when I started. (And we all start somewhere!) To help current CCNA candidates with this confusing topic, let's take a look at each one of these technologies.

ARP - Address Resolution Protocol

You may well know what ARP does from your networking studies or work on a LAN, but to effectively troubleshoot ARP issues on a WAN (and pass the 640-801, 640-811, and 640-821 exams!), you need to take network devices into account that may be separating the workstations in question.

The basic ARP operation is simple enough. We concentrate on IP addressing a great deal in our studies and our jobs, but it's not enough to have a destination IP address in order to send data the transmitting device must have a destination MAC address as well.

If the sender doesn't know the MAC address of the destination, it has to get that address before data can be sent. To obtain the unknown Layer Two address when the Layer Three address is known, the sender transmits an ARP Request. This is a Layer Two broadcast, which has a destination address of ff-ff-ff-ff-ff-ff. Since Ethernet is a broadcast media, every other device on the segment will see it. However, the only device that will answer it is the device with the matching Layer Three address. That device will send an ARP Reply, unicast back to the device that sent the original ARP Request. The sender will then have a MAC address to go with the IP address and can then transmit.

When data transmission begins, traffic sent from 20.1.1.1 to 20.1.2.200 will have a Layer 3 destination address of 20.1.2.200 and a destination MAC address of bb-bb-bb-bb-bb-bb.

arp in action on a single segment1.jpg

There are several network devices that may be between our two hosts, and for the most part, there is no impact on ARP. Since this is Cisco, though, there's gotta be an exception! Let's take a look at how these devices impact ARP.

Repeaters and Hubs are Layer One (Physical Layer) devices, and they have no impact on ARP. A repeater's job is simply to regenerate a signal to make it stronger, and a hub is simply a multiport repeater. Therefore, neither a repeater nor a hub have impact on ARP.

Switches are Layer Two devices, so you might think they impact ARP's operation after all, ARP deals with getting an unknown MAC address to correspond with a known IP address. While that's certainly true, switches don't impact ARP for one simple reason: Switches forward broadcasts out every port except the one it was originally received on. The ARP Reply will be unicast to the device requesting it, as with the previous example.

When the data leaves 20.1.1.1, the destination IP address will be 20.1.2.200 and the destination MAC will be bb-bb-bb-bb-bb-bb.

arp in action with switch2.jpg

Now here's the exception -- a router. Routers accept broadcasts, but routers will not forward them. In this example, though, the PC with the address 20.1.1.1 /16 assumes it's on the same physical segment as the device 20.1.2.200 /16, since their IP addresses are both on the same subnet (20.1.0.0 /16). The

problem here is that a router separates the two devices, and the router will not forward the ARP broadcast.

The Cisco router will answer the ARP Request, however, with the MAC address of the router interface the ARP Request was received on. In this case, the router will respond to the ARP Request with its own E1 interface's MAC address.

arp in action with router1.jpg

When the device at 20.1.1.1 receives this ARP Response, it thinks the MAC address of 20.1.2.200 is 11-11-11-11-11-11. Therefore, the destination IP for traffic destined for the remote host will be 20.1.2.200, but the MAC destination will actually be that of the router's E1 interface.

Proxy ARP runs by default on a Cisco 2500 router, but it can be turned off at the interface level with the no ip proxy-arp command.

RARP and Inverse ARP

Reverse ARP is a lot simpler! RARP obtains a device's IP address when it already knows its own MAC address. (If the device doesn't know it's own MAC address, you have bigger problems than RARP!) A separate device, a RARP Server, tells the device what its MAC address is in response to the RARP Request. As you can see, RARP and DHCP have a lot in common.

Inverse ARP doesn't deal with MAC or IP addresses. Inverse ARP dynamically maps local DLCIs to remote IP addresses when you configure Frame Relay. Many organizations prefer to statically create these mappings you can turn this default behavior off with the interface-level command no frame inverse-arp.



To your success,

Chris Bryant

CCIE #12933

chris@thebryantadvantage.com

__________________________________________________________

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free certification exam tutorials, including Cisco CCNA certification test prep articles. His exclusive Cisco CCNA study guide and Cisco CCNA training is also available!

Visit his blog and sign up for Cisco Certification Central, a daily newsletter packed with CCNA, Network+, Security+, A+, and CCNP certification exam practice questions! A free 7-part course, “How To Pass The CCNA", is also available, and you can attend an in-person or online CCNA boot camp with The Bryant Advantage!






Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 3,633 times.
Article added to SearchWarp.com on Wednesday, June 15, 2005
View other articles written by Chris Bryant CCIE 12933 (13,687) Gold Level Author Hall of Fame Top 100 Verified Account Contact Chris Bryant CCIE 12933


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA / CCNP Home Lab: "Reverse Telnet" And Why You Need It!

Cisco CCNA / CCNP Free Tutorial: Home Lab Assembly Case Study

CCNP Certification / BCMSN Exam Tutorial: The HSRP Priority Command

CCENT, CCNA, CCNP, CCIE Interview Questions.

Cisco Certification: How Ethernet CSMA/CD Works

Cisco CCNA Certification: Defining And Creating Collision Domains

Tips On Buying A Cisco CCNA / CCNP Home Lab Kit

Cisco CCNA Exam Tutorial: The Best Time To Schedule Your Exam Is ....

CCNA 640-801 Primer

Home  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company