Hello all,
I'm trying to use the LX2160ARDB as a router but I can't manage to have ip forwarding working.
I'm using the setup in attached files.
The traffic generator sends frames with the following properties:
- ip src=192.85.1.3
- ip dst = 192.85.2.3
- mac src=00:10:94:00:00:01
- mac dst = 00:10:94:00:00:02
- protocol udp
- size 1400 bytes
I use the following commands on LX2160:
ls-addni -nq=16 -t=8 dpmac.3 //creates eth2
ls-addni -nq=16 -t=8 dpmac.4 //creates eth3
ifconfig eth2 hw ether 00:E0:0C:00:77:01
ifconfig eth2 192.85.1.1/24 up
ifconfig eth3 hw ether 00:E0:0C:00:77:02
ifconfig eth3 192.85.2.1/24 up
arp -s 192.85.1.3 00:10:94:00:00:01
arp -s 192.85.2.3 00:10:94:00:00:02
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/conf/all/forwarding
I see the frames arriving on eth2 but they are never transmitted to eth3 and back to the generator.
using restool dpni, I see that the frames arrive on interface as "ingress_filtered_frames" increases.
Does someone know why is traffic not sent to the other interface as ip forward should do?
Thanks,