LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-13-2004, 05:23 AM   #1
rickthemick
Member
 
Registered: Aug 2003
Location: Sweden
Distribution: Debian
Posts: 52

Rep: Reputation: 15
Update others arp caches


Hi!
I want to be able to update other hosts arp caches on my LAN (for Mobile IP purposes). I believe this is sometimes called "gratuitous arp". I have tried implemented this and Ethereal identifies this as an "request/gratuitous arp" but the arp cache on the other Linux boxes (2.4.25) is not beeing updated!

Some where else I read that this task is solved by simply put an unsolicited arp reply on the wire, but this doesnt seem to get the caches updated either.

/Rick
 
Old 12-13-2004, 07:05 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
I don't have much to add to this thread other than I have always used "arping -U" (request) or "arping -A" (reply) to update my ISP's router arp cache when I changed NIC's (I have a static public IP).

FWIW: The redhat ifup script issues a gratuitious arp when the interface is brought up
Code:
    # update ARP cache of neighboring computers
    arping -q -A -c 1 -I ${REALDEVICE} ${IPADDR}
    ( sleep 2;
      arping -q -U -c 1 -I ${REALDEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null &
Also, using the windows based version of ethereal, windows clients also issue some form of an arping when the interface is brought up. At least thats what I have observed on my XP box.

Good Luck
 
Old 12-14-2004, 06:47 AM   #3
rickthemick
Member
 
Registered: Aug 2003
Location: Sweden
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
Gratuitous arp

I found this:
http://lists.virus.org/fw1-0311/msg00329.html
which says that gratuitous arp seems to be problematic no Debian!
Anyone who knows something about this? I can see my gratuitous arp but the arp table doesnt get updated...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
Disabling ARP probes after receiving an ARP request AltecLansingMan Linux - Networking 1 03-30-2004 01:25 PM
Arp Melissa22 Linux - Networking 1 03-16-2004 03:21 AM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM
arp -n ssrikant Linux - Networking 1 04-15-2003 07:24 PM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration