Skip to content

Instantly share code, notes, and snippets.

@marylly
Created February 10, 2017 13:38
Show Gist options
  • Save marylly/8899c54791caa128f545ce1f191b8fbe to your computer and use it in GitHub Desktop.
Save marylly/8899c54791caa128f545ce1f191b8fbe to your computer and use it in GitHub Desktop.
Linux Network Intefaces Conf
# Arquivo localizado em /etc/network/interfaces
# Subir a eth0 automaticamente
auto eth0
# Setamos que sera uma configuração estática
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
network 192.168.0.0
broadcast 192.168.0.255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment