I need to create virtual network interfaces on a single physical interface and need to process packets on both sides. ( receive and trasmit).

From my search I have found that , Virtual Network Interfaces Can't receive packets and we go to use other techniques like netfilter/ip tables to do so.

Could you let me know if you have any information on this topic please ?

I need to create interfaces as bellow

VNI1 ----> ETH0 ( trasmit)
ETH0 ---> VNI1 (receive).

VNI2----> ETH0

Thanks for your time