Last active
January 24, 2017 22:41
-
-
Save fagnersilva/2c89492c4c83033e513703e6a0c3b561 to your computer and use it in GitHub Desktop.
configurando rede estatica
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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