Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


  • a server is multi-homed to a variety of networks (perhaps it is a jump box)
  • DNS has the hostname registered only on one network (the management interface, perhaps)


  • without logging-into the server, report all interfaces currently configured, and the IP addresses in use


How would you do this for Window? On Linux?

share|improve this question
From the switch. – kls Mar 5 '12 at 22:17
Golly gosh, that sure looks like something taken straight from a test paper. – John Gardeniers Mar 6 '12 at 1:17
@Josh Gardeniers - maybe it is, but I've been out of school for quite a while :) – warren Mar 6 '12 at 13:24
up vote 6 down vote accepted

Look into the linux arp command. I hope windows has a similar command.

"ARP stands for Address Resolution Protocol, which is used to find the media access control address of a network neighbour for a given IPv4 Address."

You may need to run the arp command on each network the server is part of. If you have access to firewalls/routers those should have an arp table you can check.

You will need to know the mac address of the server's ethernet interfaces. But if you don't know those it's not that hard to find out. If the make and model of your server are somewhat unique in the network you can look it up at sites such as and match the make you find there with the one of the server.

If you do have a list of mac addresses (who does) of the server just look it up using that list.

Suffice it to say that arp also reports either the hostname or IP address (if used with -n it will not attempt to resolve).

share|improve this answer
Yes, Windows does have an arp command. – John Gardeniers Mar 6 '12 at 1:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.