Hi,

Lately, my office network setup has been reconfigured into machines within the 
10.20.0.0 network
and machines within the 10.30.0.0 network (the netmask for both networks being 
255.255.0.0). 

My linux box is on the following IP - 10.30.254.102. The gateway to the internet is on
10.20.1.110. I can reach the 10.20.0.0 network through an internal gateway 10.30.0.1, 
but
10.30.0.1 is not connected to the internet. 

If I set up a route to 10.20.1.110 via 10.30.0.1 and then set my default gateway to 
10.20.1.110, I
get the following error:

#route add -host 10.20.1.110 gw 10.30.0.1

#route add default gw 10.20.1.110
SIOCADDRT: Network is unreachable

How can I set 10.20.1.110 as my default gateway? I do not have the mandate to modify 
the settings
of any other machine apart from my Linux box. I cannot change the IP address of my 
Linux box.

The man pages on "route" says:
NOTE: The specified gateway must be reachable first. This usually means that you have 
to set up a
static  route  to  the  gateway  beforehand. 

Any help in this regard will be appreciated

Sam



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to