LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Issue with IP Accessing?? (https://www.linuxquestions.org/questions/linux-newbie-8/issue-with-ip-accessing-650223/)

ajeetraina 06-19-2008 12:01 AM

Issue with IP Accessing??
 
I have a linux machine which I want to be accessed from outside world.The Ip adress of the machine is 10.14.236.102.The Issue I am facing is I am able to ping to public IP throuhg my internal network but cannot be able to ping to this IP.

The Information related to routing and ip addresses is given below:



[code]
Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

59.145.142.40 * 255.255.255.248 U 0 0 0 eth1

10.14.236.0 * 255.255.254.0 U 0 0 0 eth0

169.254.0.0 * 255.255.0.0 U 0 0 0 eth1

default 59.145.142.41 0.0.0.0 UG 0 0 0 eth1



[root@ocmp2 ~]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:1B:78:38:D3:02

inet addr:10.14.236.102 Bcast:10.14.237.255 Mask:255.255.254.0

inet6 addr: fe80::21b:78ff:fe38:d302/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:171873 errors:0 dropped:0 overruns:0 frame:0

TX packets:186 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:16047248 (15.3 MiB) TX bytes:20362 (19.8 KiB)

Interrupt:225 Memory:f6000000-f6011100



eth1 Link encap:Ethernet HWaddr 00:1B:78:57:D5:92

inet addr:59.145.142.45 Bcast:59.145.142.47 Mask:255.255.255.248

inet6 addr: fe80::21b:78ff:fe57:d592/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1216537 errors:0 dropped:0 overruns:0 frame:0

TX packets:14265 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:160895656 (153.4 MiB) TX bytes:1161615 (1.1 MiB)

Base address:0x4000 Memory:f9fe0000-fa000000

Mr. C. 06-19-2008 12:43 AM

I'm not sure I understand correctly. Are you trying to ping from another machine on the LAN ?

Am I correct in understanding that your 10.14.236.102/eth0 interface is your LAN IP, and your 59.145.142.45/eth1 interface in your WAN IP.

Is the LAN IP connected to router ?

How are the other LAN clients connected?

ajeetraina 06-19-2008 12:49 AM

Yes, I am trying to ping from another machine outside LAN.
Ya, LAN IP=eth0 and WAN IP=eth1
Ya, I am able to ping my gateway=10.14.236.1 but not able to ping 10.14.236.102(IP)
As for now I am able to login to public IP sitting in the LAN itself.

Mr. C. 06-19-2008 12:57 AM

There is a terminology problem here. Your 10.14.236.0/23 network is a non-routable IP address, inaccessible from the WAN. Therefore, by definition, it is part of the LAN (not WAN).

If you are able to ping the gateway 10.14.236.1, then you must be on your own (or some other private) network. What device is at 10.14.236.1 ?


All times are GMT -5. The time now is 01:57 PM.