Hi, I suppose the packet is destined to one of the VPP interface IPs as it ends up on ip4-local. In that case you're looking for punting: https://fd.io/docs/vpp/master/gettingstarted/developers/punt.html
Best ben > -----Original Message----- > From: [email protected] <[email protected]> On Behalf Of Vijay Kumar > Sent: vendredi 12 février 2021 09:35 > To: vpp-dev <[email protected]> > Subject: [vpp-dev] Dropped packets when trying to send packet recvd on > memif over the VirtualEthernet interface > > Hi, > > > From my application, I received a protocol pkt (IKE) to my graph node via > memif. This plugin is now supposed to send this pkt out towards the > strongswan peer. In the graph node, I had the next node to IP4-lookup. > I observed that the pkt doesnt go out. It is dropped in "error-drop" graph > node with reason "UNKNOWN PROTOCOL". The previous node for error-drop was > ip4-local. > > > The show trace command shows a drop in memif rx interface > > > It looks like we need to put the pkt received on memif to the north-south > interface which is the veth interface to be able to send out. This is > missing in my code. > > > Is there any way where I can divert the protocol packet received on memif > and send it out on the virtual ethernet interface (on the wire)? > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18736): https://lists.fd.io/g/vpp-dev/message/18736 Mute This Topic: https://lists.fd.io/mt/80579229/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
