nano /etc/network/interfaces
Configuração DHCP
--------------------------------------
auto eth0
iface eth0 inet dhcp
--------------------------------------
Configuração de IP Estático
---------------------------------------
auto eth0
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
---------------------------------------
# /etc/init.d/networking restart