Skip to content

Instantly share code, notes, and snippets.

@initcron
Created March 18, 2014 04:17
Show Gist options
  • Save initcron/9613498 to your computer and use it in GitHub Desktop.
Save initcron/9613498 to your computer and use it in GitHub Desktop.
networking configurations on ubuntu
# 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
pre-up sleep 2
#VAGRANT-BEGIN
# The contents below are automatically generated by Vagrant. Do not modify.
auto eth1
iface eth1 inet static
address 192.168.33.10
netmask 255.255.255.0
#VAGRANT-END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment