# 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 admin network interface allow-hotplug eth1 iface eth1 inet static address 172.28.50.12 netmask 255.255.255.0 network 172.28.50.0 broadcast 172.28.50.255 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 172.28.50.1 dns-search cacert.org # The external network interface allow-hotplug eth3 iface eth3 inet static address 213.154.225.245 netmask 255.255.255.224 gateway 213.154.225.225 network 213.154.225.224 broadcast 213.154.225.255 up ip addr add 213.154.225.246/24 dev eth3 label eth3:1 down ip addr del 213.154.225.246/24 dev eth3 label eth3:1 up ip addr add 213.154.225.247/24 dev eth3 label eth3:2 down ip addr del 213.154.225.247/24 dev eth3 label eth3:2 iface eth3 inet6 static address 2001:7b8:3:9c::245 netmask 64 gateway 2001:7b8:3:9c::1 up ip -f inet6 addr add 2001:7b8:3:9c::246/64 dev eth3 down ip -f inet6 addr del 2001:7b8:3:9c::246/64 dev eth3 up ip -f inet6 addr add 2001:7b8:3:9c::247/64 dev eth3 down ip -f inet6 addr del 2001:7b8:3:9c::247/64 dev eth3 #LATER## The network interface behind the external firewall #LATER#allow-hotplug eth2 #LATER#iface eth2 inet static #LATER# address 172.16.3.245 #LATER# netmask 255.255.255.0 #LATER# gateway 172.16.3.1 #LATER# network 172.16.3.0 #LATER# broadcast 172.16.3.255 #LATER# up ip addr add 172.16.3.246/24 dev eth2 label eth2:1 #LATER# down ip addr del 172.16.3.246/24 dev eth2 label eth2:1 #LATER# up ip addr add 172.16.3.247/24 dev eth2 label eth2:2 #LATER# down ip addr del 172.16.3.247/24 dev eth2 label eth2:2 #LATER#iface eth2 inet6 static #LATER# address 2001:7b8:616:163::245 #LATER# netmask 64 #LATER# gateway 2001:7b8:616:163::1 #LATER# up ip -f inet6 addr add 2001:7b8:616:163::246/64 dev eth2 #LATER# down ip -f inet6 addr del 2001:7b8:616:163::246/64 dev eth2 #LATER# up ip -f inet6 addr add 2001:7b8:616:163::247/64 dev eth2 #LATER# down ip -f inet6 addr del 2001:7b8:616:163::247/64 dev eth2