linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* neighbor deleted from arp table after ibss leave
@ 2013-03-21 13:36 Giovanni Di Stasi
  0 siblings, 0 replies; only message in thread
From: Giovanni Di Stasi @ 2013-03-21 13:36 UTC (permalink / raw)
  To: linux-wireless

Hi everyone,

I  have noticed a different behaviour related to the way the arp table 
is managed depending on the tool I use to configure the interfaces 
(iwconfig or iw).

In particular, I considered the following two cases (ath5k used for both).

First case: I create the interface with iw (in ad-hoc mode), then I set 
the essid and the channel with iwconfig. After a while (several minutes) 
I change the channel with iwconfig in order to join a different ibss 
(with the same essid) on the new channel. The kernel used was 3.0.

Second case: I create the interface with iw (in ad-hoc mode), then I 
join an ibss (on a certain essid) setting at the same time the freq (in 
fixed-freq mode), with iw. After a while I leave the ibss and join 
another ibss on a different channel with iw (by first issuing iw ibss 
leave and then iw ibss join on the new channel). The kernel used was 3.2.

It seemed to me that in both cases the "current" ibss was left and the 
new one was joined (by looking at dmesg output). However, in the second 
case, I noticed some arp requests just after the ibss join, while in the 
first case no arp request at all. Is it due to the fact that in the 
second scenario the arp table was erased? Is that a known behavior?
It would be useful for me to know that as unfortunately I cannot easily 
repeat the two tests;  I would therefore be glad if some of you could 
give me some hints on what has been happening in the second case that 
triggered the arp requests (I can say almost for sure that it was not 
due to the arp timeout because the timeout was larger and I got the same 
results for different repetitions, i.e. arp request just after the ibss 
join).

Thanks in advance,
Giovanni


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-21 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21 13:36 neighbor deleted from arp table after ibss leave Giovanni Di Stasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).