Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help Needed: ARP Hanging

Reply
Thread Tools Display Modes

Help Needed: ARP Hanging

 
 
Gord
Guest
Posts: n/a

 
      03-03-2006, 03:14 AM
Folks


I am having a weirdism. I am trying to detect when a server goes away
and comes back.


The approach I am taking is to monitor the arp table. This in theory
works well. The arp entry for my server goes to <incomplete> in a
timely fashion (ok not very timelty, but acceptable). After the server

reboots, the arp entry becomes complete again. So far so good.


But there is a race condition. If I call 'arp' at just the wrong time,

it will hange forever. I can <ctrl>C and everything will be fine.


I tried cat'ting /proc/net/arp Same result. The cat proc can hang
forever.


Anyone seen this before? I am running RHEL4 U1 .


Thanks


Gord

 
Reply With Quote
 
 
 
 
noEMA
Guest
Posts: n/a

 
      03-03-2006, 11:09 PM
On Thu, 02 Mar 2006 20:14:01 -0800, Gord wrote:

> Folks
>
>
> I am having a weirdism. I am trying to detect when a server goes away and
> comes back.
>


What a weird expression!
>
> The approach I am taking is to monitor the arp table. This in theory
> works well. The arp entry for my server goes to <incomplete> in a timely
> fashion (ok not very timelty, but acceptable). After the server
>


It is perfectly normal in an host attached onto a Ethernet network to
forget about the cached ARP entry representing another host.

> reboots, the arp entry becomes complete again. So far so good.
>
>


I assume that something process in your server reboot must do some kind
of communication that provide your server with the MAC address of the
other host. Maybe a broadcast... Maybe it's the address of a switch,
bridge or a router.

> But there is a race condition. If I call 'arp' at just the wrong time,
>
> it will hange forever. I can <ctrl>C and everything will be fine.
>
>
> I tried cat'ting /proc/net/arp Same result. The cat proc can hang
> forever.
>
>
> Anyone seen this before? I am running RHEL4 U1 .
>
>
> Thanks
>
>
> Gord


I would recommend running a protocol analyzer to check it.
TCPDump would be fine for it.

Another area of research for you is Spanning Tree.
All the bridges/switches frequently talk to each other to determine if
there is a loop in the network. Loop will kill the net...
So it may be possible that the MAC address that represent a step in the
path to the other host change as the net topology change.

Hope it help.




 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does ssh keep hanging unruh Linux Networking 24 05-11-2012 09:22 AM
Hanging on log off Schoolguy Windows Networking 0 04-03-2006 03:51 PM
MN-700 Hanging Brandon Broadband Hardware 0 02-12-2005 01:42 PM
MN-700 hanging... Marcelo Broadband Hardware 4 10-10-2004 11:08 PM
hanging mayman Windows Networking 0 09-07-2004 07:03 AM



1 2 3 4 5 6 7 8 9 10 11