Ubuntu - Configuring an Interface

In order to configure an interface in Ubuntu you will need to edit the following file /etc/network/interfaces
Below is an example,

iface [INTERFACE] inet static
address [IP ADDRESS]
netmask [NETMASK]
network [NETWORK]
gateway [GATEWAY]

 Once you have made the change to the interfaces file, run the following command /etc/init.d/networking restart

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001