Jul 17, 2019 · Ifconfig is short for Interface Configuration and is a Linux command-line utility used to display, configure and manage your network interfaces. The full manpage description of the utility is as follows:

To get all IP address related information using ip/ifconfig, these commands are used. $ ifconfig $ ip addr Take down/up network interface: If you would like to take down or bring up an interface, this is often done when modifying network configurations, you can use below commands. The interface eth0 can be replaced with any other interface name. Jul 11, 2019 · Unfortunately, it did not install ifconfig on Debian. Even tried removing and reinstalling net-tools. My OS: Linux debian2 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux If the interface is DOWN, you can switch it UP without assigning an IP address with a simple command: ifconfig up To remove an already-assigned IP address, you can either reset the IP of the interface to 0.0.0.0: ifconfig 0.0.0.0 Or you can use "ip addr del dev ". To delete an alias interface use ifconfig eth0:0 down. Note: for every scope (i.e. same net with address/netmask combination) all aliases are deleted, if you delete the first (primary). up This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the interface.

Temporary virtual network interface. The process of creating a virtual network interface in Linux is a quite simple matter. It involves a single execution of the ifconfig command. ifconfig eth0:0 123.123.22.22. The above command will create a new virtual network interface based on original eth0 physical interface.

Ifconfig uses obsolete kernel interface. It uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes. Since an Infiniband address is 20 bytes, only the first 8 bytes of Infiniband address are displayed. ifconfig command is used to configure a network interfaces in GNU/Linux systems. It displays the details of a network interface card like IP address, MAC Address, and the status of a network interface card etc.

May 14, 2011 · Here, we assume that you already have a NIC with a static IP configured in it. If we need to add two more IP addresses, say 192.168.1.25 and 192.168.1.26 to this interface, we can accomplish this by executing the following commands: ifconfig eth0:1 192.168.1.25 netmask 255.255.255.0 ifconfig eth0:2 192.168.1.26 netmask 255.255.255.0

May 14, 2011 · Here, we assume that you already have a NIC with a static IP configured in it. If we need to add two more IP addresses, say 192.168.1.25 and 192.168.1.26 to this interface, we can accomplish this by executing the following commands: ifconfig eth0:1 192.168.1.25 netmask 255.255.255.0 ifconfig eth0:2 192.168.1.26 netmask 255.255.255.0 Apr 07, 2020 · The ifconfig command is a very popular tool available on most Linux distros. The name “ifconfig” comes from “Interface Configuration”, it is used to check our system’s network interface and we can also use it to change some of the network interface settings.