Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-16 Thread Jan Lühr
Hello world! I'm back: Am 16.01.2013 um 02:42 schrieb NicoEchániz: I wanted to share this proposal we arrived at after discussion with some AlterMundi hackers, so we can discuss it during our future IRC session. I've previously shared it with yanosz, who had some observations that he can

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-09 Thread Jan Lühr
Hello, Am 09.01.2013 um 07:30 schrieb Marek Lindner: On Wednesday, January 09, 2013 00:35:17 NicoEchániz wrote: On 01/08/2013 03:15 AM, Marek Lindner wrote: May I propose that we schedule an IRC discussion for this topic ? I lost track of what you are actually trying to achieve and I see

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-09 Thread NicoEchániz
On 01/09/2013 08:49 AM, Jan Lühr wrote: Hello, Am 09.01.2013 um 07:30 schrieb Marek Lindner: On Wednesday, January 09, 2013 00:35:17 NicoEchániz wrote: On 01/08/2013 03:15 AM, Marek Lindner wrote: May I propose that we schedule an IRC discussion for this topic ? I lost track of what you

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-09 Thread Jan Lühr
Hello, Am 09.01.2013 um 18:39 schrieb NicoEchániz: On 01/09/2013 08:49 AM, Jan Lühr wrote: Hello, Am 09.01.2013 um 07:30 schrieb Marek Lindner: On Wednesday, January 09, 2013 00:35:17 NicoEchániz wrote: On 01/08/2013 03:15 AM, Marek Lindner wrote: May I propose that we schedule an IRC

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-08 Thread NicoEchániz
On 01/08/2013 03:15 AM, Marek Lindner wrote: May I propose that we schedule an IRC discussion for this topic ? I lost track of what you are actually trying to achieve and I see things getting more and more complicated. Whatever idea you come up with keep in mind that somebody has to do

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-08 Thread Marek Lindner
On Wednesday, January 09, 2013 00:35:17 NicoEchániz wrote: On 01/08/2013 03:15 AM, Marek Lindner wrote: May I propose that we schedule an IRC discussion for this topic ? I lost track of what you are actually trying to achieve and I see things getting more and more complicated. Whatever

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-07 Thread Jan Lühr
Hello, Am 05.01.2013 um 10:47 schrieb Jan Lühr: Am 05.01.2013 um 00:28 schrieb NicoEchániz: On 01/04/2013 02:41 PM, Marek Lindner wrote: On Friday, January 04, 2013 23:12:59 NicoEchániz wrote: Selection class 3 and beyond do change the gateway when a better one becomes available. But as you

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-05 Thread Jan Lühr
Hello, Am 05.01.2013 um 00:28 schrieb NicoEchániz: On 01/04/2013 02:41 PM, Marek Lindner wrote: On Friday, January 04, 2013 23:12:59 NicoEchániz wrote: Selection class 3 and beyond do change the gateway when a better one becomes available. But as you correctly pointed out these selection

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-04 Thread NicoEchániz
On 01/03/2013 09:39 PM, Marek Lindner wrote: On Friday, January 04, 2013 08:06:17 NicoEchániz wrote: Would mode 3 accomplish this fast switching? It doesn't mention if this mode will consider advertised throughput or not; only selection class 1 mentions throughput. Selection class 3 and

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-04 Thread Marek Lindner
On Friday, January 04, 2013 23:12:59 NicoEchániz wrote: Selection class 3 and beyond do change the gateway when a better one becomes available. But as you correctly pointed out these selection classes don't consider the announced bandwidth for the simple reason that nobody cared. In most

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-04 Thread Jan Lühr
Hello, Am 04.01.2013 um 18:41 schrieb Marek Lindner: On Friday, January 04, 2013 23:12:59 NicoEchániz wrote: Selection class 3 and beyond do change the gateway when a better one becomes available. But as you correctly pointed out these selection classes don't consider the announced

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-04 Thread NicoEchániz
On 01/04/2013 02:41 PM, Marek Lindner wrote: On Friday, January 04, 2013 23:12:59 NicoEchániz wrote: Selection class 3 and beyond do change the gateway when a better one becomes available. But as you correctly pointed out these selection classes don't consider the announced bandwidth for the

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-03 Thread Jan Lühr
Hello, Am 03.01.2013 um 02:57 schrieb Marek Lindner: On Thursday, January 03, 2013 07:28:02 Jan Lühr wrote: The client should use 6a:4b:93:de:00:84 as a gatway, since it provides much higher data rates - however, it is stuck at aa:31:0e:4a:0f:1d. I have observed the same behavior.

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-03 Thread Marek Lindner
On Thursday, January 03, 2013 19:03:11 Jan Lühr wrote: c) Disable regular gateway, force node to switch to backup kif:~# batctl gw_mode client Gateway-List is: reifunk-b0487acb2d58:~# batctl gwl Gateway (#/255) Nexthop [outgoingIF]: gw_class ... [B.A.T.M.A.N. adv

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-03 Thread Jan Lühr
Hello, Am 03.01.2013 um 15:58 schrieb Marek Lindner: On Thursday, January 03, 2013 19:03:11 Jan Lühr wrote: c) Disable regular gateway, force node to switch to backup kif:~# batctl gw_mode client Gateway-List is: reifunk-b0487acb2d58:~# batctl gwl Gateway (#/255)

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-03 Thread Marek Lindner
On Thursday, January 03, 2013 23:01:07 Jan Lühr wrote: Ah! You failed to mention this part in your initial email. The behavior is easily explained: batman-adv does not switch gateway whenever a new gateway is found (even if it is a better gateway) unless the selection class is on fast

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-02 Thread Jan Lühr
Hello, Am 01.01.2013 um 18:25 schrieb NicoEchániz: On 12/30/2012 10:16 PM, Jan Lühr wrote: Hello, I started using batman-adv's gateway mode. Sadly, I ran into some trouble - A client is connected to two gateways via vpn (fastd): # batctl gw_mode client (selection class: 1) # batctl

Re: [B.A.T.M.A.N.] Unterstanding gateway-mode - why do nodes have a sticky gateway

2013-01-02 Thread Marek Lindner
On Thursday, January 03, 2013 07:28:02 Jan Lühr wrote: The client should use 6a:4b:93:de:00:84 as a gatway, since it provides much higher data rates - however, it is stuck at aa:31:0e:4a:0f:1d. I have observed the same behavior. That's quite frustrating. Can I debug, when and why