Question : Gateway not persisting in debian

I have a basic debian installation on a machine with two ethernet cards (I don't know if that's an issue).  eth1 is currently kept down and eth0 is used for all communication.

The machine is using a static IP on eth0 and when booted it looses all access to computers beyond teh gateway.  Not surprisingly

route add default gateway 192.168.100.1

brings everything up nicely.  The odd part is that the gatway is set up in /etc/network/interfaces, but it still loses this when rebooted (which makes ssh'ing in from outside the network problematic).  It looks like the broadcast setting is also being ignored.

Any ideas?

Answer : Gateway not persisting in debian

What does 'ifconfig -a'  & 'netstat -nr' show?
Random Solutions  
 
programming4us programming4us