Tuesday, May 24, 2011

How To Set IP Address on Ubuntu

The first method is very simple. Just use command line:

sudo ifconfig eth0 10.10.10.25 netmask 255.255.255.0 up



The second method is to adjust the file "/etc/network/interface" (use nano, vi or gedit)


Have fun!