Skip to content

Instantly share code, notes, and snippets.

@steveb
Created February 25, 2013 00:24
Show Gist options
  • Save steveb/5026434 to your computer and use it in GitHub Desktop.
Save steveb/5026434 to your computer and use it in GitHub Desktop.
...
pre-up iptables-restore < /etc/iptables.rules
...
auto eth0
iface eth0 inet static
address 192.168.3.254
network 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.200
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment