Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Tool to allow user to run TCPUMP on interface #205

Closed
brahmastra2016 opened this issue Aug 28, 2017 · 2 comments
Closed

Create a Tool to allow user to run TCPUMP on interface #205

brahmastra2016 opened this issue Aug 28, 2017 · 2 comments
Labels

Comments

@brahmastra2016
Copy link

VFD take away the capability of running TCPDUMP , which i think is a MUST have function while trying to troubleshoot.

@azelezniak
Copy link
Collaborator

Debugging SR-IOV devices have always been challenging, and are working on VFd enhancements to allow troubleshooting easier.

@ScottDaniels
Copy link
Contributor

It's not VFd, but a function of the DPDK driver which is bound to the VF.

Now that mirroring has been added to VFd, it is possible to turn on mirroring for a VF (inbound packets, outbound packets, or both) with the mirrored packets directed to another VF on the same PF. If a guest is started and attached to the VF receiving the mirrored packets, tcpdump (or other sniffer application) can be used in the guest to see the packets which were received and/or sent to the VF in question.

It should be noted that packets which are received, but cannot be delivered to the VF (incorrect VLAN or MAC) will not be mirrored, and only packets that are not dropped by the NIC on transmit (spoofed packets) are mirrored.

There is more detail in the various documents on the wiki with regard to debugging and specifically that cover how to set up and mirror traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants