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

Re: default gateway



On Wed, Mar 12, 2003 at 12:28:51AM +0200, Pavlos Parissis wrote:
> Hello all,
> I am looking for the file that I have to modify in order to have static route
> enabled.
> I add the gateway manually with route add -net default gw 192.168.100.1 
> and I would like to find the config file.
> I am using woody 3.0.r1,any ideas?

/etc/network/interfaces

You need a line like

  gateway 192.168.100.1

in the section for the relevant card.

If you're using ppp I'm not sure; if you're using PCMCIA then I think
you want /etc/pcmcia/network.opts, but I'm always getting lost with that.

Richard



Reply to: