Example: Troubleshooting a VXLAN Overlay Network with Overlay Ping and Overlay Traceroute for MX Series Routers | junos operating system (2023)

In a virtual extensible LAN (VXLAN) overlay network, theRingmiroute tracerThe commands can verify basic connectivity between two Juniper Networks devices that are acting as virtual tunnel endpoints (VTEPs) on the underlying physical network. However, there can be multiple paths between the two VTEPs through intermediary devices, and ping and traceroute packets can successfully reach their destinations as long as there is a connectivity problem on another path that ping and traceroute packets are normally forwarded on. data to reach your destination.

With the introduction ofoverlapYou can use parameters and other options in Junos OS Release 16.2 for MX Series RoutersRingmiroute tracerCommands to troubleshoot a VXLAN.

For the ping and traceroute mechanisms to work on a VXLAN, the ping and traceroute packets, also known as operations, administration, and management (OAM) packets, must use the same VXLAN headers (external headers) as those being sent. via network. the VXLAN segment is tunneled with potential connection issues. If there are connection problems, the overlay OAM packet will have the same problems as the data packet.

This example shows how to use overlay ping and trace route on a VTEP to verify the following on a VXLAN:

  • Scenario 1 – Make sure a specific VXLAN is configured on a different VTEP.

  • Scenario 2: Make sure that the MAC address of a specific endpoint is assigned to a VXLAN on the remote VTEP.

  • Scenario 3: Verify that there are no issues with a specific data flow between the sending and receiving endpoints.

Observation:

When issuing theping overlaymiRoute trace overlaycommands, the source VTEP on which you issue the command, and the destination VTEP that receives the ping packet must be JuniperNetworks devices that support overlay ping and traceroute.

requirements

This example uses the following hardware and software components:

  • Three physical servers running applications directly.

  • Two MX Series routers running Junos OS software version 16.2 or later. These routers act as VTEP.

  • Two Layer 3 routers, which can be from Juniper Networks or from a third party.

Before issuing theping overlaymiRoute trace overlayThe commands collect the necessary information for each parameter, such as IP addresses or MAC addresses, used for a specific scenario. To seetabla 1to determine which parameters are used for each scenario.

Summary and topology

The VXLAN topology shown inillustration 1includes physical servers A, B, and C on which the applications run directly. The applications on physical servers A and B need to communicate with the applications on physical server C. These servers reside on the same subnet, so the communication between the applications takes place at the Layer 2 level, and they are used tunnels or VXLAN tunnels to transport your data packets over a layer 3 network.

Illustration 1:Using Overlay Ping and Traceroute to Troubleshoot a VXLANExample: Troubleshooting a VXLAN Overlay Network with Overlay Ping and Overlay Traceroute for MX Series Routers | junos operating system (1)

In this topology, there are two MX series routers acting as VTEPs. VTEP1 starts and terminates VXLAN tunnels for physical servers A and B, and VTEP2 does the same for physical server C. VTEP1 and VTEP2 reside on VXLAN 100.

A data packet sent from physical server A is usually routed to the Layer 3 router with IP address 192.0.2.30 to reach physical server C.

In this VXLAN topology, there is a communication problem between physical servers A and C. To troubleshoot this data flow, you can use theping overlaymiRoute trace overlayCommands on VTEP1 (the VTEP source ortunnel-src) and indicate that VTEP2 is the VTEP target ortunnel-dst.

Thatping overlaymiRoute trace overlayCommands contain several parameters.tabla 1explains the purpose and provides a value for each of the parameters used in the three scenarios.

tabla 1does not include all availableping overlaymiRoute trace overlayParameter. This example uses the default values ​​for these omitted parameters.

Tabla 1:Ping and traceroute override parameter values ​​for scenarios 1, 2, and 3

ping overlaymiRoute trace overlayParameter

Description

Scenario to which the parameter applies

Wert

tunnel type

Identifies the type of tunnel you are troubleshooting.

All

vxlan

1

VXLAN Network Identifier (VNI) of the VXLAN used in this example.

All

100

tunnel-src

VTEP1 IP address from which you start the overlay ping or trace route.

All

192.0.2.10

tunnel-dst

IP address of the VTEP2 that receives the overlay pin or trace route packets.

All

192.0.2.20

Mac

MAC address of the physical server C that is the destination terminal.

Scenarios 2 and 3

00:00:5E:00:53:cc

number

The number of overlapping ping requests that VTEP1 sends.

Observation:

The count parameter does not apply to the overlay traceroute.

All

5

hash-fuente-mac

MAC address of the physical server A that is the originating endpoint.

scenario 3

00:00:5E:00:53:aaaa

hash alvo mac

MAC address of the physical server C that is the destination terminal.

Observation:

If you specify this parameter for Scenario 3, the MAC address must be the same MAC address specified for theMacParameter.

scenario 3

00:00:5E:00:53:cc

Hash-Quelladresse

IP address of the physical server A.

scenario 3

198.51.100.1

destination address hash

IP address of the physical server C.

scenario 3

198.51.100.3

protocol hash

A value for the protocol used in the data flow.

scenario 3

17

Hash-Quellport

A value for the external TCP/UDP source port.

scenario 3

4456

Hash-Zielport

A value for the external UDP destination port.

scenario 3

4540

tabla 1contains several hash parameters used for scenario 3. For each of these parameters, you must provide a value associated with the dataflow you are resolving. Based on the supplied values, the system calculates a source port hash of the VXLAN UDP header included in the VXLAN UDP header of the overlapping ping and traceroute packets. By including the computed hash in the VXLAN UDP header, the overlay ping and traceroute packets can emulate data packets in the flow you are polling.

Better practices:

When you use hash parameters, we recommend that you provide a value for each parameter. This practice ensures that the ping and traceroute overlay processes are successful and that the output of each command is correct. If you do not provide a value for one or more hash parameters, the system sends an OAM request that may contain incorrect hash values ​​and generates a warning message.

(Video) Building Power and Scale into the Software-Defined Data Center

Building

check

This section contains the following verification tasks:

  • Scenario-1: Verify that VXLAN 100 is set to VTEP2
  • Scenario 2: Check if the MAC address of the destination endpoint is in VTEP2
  • Scenario 3: Verifying a data flow

Scenario-1: Verify that VXLAN 100 is set to VTEP2

  • purpose
  • Plot
  • sense

purpose

Make sure a VXLAN is configured with VNI 100 on VTEP2. You can use overlay ping or traceroute to perform this verification.

Plot

ping overlay

Initiate an overlay ping on VTEP1:

Overlay Trace Path

Start an overlay traceroute on VTEP1:

(Video) End-to-End Demo: IP Infusion Pulls it All Together for an End-to-End Solution

sense

The example overlay ping output shows:

  • VTEP1 sent five ping requests to VTEP2, and VTEP2 responded to each request.

  • VTEP2 indicated that the VNI of 100 is not configured (Overlay segment not present in RVTEP 192.0.2.20) and included this information in his response to VTEP1.

The sample overlay traceroute output indicates the following:

  • Upon receiving an overlap routing packet with a time-to-live (TTL) value of 1 hop, the Layer 3 router responds in VTEP1.

  • Upon receiving an overlap routing packet with a 2-hop TTL value, VTEP2 responds to VTEP1.

  • VTEP2 has indicated that the VNI of 100 is not configured (missing overlay segment in RVTEP 192.0.2.20) and has included this information in its response to VTEP1.

Observation:

The asterisk (*) in the Receiver Timestamp column of the traceroute overlay output indicates that the Layer 3 router that received the traceroute overlay packet is not a Juniper Networks device, or is a Juniper Networks device, which does not support overlay tracking.

Since the overlay ping and traceroute output show that VXLAN 100 is not present, check this setting for VTEP2. If you need to configure a VNI of 100 on VTEP2, use the vni configuration directive in the [edit vlans vlan-id vxlan] hierarchy. and reissue the ping overlay or traceroute overlay command to verify that VXLAN100 is discovered.

Scenario 2: Check if the MAC address of the destination endpoint is in VTEP2

  • purpose
  • Plot
  • sense

purpose

Make sure that the MAC address (00:00:5E:00:53:cc) of the physical server C, which is the destination endpoint, is in the VTEP2 forwarding table. You can use overlay ping or traceroute to perform this verification.

Plot

ping overlay

Initiate an overlay ping on VTEP1:

Overlay Trace Path

Start an overlay traceroute on VTEP1:

sense

The example overlay ping output shows:

  • VTEP1 sent five ping requests to VTEP2, and VTEP2 responded to each request.

  • VTEP2 verified that the VNI is set to 100 (Overlapping segment present at RVTEP 192.0.2.20), but that the MAC address of physical server C is not in the forwarding table (end system not available). VTEP2 has included this information in its response to VTEP1.

The sample overlay traceroute output indicates the following:

  • Upon receiving an overlap route packet with a TTL value of 1 hop, the Layer 3 router responds in VTEP1.

  • Upon receiving an overlap routing packet with a 2-hop TTL value, VTEP2 responds to VTEP1.

  • VTEP2 verified that the VNI is set to 100 (Overlapping segment present at RVTEP 192.0.2.20) and that the MAC address of physical server C is in the forwarding table (end system available). VTEP2 has included this information in its response to VTEP1.

Observation:

The asterisk (*) in the Receiver Timestamp column of the traceroute overlay output indicates that the Layer 3 router that received the traceroute overlay packet is not a Juniper Networks device, or is a Juniper Networks device, which does not support overlay tracking.

Since the overlapped ping and traceroute output indicate that VTEP2 does not know the MAC address of physical server C, you should investigate further why this MAC address is not in VTEP2's forwarding table.

Scenario 3: Verifying a data flow

  • purpose
  • Plot
  • sense

purpose

Make sure there are no issues that could prevent data from flowing from physical server A to physical server Cillustration 1).

First, use the overlay ping, and if the overlay ping results indicate a problem, use the overlay trace path to determine which device in the path has the problem.

To overlay ping and traceroute, use the hash parameters to provide information about the devices in this flow so that the system can calculate a hash of the source port from the VXLAN UDP header, which is included in the VXLAN UDP header of the packets. ping and traceroute. cover. included. With the computed hash included in the VXLAN UDP header, the overlapping ping and traceroute packets can emulate data packets in this flow, which should produce more accurate ping and traceroute results.

Plot

ping overlay

Initiate an overlay ping on VTEP1:

Overlay Trace Path

If necessary, start an overlay route trace on VTEP1:

sense

The example overlay ping output indicates that VTEP1 sent five ping requests to VTEP2, but VTEP2 did not respond to any of the requests. The lack of response from VTEP2 indicates that there is a connectivity problem along the path between VTEP1 and the Layer 3 router or the path between the Layer 3 router and VTEP2.

To further address the way the problem is presented, overlaytraceroute is used. The Overlay Traceroute sample output indicates the following:

  • Upon receiving an overlay trace-route packet with a 1-hop TTL value, the Layer 3 router responds on VTEP1, indicating that the path between VTEP1 and the Layer 3 router is active.

  • VTEP2 does not respond to the traceroute overlay packet, indicating that the route between the Layer 3 router and VTEP2 may have failed.

Observation:

The asterisk (*) in the Receiver Timestamp column of the traceroute overlay output indicates that the Layer 3 router that received the traceroute overlay packet is not a Juniper Networks device, or is a Juniper Networks device, which does not support overlay tracking.

Since the output of the overlay route trace indicates a connectivity problem between the Layer 3 router and VTEP2, you should further investigate this route segment to determine the cause of the problem.

Related documentation

  • Understanding support for overlapping ping packets and traceroute

  • ping overlay

  • Route trace overlay

References

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated: 12/09/2023

Views: 6122

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.