Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP address

Status
Not open for further replies.

Phudsen

Technical User
Mar 7, 2003
136
A2
Hi,

I am using a DSL connection, but my IP is always changing, even if I don't disconnect.

Is there anyway to keep my IP address without changing?

Thanks a lot
 
Even if you don't disconnect?

If your IP address changed while you were online you would become disconnected.
 
Not if you're running DHCP and your lease expires and renews automatically while you're online.
 
Nope, at least it hasn't yet. I've been able to 'work accross lease renewals' both with a direct connect from my computer to my DSL modem or cablemode, and through the router providing DHCP. Now, it would probably disconnect a file transfer or real-time chat/videoconferencing, but if you were online retireving email/web pages, there might be a couple-second pause if your system and the DHCP host are slow, but a release/renew doesn't take very long.
 
Well you learn something new every day ;)

I knew it would interrupt any transfers, but I assumed it would purely disconnect you too.

well Phudsen the only real way I can see would be for you to ask for a static IP address from your ISP, they usually cost a little more a month.

Alternatively you could use a free DNS aliaser, these basically give you an alias such as joesmachine.dyndns.com and a client on your machine updates their servers with your IP address. This allows anyone to connect to you using the alias at any time.

This will not give you a static IP address, nor will it stop any connection from breaking when you're lease runs out but it will allow you to access your machine remotely - if this is the problem.
 
Grenage,
Whether you get disconnected or not depends on your setup. If you're using a router, there's an option to reconnect automatically every 30 seconds (or some time frame).

If you're using your DSL ISP's connection software (PPPoE or PPPoA), then chances are that it has a similar option built-in.

Technically, you are being disconnected when your IP changes. However, most changes occur within just a few seconds so you might not notice it. Some DSL IP's also have longer lease times. It's not uncommon to keep the same IP address for several days at a time.


Phudsen,
You can pay more money to get a static IP address. Just be sure to have a good amount of protection if you decide to.

Is there a reason why you want to keep the same IP? Hosting a web site, server, etc.? There can be solutions other than getting a static IP, but it depends on what you want to do.


~cdogg
[tab]"The secret to creativity is knowing how to hide your sources"
[tab][tab]- A. Einstein
 
Thanyou for clearing that up cdogg. On a router set to redial a connection aye, I was just refering to the actual connection itself being disconnected.
 
Hi,

Thank you all, magnificent replies.

I'll ask for a static IP and see what happens.

I better use a personal firewall when I do that I guess!!

Your replies are so detailed and informative.

Thank you all
 
Phudsen,
When you say "personal firewall", are you talking about a software one?

If so, consider getting a hardware one first. Linksys and D-Link are just two manufacturers that make excellent home versions. A router uses NAT (Network Address Translation) to hide your PC's IP address behind a LAN. This offers near-professional protection from the outside. Best of all, they're extremely cheap (around $50 retail) and make it very easy to share the connection among multiple PC's.

It is also a good idea to get a software one as well. Sometimes, a trojan, worm, or spyware not detected by your antivirus scanner can make its way on your system. Having a software one provides protection from rogue programs on your system from accessing the internet without permission. This offers protection from the inside.

~cdogg
[tab]"All paid jobs absorb and degrade the mind"
[tab][tab]- Aristotle
 
If you are wanting to keep your IP for hosting purposes, why not use one of the many Dynamic DNS hosting sites out of the internet.....many of them are free.
 
Static IPs are becoming very rare with any broadband company, as they are difficult to manage, require more work... and plainly speaking, they're not common anymore.

Dynamic IP addresses, in the sense of DSL or broadband, usually don't change all that often. You may want to check your lease time to see what it is.

As far as being disconnected...

When an IP lease renewal occurs, you won't be disconnected, even if in a file transfer. After the address renews, the gateway is reopened, and any windows based operating system should be able to reconnect anything it was doing, as when it finds no connection, it will attempt to make several requests for a few seconds, if this is not happening for you, you may want to adjust the timeout in your software.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top