LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2008, 01:01 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
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:383: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:575: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
 
Old 06-19-2008, 01:43 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
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?
 
Old 06-19-2008, 01:49 AM   #3
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
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.
 
Old 06-19-2008, 01:57 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE10.2 networking issue Inter. connect. issue LVSuSE Linux - Networking 3 08-31-2007 03:42 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 02:10 PM
Permission issue when accessing share using Samba hishii Linux - Software 4 01-02-2006 12:01 AM
router issue (accessing local webserver) FliesLikeABrick Linux - Networking 4 11-25-2005 12:43 PM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 07:07 AM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration