* Unable to add v6 multipath route with same nexthops but different MPLS labels
@ 2017-07-05 15:39 Lennert Buytenhek
2017-07-05 17:15 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Lennert Buytenhek @ 2017-07-05 15:39 UTC (permalink / raw)
To: David Ahern, Robert Shearman, Roopa Prabhu; +Cc: netdev
Hi!
FWIW, this doesn't work:
# ip -6 route add 1234::/16 \
nexthop encap mpls 10 via fe80::1 dev ens3 \
nexthop encap mpls 20 via fe80::1 dev ens3
RTNETLINK answers: File exists
While this does:
# ip -6 route chg 1234::/16
nexthop encap mpls 10 via fe80::1 dev ens3
nexthop encap mpls 20 via fe80::2 dev ens3
# ip -6 route
1234::/16 encap mpls 10 via fe80::1 dev ens3 metric 1024 pref medium
1234::/16 encap mpls 20 via fe80::2 dev ens3 metric 1024 pref medium
[...]
ECMPing over different LSPs that share a nexthop router seems like a
legitimate use case to me. Is this restriction intentional or just an
accident? (The same thing works fine in v4 land, where multipath
routes are handled differently.)
Thanks in advance!
Cheers,
Lennert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to add v6 multipath route with same nexthops but different MPLS labels
2017-07-05 15:39 Unable to add v6 multipath route with same nexthops but different MPLS labels Lennert Buytenhek
@ 2017-07-05 17:15 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2017-07-05 17:15 UTC (permalink / raw)
To: Lennert Buytenhek, David Ahern, Robert Shearman, Roopa Prabhu; +Cc: netdev
On 7/5/17 9:39 AM, Lennert Buytenhek wrote:
> Hi!
>
> FWIW, this doesn't work:
>
> # ip -6 route add 1234::/16 \
> nexthop encap mpls 10 via fe80::1 dev ens3 \
> nexthop encap mpls 20 via fe80::1 dev ens3
> RTNETLINK answers: File exists
>
> While this does:
>
> # ip -6 route chg 1234::/16
> nexthop encap mpls 10 via fe80::1 dev ens3
> nexthop encap mpls 20 via fe80::2 dev ens3
> # ip -6 route
> 1234::/16 encap mpls 10 via fe80::1 dev ens3 metric 1024 pref medium
> 1234::/16 encap mpls 20 via fe80::2 dev ens3 metric 1024 pref medium
> [...]
>
> ECMPing over different LSPs that share a nexthop router seems like a
> legitimate use case to me. Is this restriction intentional or just an
> accident? (The same thing works fine in v4 land, where multipath
> routes are handled differently.)
>
> Thanks in advance!
Seems like a failure to compare lwt state. Will send a patch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-05 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 15:39 Unable to add v6 multipath route with same nexthops but different MPLS labels Lennert Buytenhek
2017-07-05 17:15 ` David Ahern
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.