[lx2160ardb_rev2] pktgen can't forward when ip_forward is enabled

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[lx2160ardb_rev2] pktgen can't forward when ip_forward is enabled

336 Views
tsungmin_wang
Contributor III

Hi,

I want to use IXIA throughput to test performance on lx2160ardb_rev2 board.

Here is my architecture, and packets are send from IXIA port 0 to IXIA port 1.

 

IXIA port 0 -------- eth1 (dpmac.17)  lx2160ardb_rev2  (dpmac.18) eth2 -------- port 1 IXIA

 


I found that even I have enabled ip_forward and not only pktgen but also ICMP packets can't be forward

from IXIA port 0 to IXIA port 1.

When I start throughput testing, only eth1 on lx2160ardb_rev2 can receive packets, it doesn't

forward the packets to eth2 on lx2160ardb_rev2 to send to IXIA port 1.

 

This situation is same when I use ICMP or pktgen to send packets from Host port 0 to send to Host port 1.

 

Host port 0 -------- eth1 (dpmac.17)  lx2160ardb_rev2  (dpmac.18) eth2 -------- port 1 Host

 

ICMP packets and generated packets by pktgen are just received and not forwarded on lx2160ardb_rev2.

Here is the setting

 

lx2160ardb_rev2
eth1, 192.168.0.1
eth2, 192.168.1.1

Host
port 0 (eth0), 192.168.0.100
port 1 (eth1), 192.168.1.100

ip route add default via 192.168.0.1 dev eth0

 

 

What should I do to make the board to forward the packets?

Thanks.

 

0 Kudos
0 Replies