In order to set up static IP configuration in Ubuntu 14.04 you need to edit the /etc/network/interfaces file.
1 | sudo nano /etc/network/interfaces |
You can remove the content referring to the previous DHCP configuration and add the parameters below. Change the addresses below to fit your needs.
1 | # This file describes the network interfaces available on your system |
You don’t have to restart the system instead restart the networking service.
1 | sudo service networking restart |
— Feb 15, 2015