Skip to content

Instantly share code, notes, and snippets.

@fagnersilva
Last active January 24, 2017 22:41
Show Gist options
  • Save fagnersilva/2c89492c4c83033e513703e6a0c3b561 to your computer and use it in GitHub Desktop.
Save fagnersilva/2c89492c4c83033e513703e6a0c3b561 to your computer and use it in GitHub Desktop.
configurando rede estatica
vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.23
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
vim /etc/resolv.conf
nameserver 8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment