Route targets are used in the typical manner of MPLS networks to define network reachability, but you only have to specify them explicitly when you interoperate with BGP routers that are not under Contrail's control. It's not a matter of physical vs virtual. Any non-Contrail router that you're using, whether physical or virtual would need to be configured with matching route targets in order to exchange routes with Contrail. Contrail also uses route targets for vRouter to vRouter networking but it manages them internally so you don't have to explicitly allocate and configure them.
Generally you'll want at least one gateway between your Contrail networks and all the rest of the world (whether that's the Internet or one or more private networks whether WAN or LAN), so you'll want to coordinate what route target(s) to use between Contrail and that gateway. The gateway itself could be either a physical router or a virtual router running on server type hardware depending on your performance needs. -----Original Message----- From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Valentine Sinitsyn Sent: Tuesday, October 17, 2017 09:10 To: Anda Nicolae <anico...@lenovo.com>; dev@lists.opencontrail.org Subject: Re: [opencontrail-dev] Contrail Route Targets Hi Anda, I think so. Contrail uses BGP as the control plane internally, so it's not too different from physical routers in this sense. Valentine On 17.10.2017 17:53, Anda Nicolae wrote: > Hi all, > > I am trying to understand how Route Targets are used in Contrail. > > I've observed that Route Targets are used only in conjunction with > physical routers that run BGP. Is this a valid observation? > > Thanks, > > Anda > > > > _______________________________________________ > Dev mailing list > Dev@lists.opencontrail.org > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail > .org_mailman_listinfo_dev-5Flists.opencontrail.org&d=DwICAg&c=LFYZ-o9_ > HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=5lchUe0VFgaFZHFMM2UILB1qfK3n > jsCEAuLzz8Km0rU&s=dyhxnJLgNfTCAERTz4HfdBr322b25eM5lE8o0ik1wA8&e= > _______________________________________________ Dev mailing list Dev@lists.opencontrail.org https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=5lchUe0VFgaFZHFMM2UILB1qfK3njsCEAuLzz8Km0rU&s=dyhxnJLgNfTCAERTz4HfdBr322b25eM5lE8o0ik1wA8&e= _______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org