Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to access the address sucn as 10.0.0.225?

Reply
Thread Tools Display Modes

How to access the address sucn as 10.0.0.225?

 
 
weiwufeng
Guest
Posts: n/a

 
      10-02-2004, 09:08 PM
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?
 
Reply With Quote
 
 
 
 
Joost R. Meerten
Guest
Posts: n/a

 
      10-02-2004, 09:31 PM
"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.

The machine may have a public address (in the 202.102.241 network) with
10.0.0.225 as just a private alias, but without access to the gateway,
there's no sure way for you to find out what it would be. In fact, if the
gateway uses NAT
(http://www.netfilter.org/documentati...AT-HOWTO.html), there's not
even a way of knowing that a certain connection is going to 10.0.0.225. If
you can access to the gateway and can configure it, you can use NAT to
enable connections to the machine. See the HOWTO for that.

If you cannot configure the gateway, there's a good reason why you can't
address the machine: you're not supposed to. The idea behind private
addresses is to keep the general public, such as you, out. In this case, it
seems to be working...

J.

 
Reply With Quote
 
weiwufeng
Guest
Posts: n/a

 
      10-03-2004, 12:27 AM
Thank you:

Sometime my Symantec Firewall reports a 61.XX.XX.XX access my 10.XX.XX.XX . As you said,it is a error alarm. Really?

Now I use my linux box as NAT. .

weiwufeng


 
Reply With Quote
 
Pascal Bourguignon
Guest
Posts: n/a

 
      10-03-2004, 02:43 AM
"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.
 
Reply With Quote
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      10-03-2004, 01:15 PM
weiwufeng wrote:
> 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?


The gateway has to provide routing from your network to the network
where the other machine is, that's all. It's a matter of the
administrator of the gateway to provide the routing between the
networks. If you are this person you can do it, if not then you
cannot do it.


--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      10-03-2004, 02:23 PM
weiwufeng wrote:

> 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?


If you're trying to access a local computer from the internet (it's hard to
tell from your message), you can set up your firewall for port forwarding.

--

(This space intentionally left blank)
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      10-03-2004, 02:25 PM
James Knott wrote:

> weiwufeng wrote:
>
>> 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?

>
> If you're trying to access a local computer from the internet (it's hard
> to tell from your message), you can set up your firewall for port
> forwarding.
>


Forgot to mention, you connect to your public address, not 10.x.x.x. The
firewall will then forward to a computer behind the firewall.

--

(This space intentionally left blank)
 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      10-03-2004, 04:23 PM
James Knott <(E-Mail Removed)> writes:

]weiwufeng wrote:

]> 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?

]If you're trying to access a local computer from the internet (it's hard to
]tell from your message), you can set up your firewall for port forwarding.

You cannot access any address in the 10.x.x.x range through a gateway.
Those are non-routable addresses and any router will simply throw them
away. HOwever as Knott says, you could do port forwarding-- ie reference
that compter under the IP of another valid computer but with a special port
number. Your firewall, which is on the same net as your 10.x.x.x machine
can then translate that request and send it on to your machine.
 
Reply With Quote
 
Kimmo Koivisto
Guest
Posts: n/a

 
      10-03-2004, 04:38 PM
weiwufeng wrote:

> 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?


Add route to the host 10.0.0.255 via 202.102.224.68

#route add -host 10.0.0.255 gw 202.102.224.68

Add previous route command to your distributions startup files

Regards
Kimmo Koivisto
 
Reply With Quote
 
Bernhard Kastner
Guest
Posts: n/a

 
      10-03-2004, 04:51 PM
Kimmo Koivisto schrieb:
>
> #route add -host 10.0.0.255 gw 202.102.224.68
>


bad idea when switching his internal network to a 10.x net or going to a
LAN-Party with a 10.x net

He should see the 10.x IP anyway nowhere...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get access point Ip address using WMI sandeep.pandya@patni.com Broadband Hardware 1 01-24-2007 04:38 PM
access violation at address 004075e5 module WUSB54G4.exe of address 00000368 Houndog Wireless Internet 10 02-13-2006 06:56 PM
"access violation at address 004075e5 module WUSB54G4.exe of address 00000368 Houndog Windows Networking 0 02-12-2006 09:40 PM
Every time my Linux PC gets new Ip address, I can't access remotely, how can I access?/ GS Linux Networking 7 10-16-2005 03:53 AM
Access Point IP Address Geoff Lane Windows Networking 4 07-21-2003 08:56 AM



1 2 3 4 5 6 7 8 9 10 11