Change IP address in Linux

Today while installing my testing environment with Linux. I have accidentally inserted the wrong IP address. This was causing it to have conflict with the other system which has the same IP address.

After searching through the net I have finally manage to change the IP address by issueing the below comand:

ifconfig eth0 10.38.25.255 up

Advertisements

One thought on “Change IP address in Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s