Discussion Locked

Find IP address from MAC address?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What command can I use to determine a network card's IP address when all I know is the MAC address? This is for an external print server attached to a printer. Not a PC.

7 replies

by timthetoolman

Hi,

C:\> arp -a

from the command prompt will list the known ip address to mac address translations. Your printer will be included in that list if you've got it in your table.

type

C:\> arp

For other options...

Cheers,
Tim.

by davecoffin

I failed to mention that I tried the arp command. It wasn't listed in the table. This is a new install, and didn't have any previous connections. What other commands could I try?

by isys

Ip addresses are assigned either by DHCP or statically. If your print server is set up for DHCP you should see the MAC address in the table. If it's set statically there's no way I can think of, because in order to get a reply (including ARP) you have to ping the address, which is a Catch 22. What kind of print server is it? There should be some type of management software that you can use to configure it, and that should permit you to view the address.

by timthetoolman

Hi,

Hopefully you know the name of the machine (or printer) you're interested in.

You can ping by name... The address translation will be handled either by DNS or NetBIOS depending on how your network is set up.

For example...

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Tim Medhurst>ping gwserv

Pinging gwserv [192.168.0.1] with 32 bytes of data:

Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

E:\Documents and Settings\Tim Medhurst>arp -a 192.168.0.1

Interface: 192.168.0.3 --- 0x2
Internet Address Physical Address Type
192.168.0.1 00-80-29-63-bb-e4 dynamic

E:\Documents and Settings\Tim Medhurst>

...finds the MAC address of my printer/Internet server given its name...

But lets face it, if you dont know the name or IP address, then you know nothing about it and how can you hope to find it?

Hope this helps,
Cheers,
Tim.

This discussion is closed to new replies.