How to allocate IP Address in Linux

I like the command line method since it’s faster.

 sudo ifconfig eth0 192.168.1.100 

PS: Change 192.168.1.100 with the IP you would like to change, you don’t have to specify the netmask since it’s automatically specified, although you can also insert it manually.

Google
 

Leave a Reply

257 views