Bug 753

Summary: Allow DIX encapsulation in EmuNetDevice
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: devicesAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: craigdo
Priority: P5    
Version: ns-3.6   
Hardware: All   
OS: Linux   
Attachments: Add EncapsulationMode attribute to EmuNetDevice

Description Gustavo J. A. M. Carneiro 2009-11-26 11:27:04 UTC
Created attachment 681 [details]
Add EncapsulationMode attribute to EmuNetDevice

A student is trying to use EmuNetDevice to allow an external host to ping an NS-3 simulated node.  ARP requests are received by NS-3, then NS-3 sends an ARP reply, but the host (ubuntu) does not interpret the ARP reply.  If the host is a Windows host, then it works, Windows does receive the ARP reply.

The student is still running tests to confirm this, but we suspect that the LLC/SNAP header is what is confusing the ubuntu kernel, so I have prepared a patch to make DIX encap. possible in EmuNetDevice.
Comment 1 Gustavo J. A. M. Carneiro 2009-11-26 12:39:21 UTC
The student tells me the patch solved the problem, so it is confirmed.