Debian-Like
Adiciona-se no arquivo /etc/network/interfaces as seguintes linhas:post-up route add -net 192.168.0.0/16 gw 192.168.10.1 post-up route add -net 10.100.0.0/16 gw 192.168.10.10
RedHat-Like
Deve-se criar o arquivo /etc/sysconfig/network-scripts/route-eth0 contendo:GATEWAY0=192.168.10.1 NETMASK0=255.255.0.0 ADDRESS0=192.168.0.0 GATEWAY1=192.168.10.10 NETMASK1=255.255.0.0 ADDRESS1=10.100.0.0Ou
192.168.0.0/16 via 172.172.1.1 10.100.0.0/16 via 192.168.10.10
Comentários