[dpdk-users] How to test l3fwd?
Charlie Li
charlie.li at gmail.com
Wed Jul 20 22:02:52 CEST 2016
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
More information about the users
mailing list