Friday, June 22, 2007

Address Resolution Protocol (ARP)

Address Resolution Protocol
Introduction
The Address Resolution Protocol (ARP) is a low-level protocol that dynamically learns and maps network layer IP addresses to physical Medium Access Control (MAC) addresses, for example, Ethernet. Given only the network layer IP address of the destination system, ARP lets a router find the MAC address of the destination host on the same network segment. For example, a router receives an IP packet destined for a host connected to one of its LANs. The packet contains only a 32-bit IP destination address. To be able to forward the packet on the LAN, the router must construct the Data Link layer header using the physical MAC address of the destination host. The router must acquire this physical MAC address of the destination host and map that address to the 32-bit IP address.
To obtain the physical address of the host, the router broadcasts an ARP request to all host of the network. Only the host with that IP address responds with its physical MAC address. The router saves the IP/MAC address mapping in a table called ARP cache and it can use this mapping in the future when forwarding packets to the destination host.

RFC
RFC 826 documents the ARP protocol.

ARP Physical Address Broadcast


Note
If the ARP cache does not contain an entry for a destination, the packet is queued pending an ARP Response. This means that the first packet sent between IP Hosts is queued until the expiration of the Time to Retry timer. If an ARP Response is not received within this time an ARP Request is retransmitted. All IP-based protocols perform this function.

Note
If a second IP packet, intended for the same Destination Address, arrives while the device is awaiting an ARP Response, the packet is queued but a second ARP Request is not sent. When another IP packet, intended for a different Destination Address, arrives while the device is awaiting an ARP Response for the first packet, an ARP Request for the second Destination Address is immediately broadcast to the network.

Proxy ARP
Introduction

Modern IP hosts, such as workstations and PCs, transmit directly to either a destination host or router. If the destination is on the same IP network and subnetwork as the sender’s, the sender transmits an ARP request to determine the destination MAC address and then transmits directly to it over the LAN. If the destination’s net/subnet is not the same as the sender’s, the sender transmits the packet to a router. Hosts are usually configured manually with a default router, which is the IP address of a router on their LAN.
Older hosts may always attempt to ARP for a destination address, even if it is not on the local LAN. The older host expects the router to respond to the ARP request with the router’s MAC address. This is called

Hosts With No Subnet Support
If the host attempts to send a packet to a network subnet, it sends an ARP request to find the MAC address of the destination host. If the subnet is not on the local wire, a router configured for ARP subnet routing may respond to the ARP request with its own MAC address if the following conditions exist:
• The router has the location of the subnet in its routing table.
• The router sends packets to that subnet via a different interface than the interface that received the ARP request.
Because of the second condition, configure all routers on a local wire for ARP subnet routing when you use hosts without network subnet support.

Proxy ARP Request Example
The following list describes the sequence when a station requiring Proxy ARP wants to send an IP packet to a host on a remote network:
• The host issues an ARP request that contains the destination IP address.
• Any router enabled to respond looks at the IP address for a match in its
routing table.
• If there is a match and the route does not pass back through the same LAN
port where the ARP host resides, the router responds with an ARP response
supplying its MAC address. Finding a match without passing back through
the ARP host port implies another router is present, has a shorter path to the
destination, and replies to the ARP itself.
• The host then sends the packet to the router using the newly learned MAC
address.
• The host stores this information (that is, the mapping of the IP address to the
MAC address) in a local cache so that if it sends another packet to the same
destination, it can do so without sending an ARP Request.
• The information is not used. The information is aged out of the cache and may
be relearned by resending an ARP Request.

Caution When Using Proxy ARP
The use of proxy ARP is discouraged in modern IP operation. Few hosts require it.

Proxy Subnet ARP
Introduction
Proxy Subnet ARP is the same as Proxy ARP except that the router responds to ARP requests for hosts it knows are on other subnets remote from the local subnetwork.
Sometimes hosts forward to a router for destinations with different class A, B, or C addresses, but ARP for any destination with the same class A, B, or C address as their own. They do not know about subnets of the class A, B, or C addresses. They expect the router to respond to the ARP for all subnets of the local class A, B, and C net and to forward to the proper subnet.

Proxy Subnet ARP Example
The following example shows that a host functioning with ARP does not use subnetting (i.e., subnetting is not configured or software does not include subnetting). Unless the router is enabled to respond using Proxy ARP subnet, it does not respond to this ARP and denies connectivity to other subnets of the same IP
network.

Example Addressing Description
A single IP class B network number 128.12.0.0 is used to define two subnetworks connected by a router: 128.12.1.0 and 128.12.2.0 (mask 255.255.255.0). The host is on 128.12.1.0 and is attempting to send to 128.12.2.1.

If the host used subnetting, then it sends a packet to its default router and relies on the router to get the packet delivered to the destination 128.12.2.0. If the host does not use subnetting then it sees the IP network address as 128.12.0.0 (it only knows IP network addresses and therefore uses a class B mask of 255.255.0.0 to obtain 128.12.0.0) and calculates that the destination is on the local LAN (because it has the same network number as itself). It therefore ARPs for the 128.12.2.1 address. The router must enable Proxy Subnet ARP in order to respond with the router’s MAC address. It sends a packet to its default router and relies on the router to get the packet delivered to the destination 128.12.2.0. The host does not use subnetting It sees the IP network address as 128.12.0.0 (it only knows IP network addresses and therefore uses a class B mask of 255.255.0.0 to obtain 128.12.0.0) and calculates that the destination is on the local LAN (because it has the same network number as itself). It therefore ARPs for the 128.12.2.1 address. The router must enable Proxy Subnet ARP in order to respond with the router’s MAC address.

Inverse ARP
Description
Inverse ARP is a protocol which allows a device to automatically determine the IP Address of a remote device in a Frame Relay network.

Duplicate IP Address Detection
Duplicate IP Address Detection Defined
Duplicate IP Address Detection is used to detect if the same IP address has been configured on multiple IP devices on the same LAN. If a user configures interface with the same IP address as another device on the same LAN, the network will not work properly. Both devices could receive and respond to packets with that common IP address.

Note
Duplicate IP Address Detection cannot detect all the address duplication problems. There is not a central database to hold all the IP address configurations of a full network. Only unicast addresses are checked.

39 comments:

Anonymous said...

Can anyone recommend the top IT automation program for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central network security
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

Somebody necessarily help to make seriously articles I'd state. That is the first time I frequented your website page and up to now? I surprised with the research you made to create this particular post extraordinary. Magnificent activity!
Have a look at my web page :: sci-fi book blog

Anonymous said...

top [url=http://www.001casino.com/]casino online[/url] coincide the latest [url=http://www.realcazinoz.com/]free casino[/url] autonomous no deposit perk at the chief [url=http://www.baywatchcasino.com/]online casino
[/url].

Anonymous said...

Ηi, I do think your blog cοuld be hаving bгoωser comρatibility issues.
Whenever ӏ look аt уour blog in
Sаfari, it looκs fine however, when opеning in IE, it's got some overlapping issues. I simply wanted to provide you with a quick heads up! Apart from that, great site!

Feel free to surf to my blog post; no teletrack payday loans

Anonymous said...

Thanκs for shаring your thοughts on childhood
apraхіa of speeсh. Rеgaгds

Visіt my website: no credit check payday loans

Anonymous said...

Thаnks for the marvelous poѕting! I ԁefinitely enjoyeԁ reаdіng it, yοu ωill be a gгeat аuthor.
I wіll always bookmarκ уour blog and will come
baсk down thе гoad. Ι wаnt to еncourаge you continue your great postѕ, have a nice daу!



my ωeb-sіte; direct payday loans

Anonymous said...

Thank you for the auspicious writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you! By the way,
how could we communicate?

My web-site - internal hemorrhoids treatment

Anonymous said...

Hi, after reаding thiѕ remarkablе
post i аm as well glаd tο shагe my κnow-how here with colleagues.


My webρаge ... link building seo strategy

Anonymous said...

Good post however I was wanting to know if you could write a litte more on this topic?
I'd be very thankful if you could elaborate a little bit more. Kudos! click here, http://fallitos.altervista.org/gb/guestbook.php

Anonymous said...

buy ativan lorazepam 1mg - ativan overdose signs and symptoms

Anonymous said...

Do you have a spam problem on this blog; I also
am a blogger, and I was curious about your situation; we have developed some nice procedures and we are looking to trade methods with others, why not shoot me an e-mail if interested.


Review my site - Waist To height Ratio Calculator

Anonymous said...

казино онлайн бесплатно за wmr [url=http://chapfocalimmoro.narod.ru/get279.html]Казино Автоматы Играть Бесплатно И Без Регистрации[/url] казино с рублевыми ставками , [url=http://chapfocalimmoro.narod.ru/get180.html]Интернет Казино Мартингейл[/url] вывод денег из казино , [url=http://chapfocalimmoro.narod.ru/get297.html]Азартные Игры Казино Игровые Автоматы[/url] казино автоматы симулятор , [url=http://chapfocalimmoro.narod.ru/get162.html]Интернет Казино Бонус Без Депозита Покер Правила[/url] онлайн казино вулкан 800

Anonymous said...

[url=http://beantpuruanrespa.narod.ru/entry174.html]играть слот автомат бесплатно без регистрации[/url] онлайн казино для телефонов nokia , [url=http://beantpuruanrespa.narod.ru/entry78.html]казино wynn[/url] гранд хотел казино варна , [url=http://beantpuruanrespa.narod.ru/entry18.html]казино на реальные деньги[/url] онлайн казино бонус при регистрации 100 , [url=http://beantpuruanrespa.narod.ru/entry246.html]интернет казино белоруссии las[/url] казино биг азарт , [url=http://beantpuruanrespa.narod.ru/entry0.html]видеопокер 5 джокеров играть бесплатно 777[/url] онлайн казино на тенге

Anonymous said...

интернет казино которые платят деньги [url=http://rustntaninconlaro.narod.ru/blog336.html]казино онлайн joy land[/url] интернет казино фаворит , [url=http://rustntaninconlaro.narod.ru/blog296.html]казино коктейль[/url] казино игровые автоматы без смс , [url=http://rustntaninconlaro.narod.ru/blog168.html]интернет казино лотерея хто там[/url] казино бесплатно на 25 линий , [url=http://rustntaninconlaro.narod.ru/blog72.html]казино фараон ленинский пр т[/url] интернет казино ставки 1 цента

Anonymous said...

You could find as well as use free legal download links for
Hide IP Easy 5. Opera, Netscape as well as Firefox
must be restarted right after Hide IP finds a proxy server.
0 upon Download3000 and on the official website from the author.
0 might put your computer and action at risk
through infecting the device with viruses, spy
ware, viruses, Trojans, dialers and ad ware,
distroying its stability and robbing your personal information, as
well as propagating with the network to take control of other computer systems.



Also visit my web blog ... hide your ip

Anonymous said...

Very nice blog post. I certainly appreciate this site. Continue the good work!



my site graduate certificates

Anonymous said...

here on the site collected a huge selection of news about [url=http://title-publishing.org/]новости мобильной индустрии[/url].

Anonymous said...

Hi, I do believe this is a great web site. I stumbledupon
it ;) I may revisit yet again since i have bookmarked it.
Money and freedom is the greatest way to change, may you be rich and continue to guide other people.


Feel free to surf to my homepage - para que sirve la moringa -what does the moringa work for

Anonymous said...

Howdy just wanted to give you a quick heads up. The text in your article seem to be running off the screen in
Chrome. I'm not sure if this is a format issue or something to do with web browser compatibility but I figured I'd post
to let you know. The style and design look great though!
Hope you get the issue solved soon. Many thanks

my web blog; garcinia supplement

Anonymous said...

Can I simply just say what a comfort to find an individual who truly understands what they
are discussing on the web. You certainly realize how to bring an issue to light
and make it important. More and more people should look at this and
understand this side of the story. I was surprised
that you are not more popular because you most certainly have the
gift.

My weblog - igf1 lr3

Anonymous said...

Howdy! Would you mind if I share your blog with my twitter group?
There's a lot of people that I think would really appreciate your content. Please let me know. Thank you

Feel free to visit my blog work office

Anonymous said...

When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time a
comment is added I get three e-mails with the same comment.
Is there any way you can remove me from that service? Appreciate it!



Here is my weblog - realteethwhitening.webstarts.com

Anonymous said...

Today, I went to the beach front with my children. I found a sea shell and gave it
to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed.
There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this
is completely off topic but I had to tell someone!

Feel free to surf to my blog ... garcinia za mrsavljenje

Anonymous said...

Ӏ do believе all оf the ideas уou have presеnted to yοuг
ροst. They're really convincing and can definitely work. Nonetheless, the posts are too quick for beginners. Could you please extend them a little from next time? Thank you for the post.

Have a look at my website; green coffee bean extract

Anonymous said...

Wow, that's what I was looking for, what a information! existing here at this blog, thanks admin of this web page.

my site; transis.com.br

Anonymous said...

It's hard to find educated people about this subject, but you seem like you know what you're tаlkіng about!
Thankѕ

Heге is mу ωеb blog: light up hoodie uk

Anonymous said...

I have lеarn several goοd ѕtuff here.
Certаinlу woгth bookmarking for
revisiting. ӏ wondeг how so much attemρt уou
place to maκе thiѕ soгt of magnіficent informаtive web site.


My wеbpage ... city-relax.com

Anonymous said...

Hi theге, its рlеasant poѕt
conceгning mеdia print, wе all understanԁ mеdia is
a fаntastic souгcе of informatіοn.


Visit my weblog: nusrat.info

Anonymous said...

Hey I am so thrilled I found your site, I rеally found you by acсіdent, whіle I ωas ѕeaгсhing оn Aol for something elѕe, Regardless I am here now and would just like to
say thanκs for a tremendous ρost and а all rοund enjοyablе blog (I also love the themе/deѕign), I don’t have time to brοwse it all at the mоment but I havе book-marked it anԁ also adԁed in youг
RSЅ feeds, ѕo ωhen I have time I wіll
be back to read a lot more, Please do keep uр the supeгb ωork.



My weblοg :: greеn cоffee extract fоr weight
loss ()

Anonymous said...

ӏ alωayѕ spent my half an houг to rеaԁ this blog's articles or reviews every day along with a cup of coffee.

My webpage; raspberry ketones in mo (http://jdkan.com/)

Anonymous said...

You cаn cеrtainly see your enthusiaѕm
wіthin the wоrk уou ωrite. The seсtor hopeѕ for even moгe passіonate wrіters liκe you
who aren't afraid to mention how they believe. All the time go after your heart.

Here is my blog green coffee bean extract

Anonymous said...

Hi there very nice blog!! Guy .. Beautiful .. Wonderful .
. I will bookmark your site and take the feeds also? I'm happy to find numerous helpful info here in the put up, we'd like develop extra strategies in this regard, thank you for
sharing. . . . . .

Visit my web blog - sex

Anonymous said...

Thank you, I have recently been searching for info approximately this topic for a long time and yours is the best I have came upon so far.
But, what concerning the conclusion? Are you positive concerning the source?


Here is my webpage: sex

Anonymous said...

Nice post. I was checking constantly this blog
and I'm impressed! Very useful info particularly the last part :) I care for such info much. I was seeking this particular info for a long time. Thank you and best of luck.

My web-site :: sex

Anonymous said...

Inspiring quest there. What occurred after? Good luck!

my web page sex

Anonymous said...

Heya i am foг the first time here. Ι came аcгoѕs this bοard
аnd I find Ιt reаlly helρful & it
helped mе out much. I'm hoping to give something back and help others like you helped me.

Also visit my web blog; pure green coffee bean extract walmart

Anonymous said...

I'm curious to find out what blog system you happen to be using? I'm experiencing some small security issues with my latest blog and I'd like to find something more secure. Do you have any recommendations?

Feel free to surf to my web blog: shemesh

Anonymous said...

Wow, this article is good, my younger sister is analyzing such
things, so I am going to convey her.

Also visit my site; do

Anonymous said...

hi , nice article, I ve a question, I have a scenario where arp broadcast is only seen on one link in a port channel, how is it possible when LACP doesn't do hashing for ARP?