Hi,
I am also getting the same error. when i send packets from node 0 to node 1 it is working fine. When i tries to forward the packet from node 1 to node 2, all the packets(data) gets dropped at node 1. But some other packet(Routing) gets transfered. Please help me. Thnaks in advance With regards, Shyam Sundar Yasser Toor wrote: > > > Hi Everyone, > > I have an ARP related problem. I am simulating a wireless linear > network with a distance of 200m between each node. > > Node 0-----------------Node 1 ----------------Node2 > 200m 200m > > I set up a CBR connection between node 0 and node 2, but ALL the CBR > packets are dropped. In the tracefile, I see that the source node > tries to get the hardware address of the destination but gets no reply > as shown below (0 is the source and 2 is the destination, with 1 being > the intermediate node). > > --------------snip--------------------- > s 10.855448400 _0_ MAC --- 0 ARP 80 [0 ffffffff 0 806] ------- > [REQUEST 0/0 0/2] > r 10.855865055 _1_ MAC --- 0 ARP 28 [0 ffffffff 0 806] ------- > [REQUEST 0/0 0/2] > . > . > D 11.783164825 _0_ IFQ ARP 114 cbr 1044 [0 0 0 800] ------- [0:0 2:0 > 64 0] [1] 0 0 > --------------snip--------------------- > > I have tried different configurations, i.e. CBR connections between > Node1-Node0 and Node1-Node2 work fine separately and at the same > time, but Node0-Node2 drops all packet. > > In the ARP.cc file, I found the following code, > > --------------snip--------------------- > > if(ah->arp_op == ARPOP_REQUEST && > ah->arp_tpa == node_->address()) { > > --------------snip--------------------- > > > It seems to me that a node will only reply to an ARP request if the > target hardware address is itself, but shouldn't it reply if it has > the hardware address in the ARP cache. > > What did I miss here? > > Thanks for any tips/help you can give, > > Yasser > > > -- View this message in context: http://old.nabble.com/ARP-problem-in-wireless-networks-tp14032200p28287865.html Sent from the ns-users mailing list archive at Nabble.com.