Bug 964

Summary: AODV does not work with host addressed interfaces
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: aodvAssignee: Elena Buchatskaya <sunnmy>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: patch

Description Tom Henderson 2010-07-23 18:12:19 UTC
Created attachment 951 [details]
patch

MANET address architecture (in development at IETF) specifies that MANET interfaces should use a /32 address; see section 6.2 of
http://tools.ietf.org/html/draft-ietf-autoconf-adhoc-addr-model-03

Attached patch reworks some of the socket-related code to allow either a /32 or a non-/32 address.  there appears to be some trace divergence due to this patch in the aodv regression tests that needs to be investigated.
Comment 1 Elena Buchatskaya 2010-08-02 09:45:41 UTC
The only difference in traces is the UDP source port selected in Ipv4EndPointDemux::AllocateEphemeralPort ("Bug 772 UDP/TCP chain regression test"). After applying patch, AODV in NotifyInterfaceUp (uint32_t i) calls the socket->BindToNetDevice (l3->GetNetDevice (i)) resulting in selection the port, that before patch was used for binding socket in OnOff application. Thus socket in OnOff application is forced to use next port number.

I believe that this is not a bug and propose to generate new regression traces.
Comment 2 Elena Buchatskaya 2010-08-04 13:55:24 UTC
changeset 48625d668186