No, labels are property of the source of the route. Source is free to choose any value. We restrict it to smaller value so that it is direct index lookup for performance.
There are many cases but above is true in case of contrail. Regards -Harshad > On Jun 27, 2016, at 10:34 PM, kevin parrikar <[email protected]> > wrote: > > Thanks for the very good explanation... > i have one more doubt here could you explain that > >> Since there is no central authority to allocate labels it scales well. > > isn't controller which allocates labels > > > >> On Mon, Jun 27, 2016 at 7:18 PM, Harshad Nakil <[email protected]> wrote: >> MPLS label is local to compute node (or source of the route (from SDN GW)). >> It represents what happens to packet once it reaches the compute node (MPLS >> label represents “next-hop” in the vrouter). Most of the time it represents >> tap interface in the compute node. >> Since there is no central authority to allocate labels it scales well. >> >> Regards >> -Harshad >> >> > On Jun 27, 2016, at 5:04 PM, mad Engineer <[email protected]> wrote: >> > >> > I don't see any forwarding issues,things are working,i am trying to >> > understand how this is achieved :) >> > >> > On Mon, Jun 27, 2016 at 4:03 PM, Harshad Nakil <[email protected]> wrote: >> >> It is okay if >> >> 1. two ip(s) belong to same interface(port). >> >> or >> >> 2. two ip(s) are on different compute node. >> >> >> >> Are you seeing any forwarding issues? Until I know your specific case I >> >> cannot comment. >> >> >> >> >> >> Regards >> >> -Harshad >> >> >> >> >> >>> On Jun 27, 2016, at 10:43 AM, mad Engineer <[email protected]> >> >>> wrote: >> >>> >> >>> Harshad i understand that mpls labels will be unique per compute >> >>> node,but here in my setup i see 2 ip address with same MPLS label,do >> >>> you have any idea on that. >> >>> >> >>> On Tue, Jun 7, 2016 at 2:22 PM, mad Engineer <[email protected]> >> >>> wrote: >> >>>> Thanks that answers my question >> >>>> >> >>>> On Mon, Jun 6, 2016 at 10:20 PM, Harshad Nakil <[email protected]> wrote: >> >>>>> MPLS labels are unique for given compute node. Can be reused in >> >>>>> different compute. >> >>>>> >> >>>>> Regards >> >>>>> -Harshad >> >>>>> >> >>>>> >> >>>>>> On Jun 6, 2016, at 7:34 PM, mad Engineer <[email protected]> >> >>>>>> wrote: >> >>>>>> >> >>>>>> hello All, >> >>>>>> I have 4 compute nodes with contrail 2.20 >> >>>>>> >> >>>>>> On my compute node i noticed that MPLS label is same for two >> >>>>>> interfaces,i was under the impression that each interface will be with >> >>>>>> unique label but thats not always the case.Can you tell me when will >> >>>>>> interfaces will be in same MPLS and when not.Thanks for any help . >> >>>>>> >> >>>>>> _______________________________________________ >> >>>>>> Users mailing list >> >>>>>> [email protected] >> >>>>>> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
