From: Charlie Li <charlie.li@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] How to test l3fwd?
Date: Wed, 20 Jul 2016 15:02:52 -0500 [thread overview]
Message-ID: <CAO=HJQNk2R6P4yFOo1ttRYw7XmL+dq8hvtBUnGVm73vB7gdWyQ@mail.gmail.com> (raw)
Hello,
My setup is dpdk-2.2.0 on Fedora 23 Server with kernel 4.5.7.
I have been testing L2 throughput with l2fwd and an Ixia traffic generator.
It works as expected.
Command: ./l2fwd -c 0xf -n 4 -- -p 0x3
Ixia traffic: MAC (Ethernet frames)
Now I am moving to test L3 throughput with l3fwd, but cannot start traffic
from Ixia
Command: ./l3fwd -c 0xf -n 4 -- -p 0x3 --config="(0,0,2)(1,0,3)"
Ixia traffic: IPv4 (IP packets)
My question is:
What are the IP addresses of the two ports?
"LPM: Adding route 0x01010100 / 24 (0)
LPM: Adding route 0x02010100 / 24 (1)"
Does it mean the IP addresses are 1.1.1.0 (netmask 255.255.255.0) for port0
and 2.1.1.0 (netmask 255.255.255.0) for port1?
I set up the following two flows, but Ixia complains "unreachable"
Flow1: Ixia PortA (1.1.1.100) -> DPDK Port0 (1.1.1.0) .........(l3fwd)
........ DPDK Port1 (2.1.1.0) -> Ixia PortB (2.1.1.100)
Src IP: 1.1.1.100; Dst IP: 2.1.1.100; Gateway: 1.1.1.0
Flow2: Ixia PortB (2.1.1.100) -> DPDK Port1 (2.1.1.0) .........(l3fwd)
........ DPDK Port0 (1.1.1.0) -> Ixia PortA (1.1.1.100)
Src IP: 2.1.1.100; Dst IP: 1.1.1.100; Gateway: 2.1.1.0
Thanks,
Charlie
next reply other threads:[~2016-07-20 20:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-20 20:02 Charlie Li [this message]
2016-07-20 20:06 ` Charlie Li
2016-07-23 1:18 ` Charlie Li
2016-07-27 17:51 ` Vincent Li
2016-07-27 20:42 ` Vincent Li
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='CAO=HJQNk2R6P4yFOo1ttRYw7XmL+dq8hvtBUnGVm73vB7gdWyQ@mail.gmail.com' \
--to=charlie.li@gmail.com \
--cc=users@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).