> On 19 Jan 2017, at 13:58, Damjan Marion <dmarion.li...@gmail.com> wrote:
> 
>> 
>> On 19 Jan 2017, at 00:27, Ronald van der Pol <ronald.vander...@rvdp.org> 
>> wrote:
>> 
>> On Wed, Jan 18, 2017 at 22:40:27 +0100, Damjan Marion wrote:
>> 
>>> 
>>>> On 18 Jan 2017, at 16:45, Ronald van der Pol <ronald.vander...@rvdp.org> 
>>>> wrote:
>>>> 
>>>> How can I setup a topology with multiple VPP instances? What are the
>>>> options? Preferably on 1 VM. Pointers?
>>>> 
>>>> I would like to run traffic through multiple VPPs and test with
>>>> IPv6 segment routing.
>>> 
>>> Simple, but not high-performing solution is to use native af_packet 
>>> interface.
>>> It works even with vpp_lite image. You basically need to create pair of 
>>> linux veth interfaces
>>> and then use “create host-interface name <linux-if-name>" to create vpp 
>>> interface which
>>> is attached to host veth interface.
>>> 
>>> Another option is netmap pipe. It is faster but it requires out-of-tree 
>>> kernel module.
>> 
>> Sorry, I do not understand. This is how I could create the interfaces, right?
>> But how can I start multiple VPPs on a single server (or VM)? I tried
>> running a VPP in a namespace on a VB VM, but that completely froze my Mac.
> 
> Ah, sorry, I thought basics work and you are looking for interface between 2 
> instances.
> 
> That should just work, only trick is to specify:
> 
> api-segment { prefix /unique/path }

Forgot to mention, you need to use vpp_lite, as with dpdk there will be 
collision due to hugepage mounts and other file mapped shared memory.
 
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to