This ifconfig command can be used together with the typical iproute2 commands such as “ip link show” or “ip addr show”, there is no problem of using both tools simultaneously. When we have installed it, if we execute ifconfig we will get the interface configuration summary: If we have incorporated a superuser password, we must put «su» in the console to promote superuser and then type: If in the installation we have chosen to do “sudo” to promote superuser to install packages, we type: This package integrates all the “old” tools that we have been using for many years. Installing the old suite of ifconfig and route networking tools is really simple, the first thing we have to do is open a terminal, log in in root mode or use the “sudo” command, and install a package called “net-tools”. Read: How to Insert Tables of Contents in Microsoft Publisher - Quick and Easy Ifconfig and route installation on Debian 9 or higher There is still third-party software that internally uses automatic scripts for the installation of their software, these scripts still usually use ifconfig and route, so it is absolutely necessary to have these tools installed if we want to execute these scripts correctly and that they do not return any type of error. Once we have verified that in Debian 9 and later versions it is not installed by default, we are going to do it manually. Starting with the Debian 9 version, you must install it manually, and if you use other Linux distributions in their latest versions, exactly the same thing happens, we must install it in order to use it. If in a Linux-based operating system we try to execute “ifconfig” or “route”, it will automatically return an error. We must bear in mind that iproute is a much better, more complete, more intuitive tool because the commands are very similar to Cisco syntax, and we will be able to perform advanced configurations such as configuring several routing tables and several default gateways. After several years of administrators using iproute2, it was decided that both ifconfig and router would not be incorporated into the operating system by default. However, many network administrators were still using it, and for this reason it was not started to be phased out from different Linux-based distributions. For many years ifconfig and route have been considered “deprecated”, that is, old.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |