Networking DOCA SDK Documentation

DVNI Route Verification

Use the following checks to verify downstream VNI (DVNI) route leaking in NVIDIA DOCA™ HBN. The examples verify that a tenant VRF imports a shared-service route and forwards traffic through the expected Layer 3 VNI.

Before You Begin

Verify the Kernel Route

Display the imported prefix in the tenant VRF:

ip -4 route show vrf tenant1 6.0.0.4/32

Example output:

6.0.0.4 proto bgp metric 20
    nexthop encap ip id 60000 src 0.0.0.0 dst 6.0.0.12 ttl 0 tos 0 via 6.0.0.12 dev vxlan48 weight 1 onlink
    nexthop encap ip id 60000 src 0.0.0.0 dst 6.0.0.13 ttl 0 tos 0 via 6.0.0.13 dev vxlan48 weight 1 onlink
    nexthop encap ip id 60000 src 0.0.0.0 dst 6.0.0.14 ttl 0 tos 0 via 6.0.0.14 dev vxlan48 weight 1 onlink
    nexthop encap ip id 60000 src 0.0.0.0 dst 6.0.0.15 ttl 0 tos 0 via 6.0.0.15 dev vxlan48 weight 1 onlink

Confirm that:

  • The route is installed by BGP in the intended tenant VRF.

  • The encapsulation ID matches the shared-service Layer 3 VNI. This example uses VNI 60000.

  • The route contains the expected remote VTEPs. This example shows four equal-cost paths.

Verify the FRR Route

Enter vtysh, and then display the prefix in the tenant VRF:

show ip route vrf tenant1 6.0.0.4/32

Example output:

VRF tenant1:
B>* 6.0.0.4/32 [20/0] via 6.0.0.12, vxlan48 (vrf default) onlink, label 60000, weight 1
  *                   via 6.0.0.13, vxlan48 (vrf default) onlink, label 60000, weight 1
  *                   via 6.0.0.14, vxlan48 (vrf default) onlink, label 60000, weight 1
  *                   via 6.0.0.15, vxlan48 (vrf default) onlink, label 60000, weight 1

Confirm that FRR selects the BGP route, associates it with the expected VNI label, and installs the expected equal-cost paths.

Verify Multiple Tenant VRFs

Repeat the kernel and FRR checks for every tenant VRF that imports the shared-service route target. Each VRF should contain the imported prefix with the same shared-service VNI and the expected set of remote VTEPs.

Last updated: