[Olsr-users] Internet connectivity with OLSR

Michael Rack (spam-protected)
Thu Dec 10 10:53:53 CET 2009


Dear Vijai,

i know where the problem is located!

Only PCs running OLSR does know about the topology. All other nodes does 
not know about the host-routes, so you have to setup static routes on 
your "Internet-LAN" and create a own subnet for your OLSR-Network as it 
was before :)

To get all nodes running on the same subnet, you have to turn ProxyARP 
on, or create two subnets (one subnet for OLSR, one subnet for 
Static-Routes).

Your Topology with two subnets:

PC-A (running OLSR)
     eth0    10.105.10.200/24

     eth0    10.105.10.201/24
PC-B (running OLSR)
     eth1    10.105.12.28/24

HOW DOES THE TOPOLOGY AFTER PC-B LOOKS LIKE ?
What kind of device is 10.105.12.1/24?

Your default-gateway for PC-B is routed via 10.105.12.1. 10.105.12.1 
does not know anything about the network 10.105.10.0/24, so packets will 
arrive 10.105.10.1, but 10.105.10.1 does not know where the answer 
should be sent to.

To make 10.105.10.1 knowing about your subnet, you have to setup the 
following static route:

     ip route add 10.105.10.0/24 via 10.105.12.28

Now you are able to reach each ip-address on your network from PC-A and 
vice versa.

Michael.




More information about the Olsr-users mailing list