addr6 command not found

In this troubleshooting guide we learn how to fix addr6 command not found error message

Introduction

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

addr6: command not found

or when using sudo you get the following error message

sudo: addr6: command not found

Solutions to addr6: command not found

How To Fix addr6: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu addr6 is provided by ipv6toolkit package.

ipv6toolkit is:

The SI6 Networks’ IPv6 toolkit is a set of IPv6 security and trouble-shooting tools, that can send arbitrary IPv6-based packets.

List of tools:

  • addr6: An IPv6 address analysis and manipulation tool.
  • flow6: A tool to perform a security asseessment of the IPv6 Flow Label.
  • frag6: A tool to perform IPv6 fragmentation-based attacks and to perform a security assessment of a number of fragmentation-related aspects.
  • icmp6: A tool to perform attacks based on ICMPv6 error messages.
  • jumbo6: A tool to assess potential flaws in the handling of IPv6 Jumbograms.
  • na6: A tool to send arbitrary Neighbor Advertisement messages.
  • ni6: A tool to send arbitrary ICMPv6 Node Information messages, and assess possible flaws in the processing of such packets.
  • ns6: A tool to send arbitrary Neighbor Solicitation messages.
  • ra6: A tool to send arbitrary Router Advertisement messages.
  • rd6: A tool to send arbitrary ICMPv6 Redirect messages.
  • rs6: A tool to send arbitrary Router Solicitation messages.
  • scan6: An IPv6 address scanning tool.
  • tcp6: A tool to send arbitrary TCP segments and perform a variety of TCP-based attacks.

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

sudo apt-get -y install ipv6toolkit

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

You can also use apt command to install ipv6toolkit.

sudo apt -y install ipv6toolkit

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

sudo aptitude install ipv6toolkit

Summary

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