public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nick Rout <nick@rout.co.nz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sub-net 0.0.0.0 [SOLVED]
Date: Sun, 28 Aug 2005 20:33:45 +1200	[thread overview]
Message-ID: <1125218025.11507.16.camel@sf.rout.dyndns.org> (raw)
In-Reply-To: <1125207340.10007.51.camel@sysconcept.ca>

On Sat, 2005-08-27 at 23:35 -0600, Joseph wrote:
> On Sat, 2005-08-27 at 10:23 +0100, Neil Bothwick wrote:
> > On Fri, 26 Aug 2005 17:20:12 -0600, Joseph wrote:
> > 
> > > Is there a way to check what IP the device has on the network?
> > > I know the device MAC address and when I plug it IN, it obtains one of
> > > the IP via DHCP.   With 
> > > arp -a IP
> > > arp -e 
> > > I can only check the MAC address.   Is there a way to other way around. 
> > 
> > Try arp -a
> 
> Very closed.  but better yet is:
> Knowing MAC address but looking for IP
> tcpdump -e -i eth0 |grep -i "00:09:45:52:04:da"
> Since I know the MAC address, the above command will capture the IP
> address of the device when plugged into the server.
> 
> Knowing IP address but looking for MAC
> ping IP
> arp -e

of course arp will only work if the device has actually done anything on
the network within arp's cache period. I just tried arp -a and found my
wireless AP did not appear in the list, probably because I haven't used
wireless for a few days. I pinged the (known) address and then tried
again and it showed up. 

> 
> -- 
> #Joseph
-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-28  8:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 16:02 [gentoo-user] sub-net 0.0.0.0 Joseph
2005-08-26 16:05 ` Joseph
2005-08-26 17:38 ` Willie Wong
2005-08-26 17:50   ` Joseph
2005-08-26 18:21     ` A. Khattri
2005-08-26 18:23     ` Willie Wong
2005-08-26 18:47       ` Joseph
2005-08-26 18:33     ` Neil Bothwick
2005-08-26 18:51     ` Alec Shaner
2005-08-26 19:15       ` Joseph
2005-08-26 20:34     ` Nick Rout
2005-08-26 21:56       ` Joseph
2005-08-26 22:04         ` José Pablo Ezequiel Fernández
2005-08-26 23:20           ` Joseph
2005-08-26 23:32             ` Jonathan A. Kollasch
2005-08-27  0:04               ` Joseph
2005-08-27  1:55             ` William Kenworthy
2005-08-27  9:23             ` Neil Bothwick
2005-08-28  5:35               ` [gentoo-user] sub-net 0.0.0.0 [SOLVED] Joseph
2005-08-28  8:33                 ` Nick Rout [this message]
2005-08-27  1:14         ` [gentoo-user] sub-net 0.0.0.0 Nick Rout

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1125218025.11507.16.camel@sf.rout.dyndns.org \
    --to=nick@rout.co.nz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox