Bug 753 - Allow DIX encapsulation in EmuNetDevice
Allow DIX encapsulation in EmuNetDevice
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: devices
ns-3.6
All Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-26 11:27 UTC by Gustavo J. A. M. Carneiro
Modified: 2009-11-30 21:38 UTC (History)
1 user (show)

See Also:


Attachments
Add EncapsulationMode attribute to EmuNetDevice (5.91 KB, patch)
2009-11-26 11:27 UTC, Gustavo J. A. M. Carneiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.