Bug 402

Summary: IPv4 GlobalRouting does not handle /32 interfaces
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: routingAssignee: Tom Henderson <tomh>
Status: RESOLVED INVALID    
Severity: normal CC: craigdo, ns-bugs
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tom Henderson 2008-11-07 10:27:06 UTC
Fails with:
Ipv4::GetIfIndexByAddress failed

This should be later tested as part of routing refactoring.
Comment 1 Tom Henderson 2008-11-17 17:33:41 UTC
Lowering priority (aim for 3.4 release).  Not expected to be an important use case for the moment.
Comment 2 Tom Henderson 2008-12-08 09:32:55 UTC
Use case:

/32 netmasks are sometimes used in MANET routing over WiFi; each node gets a /32 address.  However, /32 netmasks are illegal for broadcast links in OSPF (which is what global routing is patterned after).

If global routing is run over such a configured MANET today, it will fail.  This is because the WifiNetDevice is identified as a broadcast interface.

The solution seems to be to add support for point-to-multipoint logic in global routing (which can handle the /32), and to somehow flag that the WifiNetDevice is not a typical broadcast link so that global routing can pick this up and treat it accordingly.
Comment 3 Tom Henderson 2009-06-30 00:54:49 UTC
not sure this is a valid report anymore; examples/global-routing-slash32.cc has been checked in in the meantime