From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 17 Jul 2012 12:57:23 +0200 References: <201207161202.45306.lindner_marek@yahoo.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201207171257.23627.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] Route selection over VPN links Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Tuesday, July 17, 2012 08:36:30 Mitar wrote: > > the later versions of batman support a routing protocol plugin structure > > (check bat_iv_ogm.c to get an idea). Using bandwidth information for the > > routing decision is a nice idea but how does your concept look like ? How > > should the routing logic look like ? > > I thought I explained it enough. So for now, I would just go with only > measuring latency (I don't know what would be the best way to measure > this, though). If I have the latency (and this could be only one hop), > I would do: > > * if packet loss is different, choose the one with lower packet loss > * if packet loss is the same, choose the one with lower latency in the next > hop I was more curious about the bandwidth routing than the latency stuff. The current routing algorithm already takes latency into account. An alternate path always need to be better than the current path. If both paths are equal the faster packets win the race. Regards, Marek