On Mon, Mar 17, 2003 at 01:03:21PM +0530, Devdas Bhagat wrote:
>On 17/03/03 12:27 +0530, Rajesh wrote:
>> Hello,
>>
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> LANPJM-72-10.go * 255.255.255.255 UH 0 0 0 ppp0
>> 192.168.20.0 * 255.255.255.0 U 0 0 0 eth0
>> 10.71.0.0 * 255.255.255.0 U 0 0 0 eth0
>The netmask is /24 for this route.
>route add -net 10.71.0.0 netmask 255.255.0.0 dev eth0
>What you have is:
>route add -net 10.71.0.0 netmask 255.255.255.0 dev eth0
>which only covers 10.71.0.0-255
Yep.
I will explain my problem again in detail.
[EMAIL PROTECTED] /root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
LANPJM-72-10.go * 255.255.255.255 UH 0 0 0 ppp0
192.168.20.0 * 255.255.255.0 U 0 0 0 eth0
10.71.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default LANPJM-72-10.go 0.0.0.0 UG 0 0 0 ppp0
[EMAIL PROTECTED] /root]#
What we have got is this.
In Head Office we have got 192.168.20.x network.
In remote locations the ip will be given as 10.71.x.x
For location 1 the ip's will be :
10.71.1.x ....
For location 2 the ip's will be :
10.71.2.x ....
etc. etc.
We have got a cisco router in Head Office connected to the dish (VSAT).
The ip of this is 192.168.20.244.
Now the people in remote locations should be able to access the email
server which is in head office(192.168.20.1) via this VSAT connection.
This will be possible if I change the default gateway on the email
server to 192.168.20.244. But that is not possible since as seen above
in the routing table default gateway is assigned by the dsl connection
which cannot be changed.
In the above senario what should I do on the mail server routing table
so that the remote clients 10.71.x.x machine can access the email server
through the cisco router ?
Thanks for the reply.
Peace
--
Rajesh
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : BASH and non-login shells LOST #099
For non login-in shells (like xterm and rxvt) under BASH, the
file which gets read is ".bashrc". Settings in .bash_profile
may not be otherwise effective under X. Copy contents of your
.bash_profile to .bashrc to enable customised resources.
####<[EMAIL PROTECTED]>########################################
:
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help