From: Daeyoung Kim <kdy1029@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK packet capture question
Date: Sun, 21 Jun 2015 20:09:44 -0400 [thread overview]
Message-ID: <CAOFzDNyt-T=uDtPq1QYM3w64niEBuvy5rLK=1Rxun2L0UM0Uww@mail.gmail.com> (raw)
Hello,
I am a newbie to DPDK. I'm making a packet capture program from the l3fwd
sample application. When I tested my program in a virtual environment, it
worked. But in a real world, it does not work correctly. In the virtual
environment, there are 3 VMs. VM1 sends DNS packets to VM3 and VM3 also
replies to VM1. VM2 as DPDK promiscuous mode captures the packets. In this
settings, the port 0 receives all the packets, but the port 1 receives
nothing. I want to get all the packets on both ports, but anyway it's fine.
Now, in the real world, a client sends DNS packets to a DNS server, but
between them, there are 3 switches. The DPDK port 0 is connected to the
switch 1 and the port 1 is connected the switch 3. The port 0 receives only
DNS queries and the port 1 receives only DNS responses. I use Intel I-350
NIC. The network looks like below.
CLIENT -> SWITCH1 -> SWITCH2 -> SWITCH3 -> DNS
|
|
PORT 0 PORT 1
I don't know how to fix it. When I tested with WireShark, it received both
packets on both ports.
Do you have any idea? Am I missing something?
Thank you very much in advance.
Dan
next reply other threads:[~2015-06-22 0:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-22 0:09 Daeyoung Kim [this message]
2015-06-22 2:40 ` Matthew Hall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOFzDNyt-T=uDtPq1QYM3w64niEBuvy5rLK=1Rxun2L0UM0Uww@mail.gmail.com' \
--to=kdy1029@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).