Discussion:
Getting IP address of Airport Extreme?
(too old to reply)
Dale Stanbrough
2007-06-03 05:40:41 UTC
Permalink
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).

Is it possible to get the address of the AE?

thanks,

Dale
--
***@spam.o.matic.bigpond.net.au
Marc Heusser
2007-06-03 06:54:49 UTC
Permalink
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
thanks,
Dale
Airport Admin Utility?

HTH

Marc
--
Switzerland/Europe
<http://www.heusser.com>
remove CHEERS and from MERCIAL to get valid e-mail
Dale Stanbrough
2007-06-03 10:49:13 UTC
Permalink
Post by Marc Heusser
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
thanks,
Dale
Airport Admin Utility?
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.

Thanks,

Dale
--
***@spam.o.matic.bigpond.net.au
André Berger
2007-06-03 11:10:52 UTC
Permalink
Post by Dale Stanbrough
Post by Marc Heusser
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
Airport Admin Utility?
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
I'm not sure if that clarifies things, or not.

In Terminal.app, run

host yourhost.dyndns.org

-André
--
May as well be hung for a sheep as a lamb!
Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org
Dale Stanbrough
2007-06-03 22:15:24 UTC
Permalink
Post by André Berger
Post by Dale Stanbrough
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
I'm not sure if that clarifies things, or not.
In Terminal.app, run
host yourhost.dyndns.org
I think I need to clarify the problem a bit more.

I've got non-"yourhost.dyndns.org" sites - they are .com, .com.au and
.net.au sites.


At the moment I've got this scenario...

Internet------ISP--------Mac (running DynDNS Updater)

DynDNS updater can get the external address simply by querying the Mac
that it is running on.


I would like to have this scenario set up this scenario


Internet------ISP-----AirportExpress------Mac (running DynDNS Updater)


When the AE gets an IP address from my ISP, the Mac needs to find out
what the address is, and let dyndns.org know about it so that web
requests come to my machine. DynDNS updater needs to query the router
for it's address. Alternatively I need to write a small program to query
the AE itself (if possible) and update dyndns myself (or modify DynDNS).


I had previously tried using "External" in DynDNS updater when I was
using a Netgear WNR854T router but it was never able to successfully get
the IP address from it. Would it be more successful with an AE?

I'm on cable and my ISP doesn't provide static IP addresses.

Running "host yourhost.dyndns.org" will (i think) only tell me what I've
already told dyndns my IP address is (but it's not the correct type of
domain anyway).

I agree that I get the same address from my ISP most of the time, but I
was hoping to automate this so that it doesn't have to worry about it at
all.


Thanks for your help so far, much appreciated.

Dale
--
***@spam.o.matic.bigpond.net.au
Tom Stiller
2007-06-03 22:52:22 UTC
Permalink
Post by Dale Stanbrough
Post by André Berger
Post by Dale Stanbrough
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
I'm not sure if that clarifies things, or not.
In Terminal.app, run
host yourhost.dyndns.org
I think I need to clarify the problem a bit more.
I've got non-"yourhost.dyndns.org" sites - they are .com, .com.au and
.net.au sites.
At the moment I've got this scenario...
Internet------ISP--------Mac (running DynDNS Updater)
DynDNS updater can get the external address simply by querying the Mac
that it is running on.
I would like to have this scenario set up this scenario
Internet------ISP-----AirportExpress------Mac (running DynDNS Updater)
Yeah, that's what I have too.
Post by Dale Stanbrough
When the AE gets an IP address from my ISP, the Mac needs to find out
what the address is, and let dyndns.org know about it so that web
requests come to my machine. DynDNS updater needs to query the router
for it's address. Alternatively I need to write a small program to query
the AE itself (if possible) and update dyndns myself (or modify DynDNS).
I had previously tried using "External" in DynDNS updater when I was
using a Netgear WNR854T router but it was never able to successfully get
the IP address from it. Would it be more successful with an AE?
If you configure the DNSUpdate client to use External/External
(bypassing Proxy), you won't need to specify the address. Read the
DNSUpdate Help section.
Post by Dale Stanbrough
I'm on cable and my ISP doesn't provide static IP addresses.
Mine either.
--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
Tom Stiller
2007-06-03 23:08:59 UTC
Permalink
Post by Tom Stiller
Post by Dale Stanbrough
When the AE gets an IP address from my ISP, the Mac needs to find out
what the address is, and let dyndns.org know about it so that web
requests come to my machine. DynDNS updater needs to query the router
for it's address. Alternatively I need to write a small program to query
the AE itself (if possible) and update dyndns myself (or modify DynDNS).
I had previously tried using "External" in DynDNS updater when I was
using a Netgear WNR854T router but it was never able to successfully get
the IP address from it. Would it be more successful with an AE?
If you configure the DNSUpdate client to use External/External
(bypassing Proxy), you won't need to specify the address. Read the
DNSUpdate Help section.
Post by Dale Stanbrough
I'm on cable and my ISP doesn't provide static IP addresses.
Mine either.
My mistake. I was looking at the old "DNSUpdate" application, rather
than the newer "DynDNS Updater" application.

In the Host preference pane, select
Interface: External (bypassing Proxy)
System: Dynamic DNS

That should get you up and running.
--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
Dale Stanbrough
2007-06-06 12:10:21 UTC
Permalink
Post by Tom Stiller
That should get you up and running.
Thanks everyone for your help. I'll be trying this out on the weekend.

Dale
--
***@spam.o.matic.bigpond.net.au
Michelle Steiner
2007-06-03 23:10:13 UTC
Permalink
Post by Dale Stanbrough
I agree that I get the same address from my ISP most of the time, but
I was hoping to automate this so that it doesn't have to worry about
it at all.
This works with my Belkin router; it is a brute force method, I realize,
but it does work. Modifications will have to be made for other routers,
I'm sure.

open location "http://192.168.2.1"
tell application "Safari"
delay 2
set foo to the text of document 1
close document 1
end tell
set text item delimiters to "Wan IP"
set bar to the text items of foo
set text item delimiters to space
set foobar to the first text item of (the second text item of bar)
set text item delimiters to ASCII character 10
set myRoutersURL to the second text item of foobar
--
Support the troops: Bring them home ASAP.
André Berger
2007-06-04 03:35:56 UTC
Permalink
Post by Dale Stanbrough
Post by André Berger
Post by Dale Stanbrough
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
host yourhost.dyndns.org
I've got non-"yourhost.dyndns.org" sites - they are .com, .com.au and
.net.au sites.
At the moment I've got this scenario...
Internet------ISP--------Mac (running DynDNS Updater)
DynDNS updater can get the external address simply by querying the Mac
that it is running on.
I would like to have this scenario set up this scenario
Internet------ISP-----AirportExpress------Mac (running DynDNS Updater)
When the AE gets an IP address from my ISP, the Mac needs to find out
what the address is, and let dyndns.org know about it so that web
requests come to my machine. DynDNS updater needs to query the router
for it's address.
I must confess I don't know this application, but I would be
surprised if it didn't have a concept to deal with this scenario.
Post by Dale Stanbrough
Alternatively I need to write a small program to query
the AE itself (if possible) and update dyndns myself (or modify DynDNS).
Like addns with the "webcheck" method?
<http://www.funtaff.com/software/addns.pl/>

-André
D P Schreber
2007-06-04 12:43:36 UTC
Permalink
Post by Dale Stanbrough
I had previously tried using "External" in DynDNS updater when I was
using a Netgear WNR854T router but it was never able to successfully get
the IP address from it. Would it be more successful with an AE?
The 'External' option in DynDNS Updater always worked fine for with a
Netgear wired router, and continues to work with an Airport Express. If
you happen to use a web proxy, then try 'External (bypassing Proxy)'
instead.
J.J. O'Shea
2007-06-03 11:40:15 UTC
Permalink
Post by Dale Stanbrough
Post by Marc Heusser
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
thanks,
Dale
Airport Admin Utility?
Sorry, I didn't ask that question very well. DNSUpdater notifies a web
site about your external IP address. I was wondering if there is someway
to programmatically get the IP address.
Most ISPs set up DHCP leases which are on the order of eight days long. So
long as your cable or ADSL device is turned on when the lease is halfway
expired and when it expires, you will usually get back the same IP that you
had. I've had this IP for, well, months, though I'm not paying for a fixed
IP. Unless your ISP has policies differing from those of most ISPs, you
should be able to have the same IP for a prolonged period without paying for
a fixed IP, too.

If you must verify your IP automatically, you could do something like launch
the Terminal and type in (or set up a script to type in)

host yourhost.dyndns.org

That will return your current IP.

Finally, you could pay for a fixed IP, either from your ISP or from one of
the web-hosting sites.
--
email to oshea dot j dot j at gmail dot com.
J.J. O'Shea
2007-06-03 11:30:38 UTC
Permalink
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
Easily.

1 launch AirPort Utility. Select the 'manual setup' option. Select the
'Airport' pane. Select the 'Summery' pane. Alternatively, instead of the
'Airport' pane, select the 'Internet' pane, then select the 'Internet
Connection' pane. (This is for AirPort Utility 5.1, the version I have.)

2 if you don't have AirPort Utility 5.1, launch your web browser and go to a
site such as Shields Up! <https://www.grc.com/x/ne.dll?bh0bkyd2> which will
deliver, among other things, your IP.

3 contact your ISP. They certainly know your IP.
--
email to oshea dot j dot j at gmail dot com.
J.J. O'Shea
2007-06-03 11:32:16 UTC
Permalink
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Is it possible to get the address of the AE?
thanks,
Dale
And, oh yeah, one more thing... your NNTP headers, as produced by your
newsreader, say that your IP is 155.143.176.102 or at least was when you
posted this.
--
email to oshea dot j dot j at gmail dot com.
Tom Stiller
2007-06-03 11:59:02 UTC
Permalink
Post by Dale Stanbrough
I'd like to set up an Airport Extreme as a router to the internet, but I
also have some websites on my internal computer. I believe the Airport
Express can do port forwarding, but I need the IP address of the AE so
that I can dyndns it (using DNSUpdater).
Unless you've got a completely screwed-up network, the DNSUpdate client
will forward your current external IP address to the service without any
intervention. You will have to forward the appropriate ports to the
target machine(s)
Post by Dale Stanbrough
Is it possible to get the address of the AE?
Surely; you assigned it when you configured it.
--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
D P Schreber
2007-06-03 13:29:05 UTC
Permalink
I need the IP address of the AE so that I can dyndns it (using
DNSUpdater).
If you mean "DynDNS Updater", it will take care of this for you if you
use the 'External' option in the interfaces menu.
Loading...