Assuming that you’re using an IRB config: I’d suggest using the ip input feature arc; enable the feature on the IRB loopback interface and off you go.
FYI: we’re planning a significant rework of the L2 feature path. I’m guessing that you don’t care about intercepting 192.168.1.10 tcp -> 192.168.1.11 tcp dst=5000 D. From: [email protected] [mailto:[email protected]] On Behalf Of John Pearson Sent: Wednesday, February 8, 2017 5:36 PM To: Pierre Pfister (ppfister) <[email protected]> Cc: [email protected] Subject: Re: [vpp-dev] classify and redirect to tap @Dave Every packet from any/all clients aimed at tcp 5000. Basically this would be like a proxy server. Client 1 (192.168.1.10) ---> dst_port=5000, dst_addr=customdomain.com<http://customdomain.com> ---> vpp intercept ---> redirects ---> tap interface ---> server listening on linux stack (192.168.1.3) @Pierre Thank. I will take a look at the plugin. On Wed, Feb 8, 2017 at 2:14 PM, Pierre Pfister (ppfister) <[email protected]<mailto:[email protected]>> wrote: Hello John, IIRC tap inject is in VPP Sandbox "router" sub-project. It is an experimental plugin allowing for doing what you are looking for. It was intended to provide a way to run a routing protocol in linux and reflect the result into VPP. I don't know if it still compiles, but it definitely would be useful to have someone updating it. Cheers, - Pierre > Le 7 févr. 2017 à 06:56, John Pearson > <[email protected]<mailto:[email protected]>> a écrit : > > Hi, I am trying to send/redirect outgoing tcp port 5000 traffic to tap device. > > I found another thread mention “tap inject” but couldn’t find any > documentation on it and “inject” is an unknown input in vpp CLI. > > Any advice? > _______________________________________________ > vpp-dev mailing list > [email protected]<mailto:[email protected]> > https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
