route to host on same network

John Hay jhay at icomtek.csir.co.za
Mon Sep 13 10:19:44 PDT 2004


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?

Thanks.

John
-- 
John Hay -- John.Hay at icomtek.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-net mailing list