[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default Route



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 +0000, 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 interfaces file just asking
> > for gateway= xxx.xxx.xxx.xxx. I've always had to put in the whole route
> > statement. but now it just skips it.
> > 
> > Anyone know what file I can include the above route statement so it will
> > load on bootup?
> > 
> 
> Hello,
> 
> try the following in the file /etc/network/interfaces. Add in the part
> describing the eth0 device the line:
> 
>    up route add -net 0.0.0.0 netmask 0.0.0.0 dev eth0 metric 1
> 
> or shorter
> 
>    up route add default eth0
> 
> 
> Armin
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 



Reply to: