[bgp]: Enable next-hop-tracking through default (#5600)
**- Why I did it** FRR introduced [next hop tracking](http://docs.frrouting.org/projects/dev-guide/en/latest/next-hop-tracking.html) functionality. That functionality requires resolving BGP neighbors before setting BGP connection (or explicit ebgp-multihop command). Sometimes (BGP MONITORS) our neighbors are not directly connected and sessions are IBGP. In this case current configuration prevents FRR to establish BGP connections. Reason would be "waiting for NHT". To fix that we need either add static routes for each not-directly connected ibgp neighbor, or enable command `ip nht resolve-via-default` **- How I did it** Put `ip nht resolve-via-default` into the config **- How to verify it** Build an image. Enable BGP_MONITOR entry and check that entry is Established or Connecting in FRR Co-authored-by: Pavel Shirshov <pavel.contrib@gmail.com>
This commit is contained in:
parent
1e2e0199fa
commit
812e1a3489
@ -10,6 +10,8 @@ vni {{ vnet_metadata['vni'] }}
|
||||
{% endblock vrf %}
|
||||
!
|
||||
{% block interfaces %}
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
{% for (name, prefix) in INTERFACE|pfx_filter %}
|
||||
interface {{ name }}
|
||||
|
@ -18,6 +18,8 @@ agentx
|
||||
!
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet4
|
||||
link-detect
|
||||
|
@ -1,5 +1,7 @@
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet4
|
||||
link-detect
|
||||
|
@ -22,6 +22,8 @@ vrf First
|
||||
vni 10
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet4
|
||||
link-detect
|
||||
|
@ -18,6 +18,8 @@ agentx
|
||||
!
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface PortChannel03
|
||||
link-detect
|
||||
|
@ -19,6 +19,8 @@ vrf VnetFE
|
||||
vni 9000
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet8
|
||||
link-detect
|
||||
|
@ -19,6 +19,8 @@ vrf VnetFE
|
||||
vni 8000
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet8
|
||||
link-detect
|
||||
|
@ -16,6 +16,8 @@ log facility local4
|
||||
! end of template: common/daemons.common.conf.j2!
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface PortChannel03
|
||||
link-detect
|
||||
|
@ -18,6 +18,8 @@ agentx
|
||||
!
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface PortChannel01
|
||||
link-detect
|
||||
|
@ -19,6 +19,8 @@ vrf VnetFE
|
||||
vni 9000
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet0
|
||||
link-detect
|
||||
|
@ -19,6 +19,8 @@ vrf VnetFE
|
||||
vni 8000
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface Ethernet0
|
||||
link-detect
|
||||
|
@ -16,6 +16,8 @@ log facility local4
|
||||
! end of template: common/daemons.common.conf.j2!
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface PortChannel01
|
||||
link-detect
|
||||
|
@ -12,6 +12,8 @@ vrf VnetFE
|
||||
vni 8000
|
||||
!
|
||||
!
|
||||
! Enable nht through default route
|
||||
ip nht resolve-via-default
|
||||
! Enable link-detect (default disabled)
|
||||
interface PortChannel0
|
||||
link-detect
|
||||
|
Loading…
Reference in New Issue
Block a user