* [B.A.T.M.A.N.] Determining on which node a client is connected to
@ 2012-04-17 12:15 Mitar
2012-04-17 12:18 ` Marek Lindner
2012-04-17 12:22 ` Antonio Quartulli
0 siblings, 2 replies; 4+ messages in thread
From: Mitar @ 2012-04-17 12:15 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking; +Cc: Jernej Kos
Hi!
Is it possible to determine from central location (for example
gateway) to which node a client is currently connected to? So from
DHCP you can get MAC-IP translation, but how to get from MAC on which
node client currently is?
Mitar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Determining on which node a client is connected to
2012-04-17 12:15 [B.A.T.M.A.N.] Determining on which node a client is connected to Mitar
@ 2012-04-17 12:18 ` Marek Lindner
2012-04-17 12:22 ` Antonio Quartulli
1 sibling, 0 replies; 4+ messages in thread
From: Marek Lindner @ 2012-04-17 12:18 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Tuesday, April 17, 2012 14:15:49 Mitar wrote:
> Is it possible to determine from central location (for example
> gateway) to which node a client is currently connected to? So from
> DHCP you can get MAC-IP translation, but how to get from MAC on which
> node client currently is?
Read the translation table section:
http://www.open-mesh.org/wiki/batman-adv/Understand-your-batman-adv-network
Regards,
Marek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Determining on which node a client is connected to
2012-04-17 12:15 [B.A.T.M.A.N.] Determining on which node a client is connected to Mitar
2012-04-17 12:18 ` Marek Lindner
@ 2012-04-17 12:22 ` Antonio Quartulli
2012-04-18 23:38 ` Mitar
1 sibling, 1 reply; 4+ messages in thread
From: Antonio Quartulli @ 2012-04-17 12:22 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking; +Cc: Jernej Kos
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
On Tue, Apr 17, 2012 at 02:15:49PM +0200, Mitar wrote:
> Hi!
>
> Is it possible to determine from central location (for example
> gateway) to which node a client is currently connected to?
Hello Mitar,
if I correctly got your question, you want to know what the Global Translation
Table of each node already contains.
Using "batctl tg" or directly inspecting the sysfs you will get such table with
all the client entries.
> So from
> DHCP you can get MAC-IP translation, but how to get from MAC on which
> node client currently is?
However, I didn't get why you need the node MAC.
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Determining on which node a client is connected to
2012-04-17 12:22 ` Antonio Quartulli
@ 2012-04-18 23:38 ` Mitar
0 siblings, 0 replies; 4+ messages in thread
From: Mitar @ 2012-04-18 23:38 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking; +Cc: Jernej Kos
Hi!
Thank you all for all your answers. They really help me a lot!
On Tue, Apr 17, 2012 at 2:22 PM, Antonio Quartulli <ordex@autistici.org> wrote:
> However, I didn't get why you need the node MAC.
I think there was some misunderstand. I would just like to know on
which node a client is connected to. And as I understand, this is
globally shared between all nodes so I can just inspect this on one
node through global translation table. But for client I begin with the
IP. So with DHCP, I can get client's MAC, and from there I look into
global translation table. This tells me where the client is.
Mitar
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-18 23:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17 12:15 [B.A.T.M.A.N.] Determining on which node a client is connected to Mitar
2012-04-17 12:18 ` Marek Lindner
2012-04-17 12:22 ` Antonio Quartulli
2012-04-18 23:38 ` Mitar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox