vpp with router plugin + FRRouting


Justin Iurman <justin.iurman@...>
 

Hi folks,

I'm working with multiple VPP instances on a same (virtual) machine, in order to simulate a topology. Now, I'd like to simulate a topology between ASes with BGP. For that, I followed the process described on this page [1], which is for one single VPP instance running on the virtual machine. The hardest part is to tell FRRouting to run in multiple-instance mode (or something similar, I think). I created namespaces for ASes (including hosts) while routers are VPP instances (with the router plugin from the VPP Sandbox).

My question is... Is it possible to use FRR (BGP, actually) with multiple VPP instances on a same machine ? I get the whole thing about VRF etc on FRR/Quagga documentation, but how does it work in order to integrate things with multiple VPP instances ? I can't use VRF (at least, I think so), since VPP instances (my routers) are NOT running in namespaces. Also, how does FRR know how to communicate (do they?) with VPP instances ? The same question could be applied to the VPP+BIRD alternative [2].

In attachment, for those who want (or if it helps understanding the use case), you will find a graphical representation of the topology as well as a script that sets the topology up.

Thanks for your help.
Cheers,

Justin

[1] https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes:-VPP
[2] https://wiki.fd.io/view/VPP_Sandbox/router


Justin Iurman <justin.iurman@...>
 

[Re-sending with attachment .sh -> .txt to avoid being blocked]

Hi folks,

I'm working with multiple VPP instances on a same (virtual) machine, in order to simulate a topology. Now, I'd like to simulate a topology between ASes with BGP. For that, I followed the process described on this page [1], which is for one single VPP instance running on the virtual machine. The hardest part is to tell FRRouting to run in multiple-instance mode (or something similar, I think). I created namespaces for ASes (including hosts) while routers are VPP instances (with the router plugin from the VPP Sandbox).

My question is... Is it possible to use FRR (BGP, actually) with multiple VPP instances on a same machine ? I get the whole thing about VRF etc on FRR/Quagga documentation, but how does it work in order to integrate things with multiple VPP instances ? I can't use VRF (at least, I think so), since VPP instances (my routers) are NOT running in namespaces. Also, how does FRR know how to communicate (do they?) with VPP instances ? The same question could be applied to the VPP+BIRD alternative [2].

In attachment, for those who want (or if it helps understanding the use case), you will find a graphical representation of the topology as well as a script that sets the topology up.

Thanks for your help.
Cheers,

Justin

[1] https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes:-VPP
[2] https://wiki.fd.io/view/VPP_Sandbox/router