[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Can't Ping Public IP Address from internal network

Posted on 2008-02-06
12
Medium Priority
?
7,345 Views
Last Modified: 2016-10-24
My router ip address is 24.178.xxx.xxx . I can successfully ping this ip address from anywhere is the world, however, when I am on my internal 192.168.x.x network, I can't ping it at all. This prevents me from access email server etc without using the local ip.

The router is a Netgear FVS124G with latest firmware. Thanks!
0
Comment
Question by:TheBigDog
  • 5
  • 3
  • 2
  • +2
12 Comments
 

Expert Comment

by:tfarraritps
ID: 20832193
Basically, you can never route via your IP back to your own IP. This isn't a fault, just the way routing works i am afraid.
0
 
LVL 20

Expert Comment

by:jdera
ID: 20832196
That is correct, that is by design.  If you access your e-mail server, you should not be using the IP, but the DNS.  There is an inside IP of the router and an outside address for that reason.  What are trying to do?
0
 

Author Comment

by:TheBigDog
ID: 20832224
Ok. I am trying, for example, to access our webserver using the fqdn (www.company.com), but via DNS lookup, it points to that public IP, thus making that website unreachable unless I use that private IP. I guess the question I should be asking is how I can get my DNS server to point to the private address if on an internal network, if that made any sense. Using Windows 2003 servers which forward outside requests to ISP DNS.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Expert Comment

by:tfarraritps
ID: 20832259
Well, you could add a A record on your DNS server with a nice internal name, like 'webserve'...

Of course, you could just give yourself a local hosts entry - nice and easy!
0
 

Author Comment

by:TheBigDog
ID: 20832311
So, in other words, there is NO way to access that website on the local network using the external domain name?

I do have a nice local name via A Record, but, of course, that confuses some people (non-techies) as to why there are two names to the same website....

Thanks for the help!
0
 

Expert Comment

by:tfarraritps
ID: 20832434
Well, if you migrated your webserve's NAT rules to a different IP it would work....

For example, say currently both your website traffic and browser traffic goes in and out the one IP of 91.*.*.50 - this will never work. However, if you kept the 91.*.*.50 IP for browser traffic, but migrated your website traffic to go via 91.*.*.51 (change your NAT rule to listen on that IP and allow 80/443 TCP via it) then it would work, but you would have to change your external DNS A records also etc etc.

To be honest, i would drill the local name into them and save yourself hassle!
0
 

Accepted Solution

by:
TheBigDog earned 0 total points
ID: 21117267
I've figured out a work around. I created a new internal DNS zone to resolve the external name, to point to the local server. This seems to work nicely. Thanks for the efforts.
0
 

Expert Comment

by:K A
ID: 24758142
How do you create "a new internal DNS zone?"
0
 

Author Comment

by:TheBigDog
ID: 24758217
Administrative Tools -> DNS -> Forwared Lookup Zone -> New Zone-> Primary Zone

I show two. One is for domainname.com and windowsdomainname.domainname.com with an entry to my local server with DNS (computername.windowsdomain.domainname.com)
0
 

Expert Comment

by:K A
ID: 24758734
Got it... Thanks for the nudge in the right direction.
0
 

Expert Comment

by:Jay Blancaflor
ID: 41856920
Hi guys!

I just want to get some explanation. I hope somebody can help me. I got my new ISP and I try to check my speed using speedtest.net and I also use whatismyip.com and iplocation.net, I get same IP address from the three sites I opened but when I tried "PING" the given IP address it say "REQUEST TIME OUT". I was curios and try to open the modem router they gave and I looked at the WAN IP address is different from the IP shown from the three sites I open. I am not good when it come to networking, I just want to know why, is it possible and or is there a problem? to those who will send an explanation I would like to thank you in advance.

Kind regards,
Jay
0
 

Author Comment

by:TheBigDog
ID: 41857114
That's a different issue entirely. Most ISP's, on purpose, don't have their customer routers reply to pings to their public facing IP addresses (the one you'd find from a site like whatsmyip.com). The IP address you got from your router is probably your gateway address, also not likely pingable. That is a different address than your public facing IP. So in short, there is nothing wrong. This is expected behavior.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article explains the protocols and technology which is involved when two computers on different TCP/IP networks communicate with each other. In the diagram, a router is used to segregate two networks. The networks are 192.168.1.0/24 and 192…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question