# For the table names in config below, those need to be added to /etc/iproute2/rt_tables
# The loopback network interface
auto lo
iface lo inet loopback
# Network Interfaces
auto eth0
iface eth0 inet static
address 141.255.187.242
netmask 255.255.255.248
gateway 141.255.187.241
post-up /sbin/ip route add 141.255.187.240/29 dev eth0 src 141.255.187.242 table eth0
post-up /sbin/ip route add default via 141.255.187.241 dev eth0 table eth0
post-down /sbin/ip rule del from 141.255.187.242 table eth0
dns-nameservers 8.8.8.8 8.8.4.4
iface eth0 inet6 static
address 2a00:16d8:2:407::2
netmask 64
gateway 2a00:16d8:2:407::1
pre-up modprobe ipv6
dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844
auto eth1
iface eth1 inet static
address 141.255.187.243
netmask 255.255.255.248
post-up /sbin/ip route add 141.255.187.240/29 dev eth1 src 141.255.187.243 table eth1
post-up /sbin ip route add default via 141.255.187.241 dev eth1 table eth1
post-up /sbin ip rule add from 141.255.187.243 table eth1
post-down /sbin/ip rule del from 141.255.187.243 table eth1
iface eth1 inet6 static
address 2a00:16d8:2:407::3
netmask 64
pre-up modprobe ipv6
auto eth4
iface eth4 inet static
address 141.255.187.244
netmask 255.255.255.248
post-up /sbin/ip route add 141.255.187.240/29 dev eth4 src 141.255.187.243 table eth4
post-up /sbin/ip route add default via 141.255.187.241 dev eth4 table eth4
post-up /sbin/ip rule add from 141.255.187.244 table eth4
post-down /sbin/ip rule del from 141.255.187.244 table eth4
iface eth4 inet6 static
address 2a00:16d8:2:407::4
netmask 64
pre-up modprobe ipv6
auto eth3
iface eth3 inet static
address 141.255.187.245
netmask 255.255.255.248
post-up /sbin/ip route add 141.255.187.240/29 dev eth3 src 141.255.187.245 table eth3
post-up /sbin/ip route add default via 141.255.187.241 dev eth3 table eth3
post-up /sbin/ip rule add from 141.255.187.245 table eth3
post-down /sbin/ip rule del from 141.255.187.245 eth3
iface eth3 inet6 static
address 2a00:16d8:2:407::5
netmask 64
pre-up modprobe ipv6