my settings inside /etc/network/interfaces are:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 123.123.123.22
netmast 255.255.255.248
gateway 123.123.123.17


only one network will work at a time.
even adding the below line:


route add default gw 123.123.123.17
--OR--
route add default gw 192.168.5.254

What can be done to make both networks work at the same time??

thanks,