0

how to change ip using ifconfig command

I need to change IP from ifconfig command. And also Is it necessary to restart network if changed from ifconfig.??

ifconfig command Advanced commands Add a comment
matthew
asked Apr 27 2017

Answer

0

Jus give ifconfig eth0 (IP-addr) It will assign the respective IP address to that interface.

And you dont need to restart the Network service. But its to be the safer side, once IP is changed, restart the network service and check it.

Add a comment
jagannatharumugam
asked May 01 2017
edited Oct 05 2018
Post your Answer