Skip to content

Instantly share code, notes, and snippets.

@fraga
Created June 14, 2011 19:18
Show Gist options
  • Save fraga/1025630 to your computer and use it in GitHub Desktop.
Save fraga/1025630 to your computer and use it in GitHub Desktop.
/etc/network/interfaces example
iface eth0:1 inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
iface eth0:2 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
iface eth0:3 inet static
address 192.168.1.20
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