fir3net
PPS-Firenetbanner-780.5x190-30-03-17

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,

auto [INTERFACE]
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

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001