Bug 771

Summary: Radvd does not set ttl value
Product: ns-3 Reporter: Fabian Mauchle <f1mauchl>
Component: applicationsAssignee: Sebastien Vincent <vincent>
Status: RESOLVED FIXED    
Severity: normal CC: faker.moatamri, ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: workaround

Description Fabian Mauchle 2009-12-04 04:39:04 UTC
Created attachment 693 [details]
workaround

RFC 4861 defines a ttl value of 255 for Router Advertisements, but the RadvdApplication does not set this value. 
As the ns-3 IPv6 stack does not check this value, the stateless autoconfiguration works anyway within ns-3, but not with real nodes (windows & linux) in emulation.

The patch is only a quick workaround, which adds a SocketIpTtl value itself. This value should normally be set as a socket option, but raw sockets currently do not support this.
Comment 1 Sebastien Vincent 2009-12-16 11:42:55 UTC
Yes we still lake "true" raw socket implementation (like Unix do). So I am OK with your patch.

+1

Other comments before I commit this patch ?
Comment 2 Sebastien Vincent 2009-12-18 12:44:28 UTC
Done 035a59e5798e.