[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Pinging Server FQDN and I'm getting response from Site IPs

Posted on 2016-11-11
4
Medium Priority
?
38 Views
Last Modified: 2016-11-22
I have multiple IP addresses on my Server Farm NIC.
The default IP Address: 192.168.1.16
The added IPs are 192.168.1.17 and 192.168.1.18
Now why when I ping the server FQDN I get the response from 192.168.1.17 not my default IP of 192.168.1.16.
0
Comment
Question by:fofanah78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 2000 total points
ID: 41883964
If the 192.168.1.17 address is registered in DNS as the host name of the server, you'll get that IP response.  You can assign a static A (host) record in DNS, calling 192.168.1.17 by some other host name, but since this is one NIC with multiple IPs there's little else you can do about it.
0
 
LVL 27

Expert Comment

by:DrDave242
ID: 41883985
Try nslookup <fqdn>. It should return all of the IP addresses registered to that name. If you do it repeatedly, you'll see that the addresses are returned in a different order each time, assuming round-robin is enabled on your DNS server.

Ping simply picks one of the addresses the first time you use it. That address then gets cached on your machine for a while (the TTL value of the corresponding DNS record), so subsequent pings will show the same address. When the TTL of the cached record expires, the name will again be resolved from the DNS server, but there's no way to predict which address it will resolve to.

EDIT: I should say that there's no way to predict which address ping will use. The name will technically still resolve to every registered address.
0
 

Accepted Solution

by:
fofanah78 earned 0 total points
ID: 41891909
Now I have a clear understanding.  Thanks guys!!
0
 

Author Closing Comment

by:fofanah78
ID: 41897235
This made total sense.
0

Featured Post

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

650 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