]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Use IPv6 LL address as nexthop if global was set to ::/LL 6525/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 25 May 2020 14:22:37 +0000 (17:22 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Sun, 7 Jun 2020 15:30:02 +0000 (18:30 +0300)
commit887c806529683f3e4cc36795fca4587af5279baa
tree4a50c368ebfa425f245e51bbe25d423f673a9d6b
parent80d0b3adfe60f0cb12d6e9650d4df199c3485b09
bgpd: Use IPv6 LL address as nexthop if global was set to ::/LL

This happens between Bird and FRR. Maybe others as well, dunno.

Bird sends ::(fe80::1588) and we have a nexthop as :: which is inaccessible:

```
BGP routing table entry for fdff:b87d:f5b0::/48
Paths: (1 available, no best path)
  Not advertised to any peer
  4242421588 4242422547 4242422601 4242423605
    :: (inaccessible) from fe80::1588 (172.20.16.140)
    (fe80::1588) (used)
      Origin IGP, invalid, external
      Last update: Mon May 25 14:27:02 2020
```

bgpd[9554]: fe80::1588 went from OpenConfirm to Established
bgpd[9554]: fe80::1588 [FSM] Timer (routeadv timer expire)
bgpd[9554]: fe80::1588 rcvd UPDATE w/ attr: , origin i, mp_nexthop ::(fe80::1588)
bgpd[9554]: fe80::1588 rcvd UPDATE wlen 0 attrlen 120 alen 0
bgpd[9554]: fe80::1588 rcvd fda9:26a9:1c47:2d42::/64 IPv6 unicast
bgpd[9554]: Allocated bnc ::/128(VRF default) peer 0x0
bgpd[9554]: bgp_update(0.0.0.0): NH unresolved
bgpd[9554]: fe80::1588 rcvd fda9:26a9:1c47:d42::/64 IPv6 unicast

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_nht.c