Unable to use IPFWD application suite

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to use IPFWD application suite

1,697件の閲覧回数
fahadarslan
Contributor II

ipfwd_config first asks for flow id but fails to recognize when provided. Kindly guide how to deal with this?

Thanks

Execution log

==========

root@p4080ds:/usr/etc# ipfwd_config -P 1904 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2

ERR:Route Entry Operation failed as mandatory parameters missing; --f or -f

root@p4080ds:/usr/etc# ipfwd_config -P 1904 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2 -f 1

-B: -f: (PROGRAM ERROR) Option should have been recognized!?

Try `-B --help' or `-B --usage' for more information.

root@p4080ds:/usr/etc#

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,393件の閲覧回数
fahadarslan
Contributor II

Using the modified command, route entry can be made without facing above error.

root@p4080ds:/usr/etc# ipfwd_config -P 1904 -B -s 192.168.27.2 -c 1 -d 192.168.28.2  -n 1 -g 192.168.28.2

Route Entry Added successfully

root@p4080ds:~#

where

-c count for source IP address and

-n count for destination IP address

But after following all steps, two machines connected through P4080DS are still not able to ping each other!

Any suggestions?

0 件の賞賛
返信

1,396件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

ipfwd_config is used in USDPAA IPFWD application, please check whether you missed the following steps.

1. Boot up P4080 with usdpaa device tree, and use fmc to configure FMAN policy, for example

cd /usr/etc

fmc -c us_config_serdes_0xe.xml -p us_policy_hash_ipv4_src_dst_32_fq.xml -a.

2. Setup ipfwd_app and make sure it start successfully.

ipfwd_app 1..7 -i fm1-10g,fm2-gb2

3. On the target, use ipfwd_config to add ip and routes configurations.

4. On two machine configure ip, gw, arp for gw and route information.

If your problem remains, please kindly share your Linux console log.


Have a great day,
Yiping Wang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,396件の閲覧回数
vakulgarg
NXP Employee
NXP Employee

Hi Arslan

This could be because ipfwd application does not have correct ARP entries for source and destination machines.

Can you capture the packets using tcpdump or wireshark on the port connected to destination machine and see if it is receiving ethernet pkts from P4080 with correct destination mac address?

Regards

Vakul

0 件の賞賛
返信

1,396件の閲覧回数
fahadarslan
Contributor II

Sure, let me try capturing the packets.

Thanks

0 件の賞賛
返信