Closed laybatin closed 6 years ago
Hi @laybatin,
I am sorry for the delayed response. Unfortunately we don't have any API function that allows mOS application developer to prevent src MAC address change. However, you can easily retain the MAC address if you can change the logic within the mOS core stack. Function EthernetOutput() is where the source MAC address is overwritten. You can use pctx->p.ethh->h_source[i]
instead of dst_haddr
so that you can retain the source MAC address. Let me know if you still see any issues. I can then try to test out this change in my own testbed.
It's very nice Thank you
I am building and testing an in-line environment. Like this image(http://www.ndsl.kaist.edu/mos_guide/_images/midstat_inline.png) I'm running sample progam is midstat
Is it possible to maintain MAC Address in an Inline configuration environment?
Client MAC Address is replaced with the MAC Address of the host Can you prevent replace?