"Joost R. Meerten" <(E-Mail Removed)> writes:
> "weiwufeng" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)
> > My host has a address 202.102.224.86.
> >
> > But I want access a host has 10.0.0.225.The host and my host are in
> > different network.And 10.0.0.225 is behind the gateway 202.102.241.203.
> > How can I access the 10.0.0.225 host through the gateway?
>
> You can't. 10.0.0.225 is an IP address in a private class. The gateway will
> not route to it.
That's not exactly right. Router should not route the private IP
addresses on the public Internet, but nothing prevent you to configure
your routers to route private IP addresses on your private segments.
You can have a LAN with a public IP 202.102.224/24, connected to
another LAN of yours with a private IP 10/8 itself connected to the
Internet.
+----------+ +----------+
----------------------| router 1 |----------------| router 2 |-----------
202.102.224/24 +----------+ 10/8 +----------+ The Internet
So, router 1 will route both 10/8 and 202.102.224/24, while router 2
won't route 10/8, but will route the rest of the public trafic
(including NATed trafic from 10/8).
The OP does not give enough information, but one problem he may have
is that the network configured on his LAN is not 10/8, but
10.0.0/24. Then, 10.0.0.255 is not considered as a host address, but
as the broadcast address. One should make sure that the netmasks are
configured correctly.
--
__Pascal Bourguignon__
http://www.informatimago.com/
To vote Democrat or Republican, it's like changing of cabin in the Titanic.