Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vu2
Created June 25, 2015 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vu2/1fd8023818a128ea9eb8 to your computer and use it in GitHub Desktop.
Save vu2/1fd8023818a128ea9eb8 to your computer and use it in GitHub Desktop.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp
accept_ra 1
#--↑ここまでデフォルト------------------#
#------------------------------------#
#--↓ここから追記-----------------------#
auto eth1
iface eth1 inet static
address ***.***.***.*** #*IP*
netmask ***.***.***.*** #*MASK*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment