PDA

View Full Version : For those of you with dynamic IPs


Josh
09-10-01, 12:24 AM
For those of us who like to host servers on your broadband connections but don't want the hassle of setting up dynamic DNS one can try the following:

ping -a <your outside address>

example:

C:\>ping -a 65.6.XXX.XXX

Pinging c18XXXXX-X.XXXXX.XX.home.com [65.6.XXX.XXX] with 32 bytes of data:

Reply from 65.6.XXX.XXX: bytes=32 time<10ms TTL=150
Reply from 65.6.XXX.XXX: bytes=32 time<10ms TTL=150
Reply from 65.6.XXX.XXX: bytes=32 time<10ms TTL=150
Reply from 65.6.XXX.XXX: bytes=32 time<10ms TTL=150

Ping statistics for 65.6.XXX.XXX:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

c18XXXXX-X is the host name that was assigned to me by my ISP in the @home domain and XXXXX.XX.home.com is the subdomain I am a member of. so regardless if my IP changes now I can give out c18XXXXX-X.XXXXX.XX.home.com as the never changing address of my machine once I get my ftp server up and running. please note though this is the system my cable ISP uses, I have no idea what DSL uses. sorry to hide the name, but i don't want to be seen by any @home employees.

Paiynn
09-10-01, 11:25 AM
I dont quite follow what you're saying. If your pinging an outside address, then it would most likely be their router and not yourself.

Also, just because you have a host name doesnt mean its not dynamic with the IP, so if your IP changes, that name would change too. When I was in the internet biz my dialups had hostnames as well, pt1.XXX.com pt2, pt3, etc. Its merely a host record in the DNS which was needed for reverse lookups as well.

I can guarantee that the ISP doesnt go through that much admin overhead when adding a user. They would have to add a host record for you into their DNS and reverse DNS as well, which I dont see happening, especially on a dynamic system. I dont think its even possible, I've seen dedicated host names, but they also required static IP's.

If you have a login/password, they simply put you into a RADIUS server and your IP handling is done through the communication server and the IP and hostname are pulled from the DNS or DHCP server.

But hey, I could be wrong or maybe I just didnt read it right... :) Its been a few years and maybe things have changed!

Kingslayer
09-10-01, 11:50 AM
Be extremely careful doing this. My buddy did this same thing, and he in turn shut down a whole segment.

Comcast wasn't happy....

Josh
09-10-01, 06:30 PM
Originally posted by Paiynn
I dont quite follow what you're saying. If your pinging an outside address, then it would most likely be their router and not yourself.

Also, just because you have a host name doesnt mean its not dynamic with the IP, so if your IP changes, that name would change too. When I was in the internet biz my dialups had hostnames as well, pt1.XXX.com pt2, pt3, etc. Its merely a host record in the DNS which was needed for reverse lookups as well.

I can guarantee that the ISP doesnt go through that much admin overhead when adding a user. They would have to add a host record for you into their DNS and reverse DNS as well, which I dont see happening, especially on a dynamic system. I dont think its even possible, I've seen dedicated host names, but they also required static IP's.

If you have a login/password, they simply put you into a RADIUS server and your IP handling is done through the communication server and the IP and hostname are pulled from the DNS or DHCP server.

But hey, I could be wrong or maybe I just didnt read it right... :) Its been a few years and maybe things have changed!

sorry that i wasn't clearer in my first post. the first part of the address is my username assigned by my cable isp and the rest is the subdomain i am on. i have no clue why they do this and i doubt that everyone has a simliar setup, but for those that do this is a little simpler than going through dynamic dns.

su root
09-11-01, 08:36 AM
The: c18XXXXX-X.XXXXX.XX.home.com address will always resolve the 65.6.XXX.XXX address.

If you don't want your IP to change, don't reboot your modem, IE: don't put it on the same powerbar as your computer, if you turn off the power bar. Most modems keep a RAM cache of the IP(s) it is allowed to use, and that will erase if you turn off the power, and when the modem's rebooting, it'll go and find out what new IPs it gets.

Sohryu Asuka Langley
09-14-01, 02:58 AM
My ADSL modme does that, and i dont like turning it off anyway because it takes at least 3 minutes to boot up :(