From owner-freebsd-net@FreeBSD.ORG Tue Sep 14 01:06:44 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8929716A4CE for ; Tue, 14 Sep 2004 01:06:44 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB9343D48 for ; Tue, 14 Sep 2004 01:06:42 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) i8E15Mr4028205; Mon, 13 Sep 2004 18:05:23 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (pc1.oakwoodazabu1-unet.ocn.ne.jp [220.110.140.201]) by mail.meer.net (8.12.1/8.12.2/meer) with ESMTP id i8E151Yt026180; Mon, 13 Sep 2004 18:05:02 -0700 (PDT) (envelope-from gnn@neville-neil.com) Date: Tue, 14 Sep 2004 10:05:00 +0900 Message-ID: From: "George V. Neville-Neil" To: John Hay In-Reply-To: <20040913171931.GA5368@zibbi.icomtek.csir.co.za> References: <20040913171931.GA5368@zibbi.icomtek.csir.co.za> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/21.2 (powerpc-apple-darwin) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: route to host on same network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 01:06:44 -0000 At Mon, 13 Sep 2004 19:19:31 +0200, John Hay wrote: > > Hi, > > I'm busy trying to port mobilemesh (www.mitre.org/tech_transfer/mobilemesh) > to FreeBSD and run into a problem. > > The way mobilemesh works is that you use a subnet for the wireless > network and then it use host routes to route packets to hosts that are > not directly visible. Say for instance that you have hosts 1, 2 and 3 > on the 10.0.0.0/24 subnet and machines 1 and 3 can't directly see each > other, but both can see host 2, then the mobilemesh routing protocol > will try to add a host route to the other machine through host 2. On > host 1 it will do something like "route add 10.0.0.3 10.0.0.2" and > on host 3 it will do "route add 10.0.0.1 10.0.0.2". This seems to work > on Linux (where mobilemesh was developed), but I have been unable to > get it to work on FreeBSD. I have also tried various ways with and > without -interface and -iface, but none works. Is it supposed to be > possible in FreeBSD and if so does someone know how? > What "doesn't work" as in what error, if any, do you get? Or does it just silently fail? Also, what does your routing table look like before and after the commands (netstat -rn). Later, GEorge