Bugzilla – Full Text Bug Listing |
Summary: | AODV fails to set up a correct path | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Christian <c.facchini> |
Component: | aodv | Assignee: | Elena Buchatskaya <sunnmy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ns-bugs, sunnmy, tomh |
Priority: | P3 | ||
Version: | ns-3.8 | ||
Hardware: | All | ||
OS: | Linux | ||
Bug Depends on: | 966 | ||
Bug Blocks: | |||
Attachments: | Simulation scripts reproducing the bug |
Description
Christian
2010-06-11 09:50:31 UTC
(In reply to comment #0) > Created an attachment (id=916) [details] > Simulation scripts reproducing the bug > > Important notes: > * this behavior does not occur always: specifically, only for some seeds AODV > fails to establish a route. > * Also, I am not sure if this bug is related to bug 879 (in that bug TCP is > used, whereas here UDP is used). <snip> > > By translating the addresses, it is possible to see that the destination is > 10.0.0.5 (correct), the source is 102.102.102.102 (not correct), and the > gateway is 127.0.0.1 (not correct). > > I have attached a simulation script that reproduces the bug (in my case using > --RngRun=10 turns on the bug). I was able to reproduce this with the --RngRun=10 option as you suggested, after disabling these two lines in the test case that caused an error for me: phy.Set ("TxPowerStart", DoubleValue (16.0206)); // 40 mW phy.Set ("TxPowerEnd", DoubleValue (23.0)); // 200 mW However, the behavior of the gateway being 127.0.0.1 is correct. In this case, since there is no route, AODV replies with a "LoopbackRoute" so that the packet can be caught in the RouteInput() stage and a RREQ issued. But the bug may be related to bug 879; will have to look more closely to compare the failure case with the working case. The reported behavior is related to bug 966. After applying corresponding patch AODV correctly finds the route. changeset 5dbb70a41b85 |