Depends on what do you expect from packet generator. I personally map physical NIC VF into container and use them to feed packets in from remote T-Rex box. You can also use VPP packet-generator to play PCAP file or craft packets and send them to memif interface, but I wold not expect great performance. Latest option would be to use libmemif to write own packet-generator code.....
-- Damjan > On 29 Jun 2018, at 16:30, chakravarthy.arise...@viasat.com wrote: > > Hi Damjan, > > Thanks for reply. > > You correctly pointed out my mistake. I was not mapping host-container > filesystem for the socket communication. > After launch container with the option (-v "/run/vpp/:/run/vpp/" or -v > "/tmp:/tmp"), it started working. > > On the similar line, I'd like ask one more question. > > Do you know if there Is an existing packet generator with memif interface? > I'd like to send packets from container with memif from host1 to container in > host2. I'm trying hard to find an existing packet generator with memif. > Attaching my topology. > > Can you guide me or suggest an alternative option? > > Thanks again for your time to respond. > > Regards, > Chakri <Screen Shot 2018_06_29 at 7.25.34 AM.png>-=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#9744): https://lists.fd.io/g/vpp-dev/message/9744 > Mute This Topic: https://lists.fd.io/mt/22892000/675642 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [dmar...@me.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9745): https://lists.fd.io/g/vpp-dev/message/9745 Mute This Topic: https://lists.fd.io/mt/22892000/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-