public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [OT] network discovery tools
Date: Wed, 25 May 2011 19:59:32 +0000 (UTC)	[thread overview]
Message-ID: <irjn34$sij$1@dough.gmane.org> (raw)
In-Reply-To: 871uzmwon0.fsf@newsguy.com

On 2011-05-25, Harry Putnam <reader@newsguy.com> wrote:

> There must be a number of people who post here that have had to do
> this problem.
>
> Discover the addresses of computers on a home network that have
> connected by way of DHCP.  For example: Several wireless connections.
>
> I've used static IPs for around 10 yrs, always seemed handier for
> things like ssh between home lan computers. 
>
> But recently started using DHCP for wireless connections.  It must be
> such a popular method for some reason.
>
> But when you do it that way, and say want to VNC or ssh or the like to
> something connected by a dhcp serving WAP then how do you find the
> address?

The best thing to do is to use a DHCP server and DNS server that are
"connected" somehow.  Then hostnames "just work".  Or you can
statically assign IP addresses in the DHCP server so that DHCP clients
always get hard-wired IP addresses that match up with the /etc/hosts
file on the DNS server.

I use OpenWRT for WAP, DNS, and DHCP, and it all pretty much "just
works".  When a DHCP client is assigned an IP address, the DNS server
knows about it and you can access it by it's hostname just the way you
would with a static setup.

For various reasons, I assign static IP addresses to a number of
devices, but I do it via the DHCP server's configuration, not by
configuring each individual device.

-- 
Grant Edwards               grant.b.edwards        Yow! Did an Italian CRANE
                                  at               OPERATOR just experience
                              gmail.com            uninhibited sensations in
                                                   a MALIBU HOT TUB?




  parent reply	other threads:[~2011-05-25 20:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 19:45 [gentoo-user] [OT] network discovery tools Harry Putnam
2011-05-25 19:54 ` Stéphane Guedon
2011-05-25 20:26   ` Vincent-Xavier JUMEL
2011-05-25 19:59 ` Grant Edwards [this message]
2011-05-25 20:28   ` [gentoo-user] " Harry Putnam
2011-05-26 18:22     ` Neil Bothwick
2011-05-25 21:55 ` [gentoo-user] " Neil Bothwick
2011-05-26 16:24 ` Florian Philipp
2011-05-26 19:04   ` Mick
2011-05-28  1:11 ` [gentoo-user] " James
2011-05-29 22:33   ` Harry Putnam

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='irjn34$sij$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --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