is not anymore installed per default, and needs to be installed manually.

the problem: ifconfig might not be sufficient anymore, because it might for example, not show all ip addresses given to a computer


thus it is deprecated

the successor is: the ip command

(once the user got used to a set of tools, it is hard to change, also just think about the massive amount of bash scripts that need updates too)

# tested with debian10.3
# apt based debian10/ubuntu
su - root; # become root
apt update; # update package definitions
apt install net-tools; # install 

# rpm based fedora/centos/redhat
yum install net-tools; # install ifconfig
tracepath yahoo.de; # isntead of traceroute

info about package:

apt show info net-tools

Package: info
Version: 6.3.0.dfsg.1-1+b2
Priority: optional
Section: doc
Source: texinfo (6.3.0.dfsg.1-1)
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Installed-Size: 561 kB
Provides: info-browser
Depends: libc6 (>= 2.15), libtinfo5 (>= 6), install-info
Suggests: texinfo-doc-nonfree
Replaces: texinfo (<< 4.7-2)
Tag: implemented-in::c, interface::text-mode, role::program, suite::gnu,
uitoolkit::ncurses, use::viewing, works-with-format::info,
works-with::text
Download-Size: 390 kB
APT-Sources: https://ftp.halifax.rwth-aachen.de/debian stretch/main amd64 Packages
Description: Standalone GNU Info documentation browser
The Info file format is an easily-parsable representation for online
documents. This program allows you to view Info documents, like the
ones stored in /usr/share/info.
.
Much of the software in Debian comes with its online documentation in
the form of Info files, so it is most likely you will want to install it.

Package: net-tools
Version: 1.60+git20161116.90da8a0-1
Priority: optional
Section: net
Maintainer: net-tools Team <pkg-net-tools-maintainers ÄT lists.alioth.debian PUNKT org>
Installed-Size: 963 kB
Depends: libc6 (>= 2.14), libselinux1 (>= 1.32)
Conflicts: ja-trans (<= 0.8-2)
Replaces: ja-trans (<= 0.8-2), netbase (<< 4.00)
Homepage: http://sourceforge.net/projects/net-tools/
Tag: admin::configuring, implemented-in::c, interface::commandline,
network::configuration, network::routing, network::vpn, protocol::ipv6,
role::program, scope::utility, use::routing
Download-Size: 248 kB
APT-Manual-Installed: no
APT-Sources: https://ftp.halifax.rwth-aachen.de/debian stretch/main amd64 Packages
Description: NET-3 networking toolkit
This package includes the important tools for controlling the network
subsystem of the Linux kernel.

This includes

  • arp
  • ifconfig
  • netstat
  • rarp
  • nameif
  • route

Additionally, this package contains utilities

relating to particular network hardware types

  • plipconfig
  • slattach
  • mii-tool and advanced aspects of IP configuration
  • iptunnel
  • ipmaddr

In the upstream package ‘hostname’ and friends are included.

Those are not installed by this package, since there is a special “hostname*.deb”.

10 Useful “IP” Commands to Configure Network Interfaces

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin