Hi guys ,

Use case that I am trying to achieve is :

IP packet from IP  <src/dst/proto> should be forwarded to certain node.
Looking at different mail chains discussed on vpp forum I thought
classifier can be used for same.

Hence tried below configuration :

My setup :
-----------


|     |                    |                   |
| VPP |GEth<---------->GEth| Traffic generator |
|     |182.16.1.1          182.161.1.2
       <-----------------[IP packet : src 11.11.11.1]        |

My configuation :

All packets coming with ip address 11.11.11.1 as a source address should be
forwarded to
"error-node"
Configuration I did for this is :


set interface ip address GigabitEthernet1/10/0 182.16.1.1/24
set interface mtu 1500 GigabitEthernet1/10/0
set interface state  GigabitEthernet1/10/0  up

classify table mask l3 ip4 src
classify session hit-next node error-drop table-index 0 match l3 ip4 src
11.11.11.1


With above config packets are folowing there normal path (checked with
dpdk-input trace)

I could see in vlib graph next node for ip4-classifier is added as
error-drop.

Just to hookup classifier did following config:
set int input acl intfc GigabitEthernet1/10/0 ip4-table 0.
It didnt work.


Any idea how to hook this ip4-classifier in ip4-lookup as from ip4-lookup
node packet is not getting forwarded to ip4-classifier
 am I missing some configuration here or classifier can not be used for use
case I am looking for?

Thanks,
Bindiya
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to