[OLSR-users] problem with multiple subnets topology

mashael .... (spam-protected)
Wed Feb 14 04:46:33 CET 2007


Hi.

In my project, I have three PC's (A , B and C). All of them are connected to
each other through ad hoc (network 10.1.1.0). B has two interfaces, one of
them is 10.1.1.2 and the other is ethernet 192.168.1.175

I use OLSR as my routing protocol (switch 0.4.9), so that A and C can learn
about 192.168.1.0, and the OLSR interface shows that they learn about the
routes correctly..

when i run my code, in which i use multicast sockets to join a group. The
problem is that Node B does not recieve the multicast packets from its ad
hoc neighbors, nor its multicast packets arrive to the ad hoc peers..Nodes A
and C can send and recieve multicast packets from each other with no
problems..Node B is only able to communicate with its adhoc peers when i
disable the ethernet interface.The following is the routing table of node B:



C:\Documents and Settings\admin>route print

===========================================================================

Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric

          0.0.0.0          0.0.0.0    192.168.1.200   192.168.1.175       20

         10.1.1.0    255.255.255.0         10.1.1.2        10.1.1.2       30

         10.1.1.1  255.255.255.255         10.1.1.2        10.1.1.2       1

         10.1.1.2  255.255.255.255        127.0.0.1       127.0.0.1       30

         10.1.1.3  255.255.255.255         10.1.1.2        10.1.1.2       1

   10.255.255.255  255.255.255.255         10.1.1.2        10.1.1.2       30

        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1

      192.168.1.0    255.255.255.0    192.168.1.175   192.168.1.175       20

    192.168.1.118  255.255.255.255         10.1.1.3        10.1.1.2       2

    192.168.1.175  255.255.255.255        127.0.0.1       127.0.0.1       20

    192.168.1.255  255.255.255.255    192.168.1.175   192.168.1.175       20

        224.0.0.0        240.0.0.0         10.1.1.2        10.1.1.2       30

        224.0.0.0        240.0.0.0    192.168.1.175   192.168.1.175       20

  255.255.255.255  255.255.255.255         10.1.1.2        10.1.1.2       1

  255.255.255.255  255.255.255.255    192.168.1.175   192.168.1.175       1

Default Gateway:     192.168.1.200

===========================================================================

Persistent Routes:

  None

I tried to change the metric of the multicast route 224.0.0.0  via
10.1.1.2so that it becomes smaller than the metric through
192.168.1.175 for the same route, but it says route was not found..I also
tried setting IPEnableRouting to 1, but that also did not solve the
problem..Any ideas how to solve this problem???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20070213/90bc15d4/attachment.html>


More information about the Olsr-users mailing list