ifconfig command was deprecated due to no maintenance since so many years, even though it is still available on most Linux distributions.
ifconfig command has been replaced by IP command which is very powerful and performing several network administration tasks with one command.
IP command utility bundled with iproute2 package. By default iproute2 utility pre-installed all the major Linux distribution. If no, you can install it by issuing iproute2 on your terminal with help of package manager.
Läs hela artikeln.