Change Your IP Address From the Command Line in Linux

This is your new page.

It’s easy to change your IP address using a graphic interface, but did you know that Linux also lets you change your network card’s IP address using a simple command from the command line?


This trick should work on all Debian-based Linux distros, including Ubuntu. To get started, type ifconfig at the terminal prompt, and then hit Enter. This command lists all network interfaces on the system, so take note of the name of the interface for which you want to change the IP address

To change the settings, you also use the ifconfig command, this time with a few additional parameters. The following command changes the network interface named “eth0” to use the IP address, and assigns the subnet mask

sudo ifconfig eth0 netmask

 You could, of course, substitute in whatever values you want. If you run ifconfig again, you will see that your interface has now taken on the new settings you assigned to it. Free IP Geolocation API and Accurate GeoIP Lookup Location Database provide country, city, latitude, longitude, time zone, current time, state Firewall

IP Finder offers one of the leading IP to geolocation APIs and global IP database services worldwide IP Finder