Skip to content

Instantly share code, notes, and snippets.

@pdostal
Created January 19, 2016 17:15
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 pdostal/86796da3294bd4e7a740 to your computer and use it in GitHub Desktop.
Save pdostal/86796da3294bd4e7a740 to your computer and use it in GitHub Desktop.
Ubuntu server interfaces config
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1 eth1:0
iface eth1 inet static
address 10.100.100.2
netmask 255.255.255.0
iface eth1:0 inet static
address 10.100.200.2
netmask 255.255.255.0
iface eth1 inet6 static
address fe00:10:100:100::2
netmask 64
iface eth1 inet6 static
address fe00:10:100:200::2
netmask 64
auto eth2 eth2:0
iface eth2 inet static
address 10.200.100.2
netmask 255.255.255.0
iface eth2:0 inet static
address 10.200.200.2
netmask 255.255.255.0
iface eth2 inet6 static
address fe00:10:200:100::2
netmask 64
iface eth2 inet6 static
address fe00:10:200:200::2
netmask 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment