On Wed, Jul 07, 2010 at 02:33:53PM +0200, Clemens John wrote:
Am Mittwoch 07 Juli 2010, 14:10:33 schrieb Marek Lindner:
On Wednesday, July 07, 2010 13:25:51 Clemens John wrote:
Right and the wifi clients have no batman advanced installed. Currently they are getting their IP and defaultroute from a central dhcp server
Wow - when it comes to your setup and requirements you know how to keep your answer short. I hoped you would say a bit more ... :)
At this point I don't see why you would need to use the gateway feature at all. There is nothing to optimize.
Yes the network is working well but in this setup the central dhcp server is the only gateway because I only get the defaultroute of this server.
What if I have more gateways? I know that I can set the defaultroute to this server by hand but a "normal" user canĀ“t do this. I need a method to choose the gateway individually and automatically so that the user gets the best gateway available.
Are there any ideas to do this? Or am I completely on the wrong way?
If I'm not wrong, at this point you could put a dhcp server on each gateway and use the gw-mode feature of batman, so that each gw will anounce itself as gw and a dhcp request, becoming from a client, will be redirected to the best gw in the mesh.
Please someone corrects me if I am wrong.
Thank you Clemens
Regards