Acho que você precisa apenas de um gateway padrão. Você configurou 3: gateway 172.19.20.185 , gateway 172.18.182.1 e up route add default gw 172.18.182.1 dev eth1 .
Experimente o seguinte arquivo de interfaces:
auto eth0 eth1
iface eth0 inet static
address 172.19.20.186
netmask 255.255.255.252
iface eth1 inet static
address 172.18.182.55
netmask 255.255.254.0
gateway 172.18.182.1
up route add -net 172.19.26.0/23 gw 172.19.20.185 dev eth0
up route add -net 172.19.24.0/23 gw 172.19.20.185 dev eth0
EDITAR : Tente configurar manualmente as interfaces, para que possamos ver onde está o erro.
- Encerre todas as interfaces:
ifconfig eth0 down; ifconfig eth1 down; ifconfig eth2 down; ifconfig eth3 down - Configurar eth0:
ifconfig eth0 172.19.20.186 netmask 255.255.255.252 up - Configurar eth1:
ifconfig eth1 172.18.182.55 netmask 255.255.254.0 up - Configurar o gateway padrão:
route add default gw 172.18.182.1 - Configurar a primeira rota estática:
route add -net 172.19.26.0/23 gw 172.19.20.185 dev eth0 - Configurar a segunda rota estática:
route add -net 172.19.24.0/23 gw 172.19.20.185 dev eth0