[j-nsp] BGP EVPN, VXLAN and ECMP

adamv0025 at netconsultings.com adamv0025 at netconsultings.com
Thu Mar 29 10:36:17 EDT 2018


Ok so you have the FIB level load-sharing enabled 
Do you have BGP multipath configured with the multiple-as option too?
set protocols bgp group foo123 multipath multiple-as

-Though from the outputs it seem like everything is set up right.
You have the same metric2 (cause ebgp) so should be fine.
And the next-hop is copied form the inactive route to active one.

adam

netconsultings.com
::carrier-class solutions for the telecommunications industry::

> -----Original Message-----
> From: juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf
> Of Vincent Bernat
> Sent: Thursday, March 29, 2018 12:01 PM
> To: juniper-nsp at puck.nether.net
> Subject: Re: [j-nsp] BGP EVPN, VXLAN and ECMP
> 
>  ❦ 29 mars 2018 12:22 +0200, Sebastian Wiesinger <sebastian at karotte.org> :
> 
> >> # run show route 10.16.39.3
> >>
> >> inet.0: 240 destinations, 1808 routes (240 active, 0 holddown, 0
> >> hidden)
> >> + = Active Route, - = Last Active, * = Both
> >>
> >> 10.16.39.3/32      *[BGP/140] 00:38:24, localpref 500, from 10.64.0.5
> >>                       AS path: I, validation-state: unverified
> >>                       to 10.64.0.23 via xe-0/0/46.181
> >>                     > to 10.64.128.23 via xe-0/0/47.183
> >
> > Can you do a 'run show route 10.16.39.3 extensive'?
> 
> Here is the full output. There are two selected paths (and two additional
> paths which are not used due to lower preference).
> 
> vbe at net-connect001.gv2> show route 10.16.39.3 extensive
> 
> inet.0: 236 destinations, 908 routes (236 active, 0 holddown, 0 hidden)
> 10.16.39.3/32 (4 entries, 1 announced)
> TSI:
> KRT in-kernel 10.16.39.3/32 -> {list:indirect(131094), indirect(131205)}
>         *BGP    Preference: 140/-501
>                 Next hop type: Indirect, Next hop index: 0
>                 Address: 0xb21c210
>                 Next-hop reference count: 3
>                 Source: 10.64.0.5
>                 Next hop type: Router, Next hop index: 1885
>                 Next hop: 10.64.0.23 via xe-0/0/46.181
>                 Session Id: 0x0
>                 Next hop type: Router, Next hop index: 1767
>                 Next hop: 10.64.128.23 via xe-1/0/47.183, selected
>                 Session Id: 0x0
>                 Protocol next hop: 10.64.0.23
>                 Indirect next hop: 0xc5ceb00 131205 INH Session ID: 0x0
>                 Protocol next hop: 10.64.128.23
>                 Indirect next hop: 0xc5b8780 131094 INH Session ID: 0x0
>                 State: <Active Int Ext>
>                 Local AS: 65199 Peer AS: 65098
>                 Age: 2:15:52    Metric2: 0
>                 Validation State: unverified
>                 Task: BGP_65098_65098.10.64.0.5
>                 Announcement bits (4): 0-KRT 2-BGP_Listen.0.0.0.0+179 4-Resolve
> tree 2 6-Resolve tree 3
>                 AS path: I (Originator)
>                 Cluster list:  10.64.0.0
>                 Originator ID: 100.64.0.23
>                 Accepted Multipath
>                 Localpref: 500
>                 Router ID: 10.64.0.5
>                 Indirect next hops: 2
>                         Protocol next hop: 10.64.0.23
>                         Indirect next hop: 0xc5ceb00 131205 INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.0.23 via xe-0/0/46.181
>                                 Session Id: 0x0
>                         10.64.0.0/18 Originating RIB: inet.0
>                           Node path count: 1
>                           Forwarding nexthops: 1
>                                 Next hop type: Interface
>                                 Nexthop: via xe-0/0/46.181
>                         Protocol next hop: 10.64.128.23
>                         Indirect next hop: 0xc5b8780 131094 INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.128.23 via xe-1/0/47.183
>                                 Session Id: 0x0
>                         10.64.128.0/18 Originating RIB: inet.0
>                           Node path count: 1
>                           Forwarding nexthops: 1
>                                 Next hop type: Interface
>                                 Nexthop: via xe-1/0/47.183
>          BGP    Preference: 140/-501
>                 Next hop type: Indirect, Next hop index: 0
>                 Address: 0xb3a3730
>                 Next-hop reference count: 2
>                 Source: 10.64.128.4
>                 Next hop type: Router, Next hop index: 1767
>                 Next hop: 10.64.128.23 via xe-1/0/47.183, selected
>                 Session Id: 0x0
>                 Protocol next hop: 10.64.128.23
>                 Indirect next hop: 0xc5b8780 131094 INH Session ID: 0x0
>                 State: <NotBest Int Ext>
>                 Inactive reason: Not Best in its group - Cluster list length
>                 Local AS: 65199 Peer AS: 65098
>                 Age: 2:16:00    Metric2: 0
>                 Validation State: unverified
>                 Task: BGP_65098_65098.10.64.128.4
>                 AS path: I (Originator)
>                 Cluster list:  10.64.128.1 10.64.128.0
>                 Originator ID: 100.64.0.23
>                 Accepted MultipathContrib
>                 Localpref: 500
>                 Router ID: 10.64.128.4
>                 Indirect next hops: 1
>                         Protocol next hop: 10.64.128.23
>                         Indirect next hop: 0xc5b8780 131094 INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.128.23 via xe-1/0/47.183
>                                 Session Id: 0x0
>                         10.64.128.0/18 Originating RIB: inet.0
>                           Node path count: 1
>                           Forwarding nexthops: 1
>                                 Next hop type: Interface
>                                 Nexthop: via xe-1/0/47.183
>          BGP    Preference: 140/-101
>                 Next hop type: Indirect, Next hop index: 0
>                 Address: 0xb3a4ff0
>                 Next-hop reference count: 1
>                 Source: 10.64.64.5
>                 Next hop type: Router, Next hop index: 0
>                 Next hop: 10.64.64.23 via xe-0/0/46.182, selected
>                 Session Id: 0x0
>                 Protocol next hop: 10.64.64.23
>                 Indirect next hop: 0xc5dae00 - INH Session ID: 0x0
>                 State: <Int Ext Changed>
>                 Inactive reason: Local Preference
>                 Local AS: 65199 Peer AS: 65098
>                 Age: 2:15:48    Metric2: 0
>                 Validation State: unverified
>                 Task: BGP_65098_65098.10.64.64.5
>                 AS path: I (Originator)
>                 Cluster list:  10.64.64.0
>                 Originator ID: 100.64.0.23
>                 Accepted
>                 Localpref: 100
>                 Router ID: 10.64.64.5
>                 Indirect next hops: 1
>                         Protocol next hop: 10.64.64.23
>                         Indirect next hop: 0xc5dae00 - INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.64.23 via xe-0/0/46.182
>                                 Session Id: 0x0
>                         10.64.64.0/18 Originating RIB: inet.0
>                           Node path count: 1
>                           Forwarding nexthops: 1
>                                 Next hop type: Interface
>                                 Nexthop: via xe-0/0/46.182
>          BGP    Preference: 140/-101
>                 Next hop type: Indirect, Next hop index: 0
>                 Address: 0xb3b6cf0
>                 Next-hop reference count: 1
>                 Source: 10.64.192.4
>                 Next hop type: Router, Next hop index: 0
>                 Next hop: 10.64.192.23 via xe-1/0/47.184, selected
>                 Session Id: 0x0
>                 Protocol next hop: 10.64.192.23
>                 Indirect next hop: 0xc5ce380 - INH Session ID: 0x0
>                 State: <NotBest Int Ext>
>                 Inactive reason: Not Best in its group - Cluster list length
>                 Local AS: 65199 Peer AS: 65098
>                 Age: 2:15:56    Metric2: 0
>                 Validation State: unverified
>                 Task: BGP_65098_65098.10.64.192.4
>                 AS path: I (Originator)
>                 Cluster list:  10.64.192.1 10.64.192.0
>                 Originator ID: 100.64.0.23
>                 Accepted
>                 Localpref: 100
>                 Router ID: 10.64.192.4
>                 Indirect next hops: 1
>                         Protocol next hop: 10.64.192.23
>                         Indirect next hop: 0xc5ce380 - INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.192.23 via xe-1/0/47.184
>                                 Session Id: 0x0
>                         10.64.192.0/18 Originating RIB: inet.0
>                           Node path count: 1
>                           Forwarding nexthops: 1
>                                 Next hop type: Interface
>                                 Nexthop: via xe-1/0/47.184
> 
> :vxlan.inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
> 
> 10.16.39.3/32 (1 entry, 1 announced)
> TSI:
> KRT in-kernel 10.16.39.3/32 -> {indirect(131457)}
>         *Static Preference: 1
>                 Next hop type: Indirect, Next hop index: 0
>                 Address: 0xb3c9bf0
>                 Next-hop reference count: 2
>                 Next hop type: Router, Next hop index: 1767
>                 Next hop: 10.64.128.23 via xe-1/0/47.183, selected
>                 Session Id: 0x0
>                 Protocol next hop: 10.16.39.3
>                 Indirect next hop: 0xc5e6c80 131457 INH Session ID: 0x0
>                 State: <Active Int NSR-incapable VxlanLocalRT>
>                 Age: 2:15:47    Metric2: 0
>                 Validation State: unverified
>                 Task: RPD Unix Domain Server./var/run/rpd_serv.local
>                 Announcement bits (1): 0-KRT
>                 AS path: I
>                 Indirect next hops: 1
>                         Protocol next hop: 10.16.39.3 Metric: 0
>                         Indirect next hop: 0xc5e6c80 131457 INH Session ID: 0x0
>                         Indirect path forwarding next hops: 1
>                                 Next hop type: Router
>                                 Next hop: 10.64.128.23 via xe-1/0/47.183
>                                 Session Id: 0x0
>                         10.16.39.3/32 Originating RIB: inet.0
>                           Metric: 0                       Node path count: 2
>                           Indirect nexthops: 2
>                                 Protocol Nexthop: 10.64.0.23
>                                 Indirect nexthop: 0xc5ceb00 131205 INH Session ID: 0x0
>                                  Path forwarding nexthops link: 0xd135a38
>                                  Path inh link: 0x0
>                                 Indirect path forwarding nexthops: 1
>                                         Nexthop: 10.64.0.23 via xe-0/0/46.181
>                                         Session Id: 0
>                                 10.64.0.0/18 Originating RIB: inet.0
>                                   Node path count: 1
>                                   Forwarding nexthops: 1
>                                         Next hop type: Interface
>                                         Nexthop: via xe-0/0/46.181
>                                 Protocol Nexthop: 10.64.128.23
>                                 Indirect nexthop: 0xc5b8780 131094 INH Session ID: 0x0
>                                  Path forwarding nexthops link: 0xd127210
>                                  Path inh link: 0x0
>                                 Indirect path forwarding nexthops: 1
>                                         Nexthop: 10.64.128.23 via xe-1/0/47.183
>                                         Session Id: 0
>                                 10.64.128.0/18 Originating RIB: inet.0
>                                   Node path count: 1
>                                   Forwarding nexthops: 1
>                                         Next hop type: Interface
>                                         Nexthop: via xe-1/0/47.183
> --
> Clothes make the man.  Naked people have little or no influence on society.
> 		-- Mark Twain
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list