Hi,

We are plan to implement application based on VPP with following architecture. 
The application is running on container. All traffic will be received by 
physical NIC take over by VPP via DPDK. Data plane traffic will be handled by 
nodes developed by ourselves, and control plane traffic should be sent to or
from Linux socket.
[cid:image001.png@01D3B17D.8ACF8300]

Looks there are plenty of method on VPP can forward traffic with Kernel:

  1.  Using tuntap with: enable tuntap in startup.conf and configure "set punt 
udp"
It works, but only packet received from interface belong to IP table 0 will be 
send to Linux. VRF is not supported by tuntap. What is t

  1.  Using stn plugin. UDP packet can not handle by VPP but match STN rule 
will be sent to Linux via tap interface, but the ethernet header is hardcoded. 
The packet is able be captured by tcpdump, but will not arrive on socket layer. 
Looks it is been droped because of wrong MAC address. Then what is the use case 
of stn?
  2.  Using ip punt redirect via tap device. We have do simple test on it and 
looks vpp is plan to send arp to kernel via node ip4-arp. I just want check 
what is the standard use case of "ip punt redirect"? Is there any standard 
sample based on punt redirect?

In general, we have another question, is there any other method can fulfill our 
requirement with VRF support in vpp?

BR/Lollita Liu

Reply via email to