[Gllug] Debian interface/routing setup

Bruce Richardson itsbruce at uklinux.net
Tue Feb 26 12:40:25 UTC 2002


On 2/26/02, 12:30:22 PM, "Paul Brazier" <pbrazier at cosmos-uk.co.uk> wrote 
regarding RE: [Gllug] Debian interface/routing setup:


> > > 1) gateway xxx.yyy.zzz.ttt (this is what we have)
> > > 2) up route add gw ....
> >
> > > are these equivalent or what?
> >
> > What.  The gateway parameter explicitly tells Debian to use
> > that gateway
> > when configuring the interface.  The up parameter just specifies an
> > arbitary command to run when the interface is brought up.

> The gateway just specifies the route packets take when going to the
> outside world, yes?
> So if I want this to be specified when the machine boots is it
> sufficient just to have the "gateway" line? Or do I need to also add the
> "up route add gw xx.yy.zz.tt" (can't remember the exact syntax right
> now) in order to set up the gateway in the first place?

If there is a gateway line then Debian adds the route itself.  Sounds 
like you've over-egged the pudding.

-- 

Bruce

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list