Way to ask the Airport Extreme what it’s external IP is via terminal

airportNetworkterminal

Finally realized that my ISP was carriage natting me, and my router's ip is really on the ISPs network and not externally facing. =(

My ISP Is doing something that is thwarting my ability to get my Airpot Extremes IPv4 addresss. When I look at it via the airport utility, I clearly can the right address. However when I use something like checkip.dyndns.org, icanhazip.com, http://www.whatsmyip.org, it gives me the wrong IPv4. Would like to use dyndns, and so far just entering in the ip manually.

Is there a way to just ask the Airport Extreme what it's external IP is via the terminal?

So I am sure this question has been asked a lot, but I believe this is a slightly different question from the one below.

How to obtain the external IPv4 address via Terminal

SO Googling what's my ip, or any of those similar solutions is not going to work because my ISP is double batting me or something.

My airport is plugged directly into the ISP.

Here is a trace route to cnn

traceroute to cnn.com (157.166.226.25), 64 hops max, 52 byte packets
 1  10.0.1.1 (10.0.1.1)  1.947 ms  0.644 ms  1.224 ms
 2  10.0.27.33 (10.0.27.33)  3.719 ms  2.479 ms  2.487 ms
 3  10.0.55.1 (10.0.55.1)  3.990 ms  2.365 ms  3.992 ms
 4  10.0.32.54 (10.0.32.54)  3.732 ms
    10.0.32.50 (10.0.32.50)  3.752 ms
    10.0.32.54 (10.0.32.54)  2.470 ms
 5  10.0.7.173 (10.0.7.173)  15.431 ms
    25.66.208.web-pass.com (208.66.25.57)  1.995 ms
    10.0.7.173 (10.0.7.173)  3.590 ms
 6  x.196.247.173.web-pass.com (173.247.196.101)  3.647 ms  3.496 ms  2.737 ms
 7  x.196.247.173.web-pass.com (173.247.196.105)  3.984 ms  3.818 ms  3.727 ms
 8  v505.core1.sfo1.he.net (216.218.229.113)  14.486 ms  3.665 ms  3.969 ms
 9  10ge11-2.core1.sjc2.he.net (184.105.213.161)  5.239 ms  11.364 ms  5.228 ms
10  10ge3-2.core3.fmt2.he.net (184.105.222.13)  5.265 ms  4.872 ms  15.784 ms
11  10ge3-1.core1.dal1.he.net (72.52.92.154)  62.946 ms  74.556 ms  53.661 ms
12  10ge5-4.core1.atl1.he.net (184.105.213.114)  65.513 ms  65.322 ms  65.630 ms

Best Answer

Is your Airport the 'last hop' before the ISP? Straight into the modem, no other router between you & them?

If so, then asking Google 'what's my IP address?' will show it.

That address is the 'border' between you & the outside world & in fact it kind of is partly at your Airport & partly at the next hop, your ISP, insomuch as it's your last reference point, & their first.
You'd need a hardware engineer to clarify that last point - the details are beyond me, I'm afraid.