
Suppose you want to set the IP address in a random manner, then you can simply define the subnet range instead of particular IP address.Ĭommand. Which you can easily confirm by typing “ ifconfig ” command as shown below. mich -i eth0 -a -m > /tmp/outputĪnd to set the IP address, type “. In case, if you want to save the output of above two commands, then the command is:Ĭommand.

Every PC’s network device will have a unique MAC address. MAC address is another important parameter of a network device. You can even list out of all interfaces with the help of “ ip link show” command.įurthermore, you can also fetch the IP Address and MAC address with -a and -m option respectively. To display all available network interfaces, the command is: Git clone is a git command line utility which is used to target an existing repository and create a clone, or copy of the target repository. You can easily install mich tool by typing the following command: Now when you know how to locate and check your MAC or IP address, let’s see how to change it. In order to change your MAC or IP address, first you need to know how to locate it.

Also, it uses arp-scan to resolve conflicts due to setting IP/MAC addresses which exists in the local network. It’s written for Linux and uses iputils for that. Mich is a program for manipulating MAC and IP addresses. Just like your home has a mailing address in the same way any computer or device connected to the internet have a mailing address called the IP address and the distinctive address that identifies a NIC is called the Media Access Control (MAC) address. You must be familiar with the term IP address.
