Created
June 5, 2014 08:23
-
-
Save zhangw/1ee5f9f4b861a240d3cd to your computer and use it in GitHub Desktop.
the network interfaces configuration in ubuntu
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
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| # The primary network interface | |
| auto eth0 | |
| iface eth0 inet dhcp | |
| # The secondary network interface | |
| auto eth1 | |
| iface eth1 inet static | |
| address 192.1.8.100 | |
| netmask 255.255.255.0 | |
| gateway 192.1.8.254 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment