View previous topic :: View next topic |
Author |
Message |
skill n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2004 Posts: 9
|
Posted: Thu Aug 18, 2005 1:59 pm Post subject: How to choose your own IP from your ISP. |
|
|
Is there anyway I can specify with dhclient and / or dhclient.conf that I want a specific IP-address when i start speaking to my ISP's DHCPD-server? Offcourse I do understand that only ip-addresses within my ISP's bought ip-range will work. If it is possible, however, what is the syntax? The reason to why I'm asking is because of that I've heard rumors that others have been doing it, but so far those words are yet not confirmed.
Regards,
------------ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anello Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Thu Aug 18, 2005 2:19 pm Post subject: |
|
|
Usually ISPs use dynamic IPs, so there is no way for you to choose one. But you can get yourself a dynamic dns from no-ip.com, dyndns.org and such. Also most ISPs offer static IPs, but you'll have to pay something for this service.
Edit: What I forgot to mention is that ISPs usually split their network into areas, which means that you always get an IP thats similar to each other. (Not all ISPs though)
example:
ISP-net 80.0.0.0 -> 89.255.255.255
your area 82.88.0.1 -> 82.88.255.254
this would mean that you would always get an IP which starts with 82.88.*.* |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bigfunkymo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/368859194429737890a944.jpg)
Joined: 23 Jan 2004 Posts: 237
|
Posted: Thu Aug 18, 2005 2:40 pm Post subject: |
|
|
Overriding the DHCP server is the #1 fastest way to have your service suspended _________________ [No package... Grabbing a set.] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Aug 18, 2005 4:16 pm Post subject: |
|
|
Back in the day around '97 we'd DHCP an address from the cable company. It'd be 24.x.x.45 or something similar. Knowing the block we'd changed our config to a static IP of 24.x.x.251. The idea being if we were high enough in the range we'd never conflict with anyone and could have out own static IP.
The other method was to request the same DHCP IP once a day so that you always kept your lease updated on the DHCP server side. However any time they did upgrades on their end everyone's IP changed.
Neither were fool proof, but you could usually camp nad IP for at least a month or more. With the change in technology over the years and I'm not sure if either of those still work.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skill n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2004 Posts: 9
|
Posted: Thu Aug 18, 2005 5:47 pm Post subject: |
|
|
anello wrote: | Edit: What I forgot to mention is that ISPs usually split their network into areas, which means that you always get an IP thats similar to each other. (Not all ISPs though) | Yes, I know that, and I also do know my range, so that shouldn't be any problem.
bigfunkymo wrote: | Overriding the DHCP server is the #1 fastest way to have your service suspended | I am very well aware of that, but this isn't about if they approve it or not, this is only about security research.
kashani wrote: | Back in the day around '97 we'd DHCP an address from the cable company. It'd be 24.x.x.45 or something similar. Knowing the block we'd changed our config to a static IP of 24.x.x.251. | Now, this is what I've been looking for, one with the experience of accually doing it. I know this was several years ago, but can you please explain your method further, perhaps also supply us with a sample configuration?
Regards,
------------- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Fri Aug 19, 2005 5:13 am Post subject: |
|
|
There's not much to explain. Get you IP normally via DHCP a couple of times so that you know the range, name servers, and router IP. Once you know what IP range you can try staticly configuring a IP in the .240-.254 area of the IP block you've been getting. That's pretty much it.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|