[plug] Initialisation and default routes

John Breen jbreen at wn.com.au
Thu Aug 3 14:30:46 WST 2000


Thanks, Tony.  I'll give this a go this evening.

---- Original Message ----
From: tony at cantech.net.au
To: plug at plug.linux.org.au, 
Subject: Re: [plug] Initialisation and default routes
Date: Thu, 3 Aug 2000 13:32:59 +0800 (WST)

>On Thu, 3 Aug 2000, John Breen wrote:
>
>> .... So, the question I have is how do I stop the startup making 
>the
>> default route out through my ethernet card, and instead get it to 
>put
>> in something more sensible, like a route to my local network?
>
>Look at /etc/sysconfig/network
>
>The format will vary from version to version BUT:
>setting:
>GATEWAYDEV=
>GATEWAY=
>
>Should tell it NOT to install a default gateway at boot.
>
>You can 
>/etc/rc.d/init.d/network stop
>/sbin/route -n
>/etc/rc.d/init.d/network start
>/sbin/route -n
>
>To confirm it is working correctly without rebooting, the seconf 
>route should
>look like:
>Destination     Gateway         Genmask         Flags Metric Ref    
>Use Iface
>192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0       
> 0 eth0
>192.168.0.0     0.0.0.0         255.255.255.0   U     0      0       
> 0 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       
> 0 lo
>
>
>HTH
>
>Yours Tony.
>
>/*
> * "The significant problems we face cannot be solved at the 
> * same level of thinking we were at when we created them."
> * --Albert Einstein
> */
>
>
>
|
| John Breen
|
| jbreen at wn.com.au
| john at fairport.com.au
|
| "Do not worry, Arthur Dent.  Be afraid.  Be VERY afraid."
| Agrajag, "Life, the Universe and Everything"
|




More information about the plug mailing list