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
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
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,
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
b.a.t.m.a.n@lists.open-mesh.org