Gentoo Archives: gentoo-user

From: Joseph <syscon@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sub-net 0.0.0.0 [SOLVED]
Date: Sun, 28 Aug 2005 05:39:42
Message-Id: 1125207340.10007.51.camel@sysconcept.ca
In Reply to: Re: [gentoo-user] sub-net 0.0.0.0 by Neil Bothwick
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

Replies

Subject Author
Re: [gentoo-user] sub-net 0.0.0.0 [SOLVED] Nick Rout <nick@×××××××.nz>