From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4F8745E1.9080701@gmail.com> Date: Thu, 12 Apr 2012 23:15:13 +0200 From: Gioacchino Mazzurco MIME-Version: 1.0 References: <4F86B02B.9060900@gmail.com> <20120412120002.GE8528@ritirata.org> <4F86F6BF.60406@jst.sm> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [B.A.T.M.A.N.] Migration to Batman 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: Mitar Cc: Mitar , The list for a Better Approach To Mobile Ad-hoc Networking You do not need a routing daemon on all nodes but just on the gateways, each gateway will talk to others and saying i am announcing that subnet with that cost, so when the gateway receive a packet for that subnet it forward the packet to the right router and tell the client "next time you need that subnet use the other router" with an icmp message On 04/12/12 23:08, Mitar wrote: > Hi! > > On Thu, Apr 12, 2012 at 5:37 PM, Jernej Kos wrote: >> Since from layer 3, the batman mesh looks just like a big LAN, any node >> could simply add a route saying "prefix A via gateway B dev bat0" where >> B is a mesh node known to batman via its L2 identifier, no? > > So I have almost convinced Kostko that we could switch to Batman, but > he does not want to run multiple routing daemons on nodes. So could > Batman support announcing also L3 prefixes? For example, that in the > node configuration you could define that that node (let say it has IP > 10.10.10.10) should announce also some L3 subnet. Like > 192.168.42.0/24. And when that node would be reachable from other > node, that other node would run: > > ip route add prefix 192.168.42.0/24 via gateway 10.10.10.10 dev bat0 > > Doable? Because to run additional routing daemon just to rediscover > which nodes are around and announce things ... when Batman already > knows all this ... > > > Mitar