How to change ip address in linux

I wrote this draft quite ago . Just stumbled upon on it in the drafts section, may this would help someone

Change IP address

You can change ip address using ifconfig command itself. To set IP address, enter command:

# ifconfig eth0 netmask up
# ifconfig eth0

To make permanent changes to IP address you need to edit configuration file according to your Linux distribution.

Here are some detailed posts:

RECOMMENDED READ  Raspberry pi Zero launched , SBC priced at $5

Shoaib Ahmed

Embedded Linux System Software Engineer, mostly involved in design and development of home automation and security systems for ARM based boards. Area of expertise: Linux system programming. Considerably proficient with device drivers and kernel compilation.


Leave a Reply

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