Beginner Need Help!!!!

  • Thread starter Thread starter ckm
  • Start date Start date
C

ckm

In my PC, there are 2 NIC, one act as external IP
(202.185.112.79) and another act as Internal IP
(192.168.11.50). I already configure the 2 NIC
configuration.

Then, I go to set a range of client address in the DCHP
(start from 192.168.10.1 to 192.168.10.50), then I use the
remote pc to test, the result is the client computer
cannot go through my server.

Here are the following client TCP/IP info :
IP address: 192.168.10.1
subnet:255.255.255.0
Default Gateway:192.168.111.254
Preferred DNS:192.168.111.50

Can u tell me what is going wrong??????

THANKS YOU!!!
 
ckm said:
In my PC, there are 2 NIC, one act as external IP
(202.185.112.79) and another act as Internal IP
(192.168.11.50). I already configure the 2 NIC
configuration.

Then, I go to set a range of client address in the DCHP
(start from 192.168.10.1 to 192.168.10.50), then I use the
remote pc to test, the result is the client computer
cannot go through my server.

Here are the following client TCP/IP info :
IP address: 192.168.10.1
subnet:255.255.255.0
Default Gateway:192.168.111.254
Preferred DNS:192.168.111.50

Can u tell me what is going wrong??????

THANKS YOU!!!

First, make sure that server in RRAS has ip forwarding enabled. The problem
is related to how the client routes from the 192.168.10.x subnet to the
192.168.11.x subnet. The client receives the appropriate default gateway
(192.168.11.254) but the RRAS server's routing table has a route to
192.168.11.x with a metric of 2 (2 hops away).

The fix is to "add route" a path with a metric of 1.
route -p add 192.168.11.0 mask 255.255.255.0 192.168.11.254 metric 1
 
I am not so understand, can give me more clear picture and
the way to perform it.
 
I am not so understand, can give me more clear picture and
the way to perform it.


There are a few documents available that explain the procedure but these
involve VPNs and are a lot more complicated. If your problem is that you
haven't enough knowledge about tcp/ip, subnets and default gateways, then
you might consider looking those up first.

Examine the routing table at the RRAS server. Keep in mind that packets
route around a network by using a router's routing table. If no route is
available to steer a packet from a subnet to another, a router won't forward
the packet. Basic tcp/ip 101 revisited.

If what you need to do is access the remote private network, this implies
that you are trying to reach the remote network's DNS server (to provide
name resolution). In such a case you need to add 2 routes to the RRAS's
routing table since you want the DNS queries to reach the client as well.

As far as the "add route" command is concerned, like all commands, typing
"add route /?" from a dos prompt will give you the specifics. Pay close
attention to the word "metric' since it implies the cost in router hops from
one destination to another.

http://www.jsiinc.com/SUBK/tip5000/rh5063.htm
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q178993
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top