diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-06-30 14:07:52 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-07-01 16:21:54 +0200 |
| commit | 17ef5a934355a718caf64f2fd5cac5e252977890 (patch) | |
| tree | 467e00aaac75b9c29cdfad75ffbb0c87a2a38be7 /lib/command.c | |
| parent | ba88ced84c6f57f6b981d6abcdb8dd4d1558ed87 (diff) | |
bgpd: nht unresolved with global address next-hop
When bgp peers with ipv6 link local addresses, it may receive a
BGP update with next-hop containing both LL and GA information.
By default, nexthop tracking applies to GA, and ignores presence
of LL, when both addresses are present. This is a problem for
resolving GA as next-hop as the next-hop information can be solved
by using the LL address only.
The solution consists in defaulting the nexthop ipv6 choice to LL
when available, and moving back to GA if a route-map is locally
configured at inbound.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
