[dpdk-dev] Where is rule_ipv4.db and rule_ipv6.db for l3pwd-acl example?

Liu, Yong yong.liu at intel.com
Wed Apr 15 16:16:37 CEST 2015


Hi,
These rules parse failure for missing blank space between the start and end of port. Looks like user guide shown us the wrong format:)
L3fwd-acl sample will request at least one route rule. You can just add one simple rule as below which forward all packets to port0.

-bash-4.3# cat rule_ipv4.db
R0.0.0.0/0 0.0.0.0/0 0 : 65535 0 : 65535 0x00/0x00 0
-bash-4.3# cat rule_ipv6.db
R0:0:0:0:0:0:0:0/0 0:0:0:0:0:0:0:0/0 0 : 65535 0 : 65535 0x00/0x00 0

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ???
> Sent: Wednesday, April 15, 2015 10:40 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Where is rule_ipv4.db and rule_ipv6.db for l3pwd-acl
> example?
> 
> Hi,
> I can`t find the rule format files (rule_ipv4.db and rule_ipv6.db) so I
> can`t run the access control example.
> 
> I wrote my own rule file based on rule file example in the sample app
> document, but the example stopped saying that "Cause: ./ipv4.txt Line 1:
> parse rules error".
> My rule file likes below:
> @1.2.3.0/24 192.168.0.36/32 0:65535 0:65535 6/0xfe 0
> R0.0.0.0/0  192.168.0.36/32 0:65535 0:65535 6/0xfe 1
> R0.0.0.0/0  0.0.0.0/0       0:65535 0:65535 6/0xfe 0
> 
> what`s wrong with my rule file? and where is the example rule files?


More information about the dev mailing list