1 |
On Sat, 2005-08-27 at 10:23 +0100, Neil Bothwick wrote: |
2 |
> On Fri, 26 Aug 2005 17:20:12 -0600, Joseph wrote: |
3 |
> |
4 |
> > Is there a way to check what IP the device has on the network? |
5 |
> > I know the device MAC address and when I plug it IN, it obtains one of |
6 |
> > the IP via DHCP. With |
7 |
> > arp -a IP |
8 |
> > arp -e |
9 |
> > I can only check the MAC address. Is there a way to other way around. |
10 |
> |
11 |
> Try arp -a |
12 |
|
13 |
Very closed. but better yet is: |
14 |
Knowing MAC address but looking for IP |
15 |
tcpdump -e -i eth0 |grep -i "00:09:45:52:04:da" |
16 |
Since I know the MAC address, the above command will capture the IP |
17 |
address of the device when plugged into the server. |
18 |
|
19 |
Knowing IP address but looking for MAC |
20 |
ping IP |
21 |
arp -e |
22 |
|
23 |
-- |
24 |
#Joseph |
25 |
-- |
26 |
gentoo-user@g.o mailing list |