[Ns-bugs] [Bug 569] tap bridge USE_LOCAL not working with virtual machines
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Jun 17 15:04:04 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=569
--- Comment #2 from Tom Henderson <tomh at tomh.org> 2009-06-17 18:04:04 EDT ---
Created an attachment (id=471)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=471)
start of a patch to fix
This patch starts to fix this bug. There are a few problems that need to be
resolved to allow container-based VMs to hook to ns-3 devices that do not
support bridging (the TapDevice::USE_LOCAL mode).
1) Node::RegisterProtocolHandler should not associate SupportsSendFrom() with
setting promiscuous receive hooks
2) We should have a base class NetDevice::SetAddress() method so that the
TapBridge can overwrite the ns-3-assigned Mac address at runtime
3) The TapBridge should unregister protocol handlers on the underlying device
before registering itself as a handler. This prevents duplicate Arp replies.
This is not implemented in the patch (see an XXX there)
Once these three things are fixed, I think it will work
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list