Route Test in S32G274evb using libfci_cli Application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Route Test in S32G274evb using libfci_cli Application

1,602 次查看
Shyamsunder
Contributor I

Hello Community,

 

We are trying to test the routing feature in the S32G274evb with BSP30.0 version using the libfci_cli application, but we were unable to route the data using this feature.

Below are the steps we followed for the testing:

1. Created a routing table by this command

libfci_cli route-add --rt 1 --ip4 --dmac 00:01:be:be:ef:22 --interface=emac1 --smac 00:01:be:be:ef:33

2. ConnTrack:

libfci_cli   cntk-add --protocol=IPv4 --src=192.168.xx.yy --dst=192.168.xx.yy --sport=8086 --dport=8086 --rt=1

3. Emac1 is set to ROUTER mode from default mode

4. Ran the server/client (socket programming) application.

 

We are unable to find whether the routing table is being used or not. The data is not routed from Emac1 to another Emac.

Could you please provide any suggestions..

 

Thanks in advance...

Best Regards,

Shyamsunder Komma

 

 

  

 

 

 

 

0 项奖励
回复
3 回复数

1,587 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Have you taken a look into the AN12951 available on the S32G2 product page (link: S32G2 Safe and Secure Vehicle Network Processor | NXP Semiconductors)? The AN describes how to set-up a routing table for a fast-path with an example HW set-up.

As to know which table entries have been created, the following command should provide this information:

"./pfe_rte ls"

Please, let us know.

0 项奖励
回复

1,581 次查看
Shyamsunder
Contributor I

Hi Daniel,

Thanks for the quick reply.

Yes, we have gone through the document AN12951, but where we can get the source code and binary file (BSP30.0) for "pfe_rte".

 

Best Regards,

Shyamsunder Komma

0 项奖励
回复

1,572 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

This is provided on the AN12951SW available under the same section that AN12951 is available. You can filter it by "Application Note Software".

DanielAguirre_0-1679423354271.png

 

Please, let us know.

0 项奖励
回复