File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes DSL and IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "DSL and IP address" Watch "DSL and IP address" New topic
Author

DSL and IP address

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
If I use DSL to connect to internet. Is my PC assigned a dynamic IP address or static IP address ?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18707
    
  40

Originally posted by Raj Ohadi:
If I use DSL to connect to internet. Is my PC assigned a dynamic IP address or static IP address ?


The answer depends on the service provider that you use. For example, over here, I believe Verizon uses a dynamic address, and will provide a router. This means that the PC can use an internal (NAT) static or dynamic address, while the router uses a dynamic address.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
Originally posted by Henry Wong:


The answer depends on the service provider that you use. For example, over here, I believe Verizon uses a dynamic address, and will provide a router. This means that the PC can use an internal (NAT) static or dynamic address, while the router uses a dynamic address.

Henry


So if you keep your PC and DSL on (for Verizon), will you still get dynamic IP address ? i.e. do you have to reboot PC or reboot DSL modem device to get a dynamic IP (different from you got last time) ?

I use Verizon too. I just tried different ways but found I got same IP everytime. How often does Verizon change IP for you ?
Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I tried it again this morning and I got the same IP address. I contacted Verizon one guy didn't know anything about this; another guy said it is still called dynamic IP although I keep getting the same IP address --- he said the reason why I got the same IP was because I set my LAN in some way that enables verizon assign a same IP address all the time, and LAN is beyond their responsibility. I am not sure if he said makes sense..

Any idea from our smart java folks ?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18707
    
  40

I don't know which DHCP server Verizon is using, but... with the few DHCP servers that I administered...

The DHCP server rarely, if ever, assigns you a different IP address. It keeps track of your MAC address, and tries to assign you the same address as before. I think the only way to get a different address, is to let your current address expire (your router have to be off for the period of the lease).

And there must be more customers than addresses, so that another customer can steal your address. In other words, it probably won't happen because it would be silly for Verizon to not have enough addresses for their customers.

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DSL and IP address