public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Pinging two devices on the same IP address
Date: Wed, 24 Oct 2007 11:05:12 +0100	[thread overview]
Message-ID: <200710241105.23047.michaelkintzios@gmail.com> (raw)
In-Reply-To: <200710241034.35856.shrdlu@unlimitedmail.org>

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

On Wednesday 24 October 2007, Etaoin Shrdlu wrote:
> On Wednesday 24 October 2007, Mick wrote:
> > Thanks guys.  The AP has a reserved static LAN IP address on the
> > router (10.10.10.13).  It also has a MAC.  So it is simply a matter of
> > forwarding (all) ICMP echo-reply packets that arrive from the Internet
> > to that LAN address. (On this implementation the AP is itself a
> > Linksys wireless router).
> >
> > I wonder if I can play tricks with ping's ICMP headers to
> > differentiate between them as they come into the router, or something
> > clever that I haven't yet figured out.  Any ideas?
>
> Disclaimer: I have not tested what follows.
>
> Can't you just use traceroute?
> If you run tracert from windows, it should already work, since it uses
> ICMP echo requests. Otherwise, you should open UDP port 33434 on the
> router.

I don't have access to a MS Windows machine right now, but using mtr I get:
====================================================
 [snip . . .]

 23. XX-XX-XXX-XX.dhcp.kgpt.tn.cha  6.7%    15  145.5 145.4 143.2 146.9   1.3
 24. ???                          100.0    15    0.0   0.0   0.0   0.0   0.0
 25. XX.XX.XXX.XXX                 6.7%    15  155.9 156.2 154.2 159.1   1.3
====================================================

It seems that hop 23 is the dhcp server of the ISP. Hop 25. is the public IP 
address of the router.  I assume that hop 24. is the cable modem which acts 
as a bridge(?).

Since the AP is within the LAN and the connection to it is NAT'ed, it is not 
shown above.  Am I correct in my thinking?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-24 10:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 21:03 [gentoo-user] [OT] Pinging two devices on the same IP address Mick
2007-10-23 21:27 ` Daniel da Veiga
2007-10-23 21:43   ` Dan Farrell
2007-10-23 22:12     ` Mark Shields
2007-10-23 22:32       ` Dan Farrell
2007-10-24  8:19         ` Mick
2007-10-24  8:34           ` Etaoin Shrdlu
2007-10-24 10:05             ` Mick [this message]
2007-10-24 11:41               ` Etaoin Shrdlu
2007-10-24  9:33   ` Stroller
2007-10-24 10:33     ` Ricardo Saffi Marques
2007-10-24 14:41     ` Daniel da Veiga
2007-10-24 18:28       ` Stroller
2007-10-25  0:21         ` Dan Farrell
2007-10-25  1:03           ` Daniel da Veiga
2007-10-25  8:00             ` Dan Farrell

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=200710241105.23047.michaelkintzios@gmail.com \
    --to=michaelkintzios@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