On Thu, Sep 28, 2000 at 04:29:47PM +0000, Blair M. Cummings wrote: > That is what the interfaces file had in it in both v2.1 and 2.2 It never > worked for me without adding a full route statement. > > On Thu, 28 Sep 2000, Alberto Brealey wrote: > > > On Thu, Sep 28, 2000 at 03:52:29PM +0000, Blair M. Cummings wrote: > > > I hate to write the list about this but I'm not having much luck with > > > keeping a default route after reboot. I was able to keep it with a > > > > try adding "gateway aaa.bbb.ccc.ddd" at the end of the iface section for the > > interface where the default route should be. this in /etc/network/interfaces
here's my /etc/network/interfaces file -- # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface iface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) iface eth0 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.1.255 iface eth1 inet static address 208.33.90.85 netmask 255.255.255.0 network 208.33.90.0 broadcast 208.33.90.255 gateway 208.33.90.84 <<<<< that last one does most of my work: 208.33.90.85 is my ip; my cablemodem is 208.33.90.84, acting as my gateway. when my system boots, the routing is all taken-care-of: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 208.33.90.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 208.33.90.84 0.0.0.0 UG 0 0 0 eth1 (once i figure out the tunnelling setup, i'll be all smiles.)