Monday, January 23, 2012

How to change ip through command line in Linux

How to change ip through command line in Linux
[root@localhost ~]#ifconfig eth0 172.16.0.1 netmask 255.255.0.0

and press enter
your ip changed

0 comments: