Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

Change IP in Linux from the Command Line

Changing the IP in Fedora is easy. All you have do is go to the Administration -> Network utilitiy (through the Fedora menu), select the network card, and press the Edit button. From there you can change the IP and other settings.

If your using an older version of Linux, there may not be a friendly GUI application like this to change your IP, or you may be connected to a server by ssh or some other command line console. The IP can be changed through the ifconfig command.

Quick and Easy Steps

You first need to run ifconfig to see what network adapters are present in your computer. Once you have this information, you can change the IP with the following command, assuming eth0 is your network adapter:

ifconfig eth0 192.168.147.1

This command changes the IP of eth0 to 192.168.147.1. There are many more options available for ifconfig and you can read about them by typing man ifconfig on the command line.

2 Responses to Change IP in Linux from the Command Line

  1. Anupam Kumar says:

    command for this is
    ifconfig eth0 10.1.7.13 netmask 255.255.255.0 up

  2. That wasn’t difficult at all. I understand it is important to change IP for a variety of reasons. One of the most important one is to be able to be secure and enjoy some privacy on the internet or at least try. There have become available some cool software such as Private Proxy software to rapidly change IP and route the connection through multiple servers. Thus effectively hiding your IP address and allowing one to surf the net anonymously. In order to combat security and privacy challenges on the internet Changing the IP has become an effective weapon against hackers and identity thieves.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.