|
Bugzilla – Full Text Bug Listing |
| Summary: | ARP requests are not retransmitted upon loss (in Wifi) | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Varun Reddy <varunamarreddy> |
| Component: | internet | Assignee: | Tom Henderson <tomh> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Source Code along with PCAP files | ||
|
Description
Varun Reddy
2017-06-01 18:54:12 UTC
I believe the problem is that the ArpCache::DeadTimeout default value of 100 seconds is much shorter than your simulation runtime (20 seconds). Can you try
Config::SetDefault ("ns3::ArpCache::DeadTimeout", TimeValue (Seconds (1)));
or some suitably small value and see whether it eventually retries successfully?
The behavior is to retry MaxRetries and then, if unsuccessful, go dead for a while, before starting to retry again. DeadTimeout of 0 might cause it to retry without any interruption (although I haven't tested that).
(In reply to Tom Henderson from comment #1) > I believe the problem is that the ArpCache::DeadTimeout default value of 100 > seconds is much shorter than your simulation runtime (20 seconds). Can you > try > > Config::SetDefault ("ns3::ArpCache::DeadTimeout", TimeValue (Seconds (1))); > > or some suitably small value and see whether it eventually retries > successfully? > > The behavior is to retry MaxRetries and then, if unsuccessful, go dead for a > while, before starting to retry again. DeadTimeout of 0 might cause it to > retry without any interruption (although I haven't tested that). Hi Tom, Yes you're right, it works now. I even populated the ARP cache before data transmission, and the underlying problem was something else; it's not a problem with the ARP. Sorry for the bother. Thanks! Varun |