]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Use IPv6 LL address as nexthop if global was set to ::/LL 6456/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 25 May 2020 14:22:37 +0000 (17:22 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 25 May 2020 14:37:10 +0000 (17:37 +0300)
commit606fdbb1fab98bac305dca3d19eb38b140b7c3e6
treeebeedc1cf8d0f8befeabda9f981c90fd48c0885c
parent812507ec5c07504b1c84e1c365954dd49188ce15
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