ovs-l3ping command not found

In this troubleshooting guide we learn how to fix ovs-l3ping command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ovs-l3ping: command not found

or when using sudo you get the following error message

sudo: ovs-l3ping: command not found

Solutions to ovs-l3ping: command not found

How To Fix ovs-l3ping: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ovs-l3ping is provided by openvswitch-test package.

openvswitch-test is:

Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

This package contains utilities that are useful to diagnose performance and connectivity issues in Open vSwitch setup.

To fix this problem, we can install more using the command below.

sudo apt-get -y install openvswitch-test

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install openvswitch-test.

sudo apt -y install openvswitch-test

Or if you have aptitude installed you can use the following command.

sudo aptitude install openvswitch-test

Summary

In this tutorial we learn how to fix ovs-l3ping command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.