<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16609" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Hello Justin,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Broadcast packets are by default not forwarded by the OLSR
daemon. For that, you need the BMF plugin. </FONT></SPAN><SPAN
class=861290119-21022008><FONT face=Arial color=#0000ff size=2>It comes standard
with OLSR but you have to enable it in the configuration
file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>In the unpacked OSLR directory structure, cd to lib/bmf and
read README_BMF.txt for more information. </FONT></SPAN><SPAN
class=861290119-21022008><FONT face=Arial color=#0000ff size=2>For basic
operation, including the forwarding of broadcast packets, add the following
lines to your olsrd.conf file:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>LoadPlugin "olsrd_bmf.so.1.5.2"<BR>{</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>}</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Between the curly braces you might want to add the
routers' network interfaces into the local LAN (the interfaces of which you
are advertising the IP subnets as HNA). Let's say your Hna4 section of your
config file looks like this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Hna4<BR>{<BR> 192.168.2.0
255.255.255.0<BR> 192.168.3.0
255.255.255.0<BR>}<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Suppose the IP subnet 192.168.2.0 255.255.255.0 is on
eth2 and 192.168.3.0 255.255.255.0 is on eth3. Then the BMF should be
configured like this:</DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><SPAN class=861290119-21022008>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>LoadPlugin "olsrd_bmf.so.1.5.2"<BR>{</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2> PlParam
"NonOlsrIf" "eth2"<BR> PlParam
"NonOlsrIf" "eth3"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>}</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=861290119-21022008>BMF </SPAN>works nice with the broadcast-based
flavour of NetBIOS over TCP/IP. Just run the BMF-enabled OLSR daemon in all
your routers and your windows machines will see each other - I've seen it
working :-) BMF will translate the IP-broadcast addresses inside the IP packets
to cater for the different IP subnets you have inside, or connected
to, your ad-hoc network.</FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left></SPAN><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Note that the BMF plugin is only available on Linux; you
will not be able to use BMF on a Windows-based (OLSR) router. But of course,
running on a Linux-based router, BMF will forward the broadcast packets
generated by Windows computers.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2>Erik</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=861290119-21022008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=nl dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Van:</B> olsr-users-bounces@lists.olsr.org
[mailto:olsr-users-bounces@lists.olsr.org] <B>Namens </B>Justin
Krohn<BR><B>Verzonden:</B> donderdag 21 februari 2008 19:53<BR><B>Aan:</B>
olsr-users@lists.olsr.org<BR><B>Onderwerp:</B> [Olsr-users] Broadcast Packets
& Windows Routing<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR> I have to questions that I have not been able
to find an answer for. I am attempting to use Freifunk based routers
(running OLSR) to create a mobile, ad-hoc vehicular network. I am
planning on writing an application to run on the routers, but am concerned
about how to figure out what other systems running the software are
around. Typically on LANs and WLANs I would just send out a broadcast
packet to a waiting piece of software on another computer which would respond
with information on what services the system was running, but thus far all of
my broadcasts have been filtered by the OLSR daemon. Is there a specific
type of broadcast packet/method to get a broadcast message out to all
nodes/clients?<BR> Also, I have been doing some testing with the Windows
OLSR daemon available at <A
href="http://download.berlin.freifunk.net/sven-ola/binaries/">http://download.berlin.freifunk.net/sven-ola/binaries/</A>
, and while using it I have been able to easily connect/communicate with the
various nodes in the mesh network, the computer does not act as a multi-hop
node, meaning that while it will connect across multiple nodes to communicate
with other nodes, it does not allow other nodes to use it to communicate with
other nodes.<BR> I am a relative newbie to OLSR, so if these questions
are exceedingly simple/stupid I apologize, and would appreciate any help the
mailing list can give. Thanks,<BR><BR>Justin<BR></BLOCKQUOTE></BODY></HTML>