Re: Default Route On Boot.

2005-11-03 Thread Mariusz Kruk
Nick Porter napisał(a): I'm at a complete loss of how to make this work. The way I understand it there are three ways to set a default route when the machine boots. 1) Use DHCP. 2) From the Interfaces file. 3) A script in one of the if-x.d directorys. I have tried all these and just don't see

Re: Default Route On Boot.

2005-11-03 Thread Marc PERRUDIN
225.225.225.0 is not a valid netmask. Your system can't determine if your gateway and your address are on the same network. Try with 255.255.255.0. cu. Nick Porter a écrit : >I'm at a complete loss of how to make this work. The way I understand it >there are three ways to set a default route whe

Re: Default Route On Boot.

2005-11-03 Thread Frank Gevaerts
On Thu, Nov 03, 2005 at 01:54:11PM -, Nick Porter wrote: > # The primary network interface > auto eth0 > > iface eth0 inet static > address 192.168.0.42 > netmask 225.225.225.0 This is wrong : should be 255.255.255.0 Frank -- "Debugging is twice as hard as writing the code in the first pl

Re: default-route?

2001-10-22 Thread Anthony J. Breeds-Taurima
On Mon, 22 Oct 2001, Karl wrote: > Hi! > I have a Debian Sid with PPPoE, using two network cards. > My problem is, that I have to do a > "route del default" and then start PPPoE every time I want to connect to > the net. Does anyone have an idea what I have to do so that the normal > startup works

Re: default route by wvdial not set after temporary eth0-access (woody)

2001-03-12 Thread David Wright
Quoting Helge Kreutzmann ([EMAIL PROTECTED]): > I had potato on my machine until recently. To upgrade, I took my > machine to work, edited /etc/networks/interface to use eth0 (instead > of the ppp-link I ordinary use) and upgraded to woody. > > Now at home I want to use the ppp-link again. Unfort

Re: default route

2001-01-19 Thread will trillich
On Sun, Jan 14, 2001 at 08:42:41PM +1100, Matt Chipman wrote: > Thanks for all the replies everybody, the problem is still there, and > whatever route i put in /etc/network/interfaces still doesnt apply at boot. > > I am thinking maybe i have to have a package installed that makes the route > stic

Re: default route

2001-01-14 Thread jake
Maybe not the most elegent solution but have you thought of puting the route add command into an rc script. -Jake Matt Chipman wrote: > > Thanks for all the replies everybody, the problem is still there, and > whatever route i put in /etc/network/interfaces still doesnt apply at boot. > > I am

re: default route

2001-01-14 Thread Matt Chipman
Thanks for all the replies everybody, the problem is still there, and whatever route i put in /etc/network/interfaces still doesnt apply at boot. I am thinking maybe i have to have a package installed that makes the route stick?? I am using a custom install of potatoe Is there something route rel

Re: default route

2001-01-12 Thread will trillich
On Sat, Jan 13, 2001 at 11:31:58AM +1100, Matt Chipman wrote: > Hi all > > Just getting used to debian and need to add a default route at boot time. i > have the route but what file do i need to add it to? > > Currently i add it manually after the machine boots. > > Lucky its not windows or i'd

Re: default route

2001-01-12 Thread Defresne Sylvain
* Matt Chipman ([EMAIL PROTECTED]) wrote: > Hi all > > Just getting used to debian and need to add a default route at boot time. i > have the route but what file do i need to add it to? Add it in /etc/networks/interface ... (man interfaces) > Currently i add it manually after the machine

Re: Default Route

2000-09-28 Thread Blair M. Cummings
That did it!! I had it all but the "up" Thanks alot! Blair On Thu, 28 Sep 2000, Armin Joellenbeck wrote: > On Thu, Sep 28, 2000 at 06:14:34PM +, Blair M. Cummings wrote: > > It's not in the same subnet but works when I add a route of .. route add > > -net 0.0.0.0 netmask 0.0.0.0 dev eth0 m

Re: Default Route

2000-09-28 Thread Armin Joellenbeck
On Thu, Sep 28, 2000 at 06:14:34PM +, Blair M. Cummings wrote: > It's not in the same subnet but works when I add a route of .. route add > -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1. > > Thats how I'm able to email you this email (grin) > > But I think you are right when it comes to the

Re: Default Route

2000-09-28 Thread Blair M. Cummings
It's not in the same subnet but works when I add a route of .. route add -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1. Thats how I'm able to email you this email (grin) But I think you are right when it comes to the interfaces file just asking for gateway= xxx.xxx.xxx.xxx. I've always had to pu

Re: Default Route

2000-09-28 Thread Blair M. Cummings
Ok, Everyone said this works for them and thats cool! But in every example the gateway was in the same subnet. Question though on somthing I didn't mention. What if the default gateway is in a different subnet? Would that make a difference? My ip is .35 with a 224 mask and the gateway is .17 wit

Re: Default Route

2000-09-28 Thread Alberto Brealey
On Thu, Sep 28, 2000 at 05:55:30PM +, Blair M. Cummings wrote: > mention. What if the default gateway is in a different subnet? Would that > make a difference? gateway has to be on the same subnet, cuz the machine has to know how to get to that gateway, in order to go elsewhere. alberto.

Re: Default Route

2000-09-28 Thread will trillich
On Thu, Sep 28, 2000 at 04:29:47PM +, 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 +, Bla

Re: Default Route

2000-09-28 Thread Blair M. Cummings
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 +, Blair M. Cummings wrote: > > I hate to write the list about this but I'm not havin

Re: Default Route

2000-09-28 Thread Alberto Brealey
On Thu, Sep 28, 2000 at 03:52:29PM +, 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 wh