ADDRESS0=10.20.30.0
NETMASK0=255.255.255.0
GATEWAY0=10.10.10.1
ADDRESS1=10.20.40.0
NETMASK1=255.255.255.0
GATEWAY1=10.10.10.2
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
name Internal Ethernet interface
address 10.10.10.3
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
gateway 10.10.10.1
up route add -net 10.20.30.0/24 gw 10.10.10.1
down route del -net 10.20.30.0/24 gw 10.10.10.1
up route add -net 10.20.30.0/24 gw 10.10.10.2
down route del -net 10.20.40.0/24 gw 10.10.10.2