|
Bugzilla – Full Text Bug Listing |
| Summary: | Radvd do not consider the SendAdvert option and don't reply to RS | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | applications | Assignee: | George Riley <riley> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
patch
patch new patch |
||
|
Description
Tommaso Pecorella
2014-11-09 17:00:49 UTC
Created attachment 1916 [details]
patch
Created attachment 1917 [details]
patch
It turns out that raided had more bugs than expected.
1) RS are not correctly received and parsed
2) when an RS parsed, the reply is sent on all the interfaces, causing a NS flood on the "wrong" interfaces
This patch fixes all the issues.
Moreover, it updates the raided example to show how to disable automatic RA on one of the two interfaces.
Created attachment 1921 [details]
new patch
Better fix, following more strictly what's suggested in RFC 4861
please merge when ready (p.s. minor nit: you still have magic numbers instead of constants in your constructor initializers) changeset: 11062:91a7bee99048 The magic numbers are the ones from RFC 4861, and they should be converted into Attributes (maybe). I'll do it in the next patch if there is interest in tweaking RADVD params. |