How do you check your external IP?

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Sat May 12 18:50:35 UTC 2012


| From: Ted <ted.leslie-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>

| ip will show in text box if you traceroute or ping, etc.

That works if you are doing the ping or traceroute on the interface
that has the external IP address.  Most people are behind NAPT and
thus they would have to issue the command on the router, not their
computer.

If you are on the box with the interface with external IP address,
there are a million ways to find the IP address.  The old fashioned
one is ifconfig.  The newspeak way is ip addr show (I had to look it
up).

Others have come up with good suggestions for the case where your box
is behind NAPT (htp://icanhascheezburger.com).  It even works in the
non-NAPT case but is overkill.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list