LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Darryl Ross <rosdr001@lux.levels.unisa.edu.au>
  To  : Mark Williams <hirm@chariot.net.au>
  Date: Tue, 7 Sep 1999 11:46:14 +0930 (GMT+9:30)

Re: Connected...but not really Mk11...

On Mon, 6 Sep 1999, Mark Williams wrote:

> With a simple setup (like mine), I have found that a default route is
> normaly not needed to use the lan. So if the problem occours of linux not
> replacing the default route with the PPP IP, i simply delete the default
> route every time i boot. I have found that this then allows linux to set up
> the default route to the PPP interface when it is activated.

For a few machines on a LAN, which are all in the same Class C network,
then you do not need a default route. 
 
> If you find this is the problem, then try removing the default route before
> dial-up or on every boot (by inserting the command in rc.local).
> To remove the default route it is simply:
> route del default
> 

A better option is to tell it to not set up the default route to start
with. 

On a RedHat machine, you do this by deleting the arguments to the
following lines in the /etc/sysconfig/network file:

GATEWAY=192.168.1.1
GATEWAYDEV=eth0

so they read:

GATEWAY=
GATEWAYDEV=

Hope that helps.

Dazz

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page