Hello.
In my simple network
--------------------------------
-node 1 and node 3 are neighbors ! (you can check the routing tables
below to verify this info)
-node 1 and node 0 are neighbors ! (you can check the routing tables
below to verify this info)
Scenario 1 : Install
----------------------------
-UPD client on node 3 : //echoClient.Install (c.Get (3));
-UPD server on node 1 : //echoServer.Install (c.Get (1))
==>When node 3 sends a packet to node 1, node 1 DOES NOT get it !!
HOWEVER IF i DO THE FOLLOWING:
Scenario 2 : Install
----------------------------
-UPD client on node 0 : //echoClient.Install (c.Get (0));
-UPD server on node 1 : //echoServer.Install (c.Get (1))
==>When node 0 sends a packet to node 1, node 1 DOES get it !!
this is SO weird !!! why is this happening ?! I need node 1 to receive
the packet from its neighbor node 3
More information about my network :
-------------------------------------------------------
-Its is a wifi ad hoc with OLSR routing protocol installed on the
nodes
-node 0's ip is 10.1.1.1
-node 1's ip is 10.1.1.2 ,
-node 3's ip is 10.1.1.4
-I used :
YansWifiPhyHelper wifiPhy = YansWifiPhyHelper::Default ();
wifiPhy.Set ("RxGain", DoubleValue (-25) ); // Max range 115 m
YansWifiChannelHelper wifiChannel;
-Positions of the nodes:
node 0 : Vector (50,50,0)
node 1 : Vector (80,50,0)
node 3 : Vector (150,0,0)
Kindly note that I chose the RXGain and the position of each node
myself because I wanted to set up a "specific" network which is that
one :
http://shareimage.org/images/ugzd93r3exvh4m68qpfm.png
Anybody know how I can solve my problem ?
I need node 1 to receive the packet from its neighbor node 3.
Kindly note that this problem is happening in many other nodes in my
network.
Addition information :
----------------------------------
Below is the routing table of node 0
---------------------------------------------------------
Node: 0 Time: 20s Ipv4ListRouting table
Priority: 10 Protocol: ns3::olsr::RoutingProtocol
Destination NextHop Interface Distance
10.1.1.2 10.1.1.2 1 1
10.1.1.3 10.1.1.3 1 1
10.1.1.4 10.1.1.4 1 1
10.1.1.5 10.1.1.3 1 2
10.1.1.6 10.1.1.4 1 2
10.1.1.7 10.1.1.3 1 3
Below is the routing table of node 1
---------------------------------------------------------
Node: 1 Time: 20s Ipv4ListRouting table
Priority: 10 Protocol: ns3::olsr::RoutingProtocol
Destination NextHop Interface Distance
10.1.1.1 10.1.1.1 1 1
10.1.1.3 10.1.1.3 1 1
10.1.1.4 10.1.1.4 1 1
10.1.1.5 10.1.1.3 1 2
10.1.1.6 10.1.1.4 1 2
10.1.1.7 10.1.1.3 1 3
Below is the routing table of node 3
---------------------------------------------------------
Node: 3 Time: 20s Ipv4ListRouting table
Priority: 10 Protocol: ns3::olsr::RoutingProtocol
Destination NextHop Interface Distance
10.1.1.1 10.1.1.1 1 1
10.1.1.2 10.1.1.2 1 1
10.1.1.3 10.1.1.3 1 1
10.1.1.5 10.1.1.5 1 1
10.1.1.6 10.1.1.6 1 1
10.1.1.7 10.1.1.5 1 2