Created
April 17, 2011 17:38
-
-
Save micahwalter/924264 to your computer and use it in GitHub Desktop.
/etc/network/interfaces file for static IP on ubuntu server
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
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static | |
address 192.168.1.104 | |
netmask 255.255.255.0 | |
network 192.168.1.0 | |
broadcast 192.168.1.255 | |
gateway 192.168.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment