Windows IP address

Anthony Lucia
Anthony Lucia used Ask the Experts™
on
I have a hostname I want to examine

for instance:  xxx.xxx.com

Open in new window


So if I ping xxx.xxx.com I can get its external address

ex: 9.9.9.9

Open in new window


What utility do I use to get its internal address

Ex:  10.10.10.10

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Neil RussellTechnical Development Lead
Commented:
You dont.

A DNS Name resolves to an IP Address. You can not get further details of internal networks from that. Imagine the Hackers dreaming of doing such a thing and the fun they could have!
You will need to have knowledge of the internal network configuration, the device responsible for NAT (Network Address Translation) could give you this.

The idea is very simple:
1. This model exists to allow internet services via private ips due to the decline in available public ipv4 addresses
2. It is much more secure and helps you to shield specific network devices from intrusion.

So in short without actual internal knowledge of the network config, you cannot get that info.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
If the internal IP address is behind a NAT firewall you probably will not be able to ping the name or IP.

If you have a VPN connection to the target machine, you might be able to ping the name. It depends on what DNS resolution services you have in place.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Neil RussellTechnical Development Lead
Commented:
This is the kind of question where you need to give a FULL explanation of what exactly you are trying to achieve.
Are they your server?
Are you able to physically connect to them?
do you manage the connections to them?

etc.

A reason and some details help to get at the correct answer.
With remote admin permissions or logon access to that computer you should be able to lookup the IP-configuration of the computer which will reveal the possible extra configured IP-addresses.
If the computer is connected to a managed network switch where you have access too there are also ways to get some more info if the computer is generating network traffic.
Normally, without any extra permissions on that computer or on the network where the computer resides it's not possible to lookup other possible configured IP-addresses.
Neil RussellTechnical Development Lead

Commented:
Would be nice to know WHAT the solution was as you have posted nothing at all.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial