1. Go to /etc/network
2. nano interfaces
Now you will find the following text in the file:
#The primary network interface
iface eth0 inet dhcp
3. Because this is temporary and will comment the dhcp part and set the static IP address:
# The primary network interface
#iface eth0 inet dhcp
# Temp Config
iface eth0 inet static
Notice I put in read where I set the difference and type the new ip address I want.
4. Lets restart the service:
service networking restart
5. Check the new IP address with ifconfig command.
Do you want to learn more about security and how to test your network security, please go to: http://www.thehost1.com/