Last active
August 29, 2015 13:56
-
-
Save firatkucuk/8790297 to your computer and use it in GitHub Desktop.
Standard Linux Network Configuration
This file contains 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
# sample /etc/network/interfaces file | |
# local network | |
auto lo | |
iface lo inet loopback | |
# Auto-start Network with Static IP | |
auto eth0 | |
iface eth0 inet static | |
address 192.168.1.11 | |
network 192.168.1.0 | |
netmask 255.255.255.0 | |
broadcast 192.168.1.255 | |
gateway 192.168.1.1 | |
dns-nameservers 8.8.8.8 | |
# Commented Auto-start Network with Dynamic IP | |
# auto eth1 | |
# iface eth1 inet dhcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment