11/8/2023 0 Comments Debian ifconfig![]() ![]() ![]() 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. This suite of tools will allow us to manage network interfaces, static routes, the default gateway, and we can even configure various routing tables in our Linux-based operating system, and, of course, also in Debian.įor many years ifconfig and route have been considered “deprecated”, that is, old. Why are they not included since Debian 9 by default?Īlthough the two tools are essential for good network management, for many years we have had the iproute2 tool in all Linux-based operating systems. The same happens with the command «route», the tool par excellence to add static routes to our server or PC, to remove the static routes previously added, route is also used to configure the default gateway and to delete it from the system, for Of course, we can also see the current routing table and prioritize different routes over others.īoth tools, both ifconfig and router, are essential to manage the network correctly in any Linux operating system, and we are sure that many of you have used them both on the command line and also in your scripts to automate different actions. Ifconfig has always been the tool par excellence both in Debian operating systems and in other Linux-based distributions. We are sure that you have ever had to use the ifconfig tool to configure a network interface, either to drop the interface or lift it, to change the IP address and mask assigned to us by the DHCP server of the main router, and even to create subinterfaces among many other features. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |